Active IQ Unified Manager Discussions

Openstack Datasource with errors

matthias_beck
10,944 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
10,598 Views

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

View solution in original post

19 REPLIES 19

ostiguy
10,745 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
10,743 Views

Hello Matt,

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

ostiguy
10,732 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
10,730 Views

Tried both ways

 

The result is the same.

ostiguy
10,642 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
10,580 Views

Hey Matt,

 

Yes, it is in our Lab instance.

There we don't have ASUP enabled.

 

Regards

Matthias

ostiguy
10,599 Views

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

FatTony
10,193 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
10,185 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
9,674 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
9,672 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
9,661 Views

Hi Matthias, 

 

Which version / release of OpenStack are you using? 

 

Regards, 

Andreas 

ostiguy
9,648 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
9,641 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
9,610 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
7,414 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
7,334 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
7,253 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
7,181 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