Bug 1392460

Summary: False negative in SSH RSA key credentials validation - provider edit, infra provider (RHOS)
Product: Red Hat CloudForms Management Engine Reporter: Ronnie Rasouli <rrasouli>
Component: ProvidersAssignee: Sam Lucidi <slucidi>
Status: CLOSED DUPLICATE QA Contact: Ola Pavlenko <opavlenk>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, dajohnso, jfrey, jhardy, obarenbo, rrasouli, tzumainn
Target Milestone: GA   
Target Release: 5.7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-09 22:05:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Attachments:
Description Flags
evm and production log while validating the ssh key none

Description Ronnie Rasouli 2016-11-07 14:46:17 UTC
Description of problem:

Validating the RSA keys fails with error: "Credential validation was not successful: Unexpected response returned from system, see log for detail"

The infra provider RSA key changed and update of the SSH key required, however the false negative error above prevent saving the new details of the infra provider

Version-Release number of selected component (if applicable):

5.7.0.9 beta2.1

How reproducible:

100%

Steps to Reproduce:
1.configure RHOS infra provider in CFME
2.modify the SSH RSA key in RHOS infra provider, (re provision the RHOS)
3.click on compute --> infra provider icon
4.select configuration --> edit
5. edit the SSH key credentials with the new key file created
6. click on validate

Actual results:

Credentials validation failed

Expected results:


Additional info:

Comment 2 Ronnie Rasouli 2016-11-07 14:47:13 UTC
Created attachment 1218048 [details]
evm and production log while validating the ssh key

Comment 8 Sam Lucidi 2016-12-14 23:22:05 UTC
A pull request to address the recurring validation error is available here: https://github.com/ManageIQ/manageiq/pull/13189

Comment 9 Tzu-Mainn Chen 2017-01-09 22:05:56 UTC

*** This bug has been marked as a duplicate of bug 1402035 ***