Active IQ Unified Manager Discussions

Openstack Datasource with errors

matthias_beck
13,729 Views

Hello together,

 

I try to add our Openstack environment to our OCI.

The data source shows the following error: Internal error: None of the hypervisors builds KVM successfully

 

In the log I can see the following error: <IP> - Could not communicate with the device: Auth fail

 

For KVM sudo we are using a Keyfile. The private keyfile is located on the server and the path is added in the data source configuration.

 

Does someone have experiance with that?

 

I already added every host to the known host information.

1 ACCEPTED SOLUTION

ostiguy
13,383 Views

Are you seeing failed authentications on the KVM server from OCI?

View solution in original post

19 REPLIES 19

ostiguy
13,510 Views

"Auth fail" strongly implies that TCP connectivity is happening, but the SSH authentication is failing.

 

Is the SSH username in the "KVM Sudo User" correct?

 

 

matthias_beck
13,508 Views

Hello Matt,

Yes, the username is correct.
I tried the key and the name together with putty.

ostiguy
13,497 Views

I think OCI may be looking for a OpenSSH formatted key, not a .ppk.

 

If the file worked with Putty, it is probably in Putty .ppk format.

 

It may be worth using Puttygen to convert the key to OpenSSH format

matthias_beck
13,495 Views

Tried both ways

 

The result is the same.

ostiguy
13,407 Views

Hey Matthias,

 

Is this a lab OCI instance? I don't see an OpenStack datasource on your production instance that is sending OCI ASUP.

 

Thanks,

 

Matt

matthias_beck
13,345 Views

Hey Matt,

 

Yes, it is in our Lab instance.

There we don't have ASUP enabled.

 

Regards

Matthias

ostiguy
13,384 Views

Are you seeing failed authentications on the KVM server from OCI?

FatTony
12,958 Views

Hi, 

 

I have the same issue as described above, but I do see correct login attempts on the KVM server (OpenStack Compute node). 

 

I'm running OnCommand (R) Insight 7.3.2 on all servers, OCI server, OCI DWH and one acquisition unit and using a super user / password authentication (not key files). 

 

Still I'm getting the error: "Internal error: None of the hypervisors builds KVM successfully"

 

Thank you for any hints, 

best regards, 

Andreas 

matthias_beck
12,950 Views

Hello Andreas,

 

My issue is still open. I have an active support case on that.

Which distribution do you use for openstack? We are using SuSE Cloud 5.

 

Regards

Matthias

FatTony
12,439 Views

Hi Matthias, 

 

Do you have any support case reference or link to it? I would be interessted if there is any further information available. 

 

Our OpenStack is set up on Ubuntu 16.04 LTS, NetApp OCI is running on Red Hat 7.4 and Red Hat 7.5 hosts. 

 

We configured the controller node, the requested OpenStack admin user and related KVM user with sudo rights on the OpenStack nodes.

I can see the login attempts on the Compute node, as well as the "Test" section when configuring the OpenStack Controller data source completes successfully. 

 

In the logs I see the related error messages: 

  • ERROR [DSM-pool-3-thread-5265/controllernode01 [foundation]/KVM-pool-822-thread-1] com.onaro.sanscreen.acquisition.datasource.openstack.builders.BaseBuilder (OpenStackKvmBuilder.java:132) - [foundation] controllernode01 - 172.16.250.3 - Read timed out after 30 second(s). Last line read: ''. Expected prompt: 'admin@computenode01:~$ '.
  • Caused by: com.onaro.sanscreen.acquisition.framework.datasource.DataSourceErrorException: Read timed out after 30 second(s). Last line read: ''. Expected prompt: 'admin@computenode01

And finally:

  • 2018-04-10 10:38:23,350 ERROR [DSM-pool-3-thread-5265] com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource (DataSourceErrorException.java:186) - controllernode01 [Internal error] - None of the hypervisors builds KVM successfully ([Device name General Device]: None of the hypervisors builds KVM successfully)

Best regards, 

Andreas

matthias_beck
12,437 Views

Hello Andreas,

 

I will sent you teh case number via pn.

 

We try to use the openssh key to access. At the end the message is the same.

 

Regards

Matthias

FatTony
12,426 Views

Hi Matthias, 

 

Which version / release of OpenStack are you using? 

 

Regards, 

Andreas 

ostiguy
12,413 Views

Hey Andreas,

 

I think your issue is different - your error message implies that OCI is successfully authenticating, but it not receiving the prompt it is expecting

 

Can you send me a data source error report?

 

Thanks

 

Matt

FatTony
12,406 Views

Hi Matt, 

 

I did some additional investigation this afternoon. 

 

  1. I have to admit that we have OCI 7.3.x installed which - according to the support matrix - only supports the Ocata release (we have Queens installed).
  2. OCI tries to run "pvdisplay -c" on the compute node which is not returning any result

I will send you the error report in PN accordingly. 

 

Thank you and best regards, 

Andreas 

 

 

ostiguy
12,375 Views

Hey Andreas,

 

Some thoughts:

 

#1. I think the latest OpenStack releases have completely changed their performance API infrastructure, and OCI does not yet support that stuff. But that is not the problem at hand.

 

#2. You have self diagnosed the inventory problem completely - OCI is firing

 

sudo pvdisplay --colon

 

And not expecting the response we are getting

 

Matt

FatTony
10,179 Views

Hi, 

 

correct - we fired up another compute host and getting a result for the command "pvdisplay -c". 

 

We are no investigating the root cause for not getting any result on the previous host for the same command... 

 

Thank you so far for your support!

Best regards

Andreas 

FatTony
10,099 Views

After fixing missing installation packages, Netapp OCI throws the following error message when we try to poll information from VMs that have volumes attached: 

 

"Unsupported KVM instance disk type BLOCK with disk ID /dev/disk/by-path/pci-0000:1a:00.0-fc-0x500507680c111a9a-lun-0"

 

OCI is firing perfectly using the following commands: 

 

root@computenode02:/home/pfeifan1# pvdisplay -c

  /dev/sda3:computenode02-vg:1138569216:-1:8:8:-1:4096:138985:11:138974:gB1sYk-sPro-64s5-4jgc-CgHb-3BIZ-Z1sTVp

 

 

Do you might have any hints regarding this issue? 

 

Thank you and best regards, 

 

ostiguy
10,018 Views

Hey Tony,

 

I was on holiday in Italy, and unfortunately lost track of this thread.

 

#1. Can you elaborate on what packages were not installed that caused the error?

 

#2. If you send me a data source error report for the current failure, I can take a look

 

Matt

FatTony
9,946 Views

Hi, 

 

We received a patch from NetApp team which fixed the issue. 

I guess it's already part of the newest release. 

 

Thank you for your support and best regards, 

Andreas 

Public