Data Infrastructure Management Software Discussions

Highlighted

Openstack Datasource with errors

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.

19 REPLIES 19
Highlighted

Re: Openstack Datasource with errors

"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?

 

 

Highlighted

Re: Openstack Datasource with errors

Hello Matt,

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

Highlighted

Re: Openstack Datasource with errors

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

Highlighted

Re: Openstack Datasource with errors

Tried both ways

 

The result is the same.

Highlighted

Re: Openstack Datasource with errors

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

Highlighted

Re: Openstack Datasource with errors

Hey Matt,

 

Yes, it is in our Lab instance.

There we don't have ASUP enabled.

 

Regards

Matthias

Highlighted

Re: Openstack Datasource with errors

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

View solution in original post

Highlighted

Re: Openstack Datasource with errors

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 

Highlighted

Re: Openstack Datasource with errors

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

Highlighted

Re: Openstack Datasource with errors

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

Highlighted

Re: Openstack Datasource with errors

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

Highlighted

Re: Openstack Datasource with errors

Hi Matthias, 

 

Which version / release of OpenStack are you using? 

 

Regards, 

Andreas 

Highlighted

Re: Openstack Datasource with errors

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

Highlighted

Re: Openstack Datasource with errors

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 

 

 

Highlighted

Re: Openstack Datasource with errors

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

Check out the KB!
Knowledge Base
All Community Forums
Public