Created attachment 1160609 [details] SSH key file Description of problem: I have added a new valid keyfile in infra provider configuration, however the keyfile verifying is invalid SmartState failed, verifying SSH key in nodes fails [----] I, [2016-05-23T08:14:58.724677 #12155:73198c] INFO -- : MIQ(MiqServer#heartbeat) Heartbeat [2016-05-23 12:14:58 UTC]... [----] I, [2016-05-23T08:14:58.751039 #12155:73198c] INFO -- : MIQ(MiqServer#heartbeat) Heartbeat [2016-05-23 12:14:58 UTC]...Complete [----] I, [2016-05-23T08:14:58.995603 #13540:a4e534] INFO -- : MIQ(ManageIQ::Providers::Openstack::InfraManager::Host#verify_credentials_with_ssh) Verifying Host SSH credentials for [3b77ca42-9077-4ba2-9606-9ec19b056019 (NovaCompute)] [----] I, [2016-05-23T08:14:58.999173 #13540:a4e534] INFO -- : MIQ(ManageIQ::Providers::Openstack::InfraManager::Host#connect_ssh) Initiating SSH connection to Host:[3b77ca42-9077-4ba2-9606-9ec19b056019 (NovaCompute)] using [172.16.0.24] for user:[heat-admin]. Options:[{:remember_host=>false, :key_data=>"[FILTERED]", :passwordless_sudo=>true}] [----] I, [2016-05-23T08:14:58.999379 #13540:a4e534] INFO -- : MIQ(ManageIQ::Providers::Openstack::InfraManager::Host#connect_ssh) SSH connection established to [172.16.0.24] [----] E, [2016-05-23T08:14:59.080873 #13540:a4e534] ERROR -- : MIQ(ManageIQ::Providers::Openstack::InfraManager::Host#connect_ssh) SSH connection failed for [172.16.0.24] with [ArgumentError: Could not parse PKey: no start line] [----] W, [2016-05-23T08:14:59.081236 #13540:a4e534] WARN -- : MIQ(ManageIQ::Providers::Openstack::InfraManager::Host#verify_credentials_with_ssh) #<ArgumentError: Could not parse PKey: no start line> [----] E, [2016-05-23T08:14:59.081830 #13540:a4e534] ERROR -- : MIQ(host_controller-update): Unexpected response returned from system, see log for details [----] I, [2016-05-23T08:15:00.727087 #14735:899518] INFO -- : Querying Openstack Ceilometer for events newer than ... Version-Release number of selected component (if applicable): 5.6.0.7 How reproducible: 100% Steps to Reproduce: 1.login to CFME 2. go to compute --> infrastructure --> Providers 3. add a valid SSH key of the undercloud Actual results: verifying host key fails, see error above Expected results: SmartState and ssh key validation pass Additional info: Attached ssh key file
This is issue with saving key from UI. This was reported upstream https://github.com/ManageIQ/manageiq/issues/8651 and has solution as PR - https://github.com/ManageIQ/manageiq/pull/8673
Fixed by the following two pull requests which were merged into master. Attach/detach: https://github.com/ManageIQ/manageiq/pull/8670 Reconfigure: https://github.com/ManageIQ/manageiq/pull/8671
Please disregard my above comment, that was intended from a different BZ.
Mainn, is this a dup? Looks like Petr mentioned a fix for this.
Yep, this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1332109 , should I close this one?
*** This bug has been marked as a duplicate of bug 1332109 ***