Bug 1390912

Summary: false positive in default credentials validation
Product: Red Hat CloudForms Management Engine Reporter: Ronnie Rasouli <rrasouli>
Component: ProvidersAssignee: Sam Lucidi <slucidi>
Status: CLOSED CURRENTRELEASE QA Contact: Ola Pavlenko <opavlenk>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, dajohnso, jfrey, jhajyahy, jhardy, lavenel, obarenbo, rrasouli, simaishi, tzumainn
Target Milestone: GAKeywords: Reopened, TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1428911 (view as bug list) Environment:
Last Closed: 2017-06-12 17:43:26 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:
Bug Depends On:    
Bug Blocks: 1428911    
Attachments:
Description Flags
evm log
none
evm and production log while validating the ssh key none

Description Ronnie Rasouli 2016-11-02 09:02:50 UTC
Created attachment 1216399 [details]
evm log

Description of problem:
The key is valid, however constantly after succesfull key validation it turns to invalid. 
validating again the key turn to be successful, user need to save the configuration again

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

How reproducible:
100%

Steps to Reproduce:
1. connect RHOS undercloud to CFME
2. add the undercloud private key to the infra provider configuration and save
3. wait ~10 minutes

Actual results:
The key is turn to be invalid quad icon show (!)

Expected results:
no key alerts for valid ones

Additional info:

Comment 2 Ronnie Rasouli 2016-11-02 09:04:12 UTC
Created attachment 1216400 [details]
evm and production log while validating the ssh key

Comment 3 Tzu-Mainn Chen 2016-11-08 15:40:30 UTC
This is actually a false negative, correct?  If so, we can check to see if it's a similar issue as https://bugzilla.redhat.com/show_bug.cgi?id=1390643

Comment 4 Dave Johnson 2016-12-06 19:43:27 UTC
Loic, please weigh in on this one in terms of priority and where this should be fixed.

Comment 9 Tzu-Mainn Chen 2017-02-21 15:37:27 UTC
This should be fixed as part of another PR

Comment 10 Tzu-Mainn Chen 2017-03-03 15:01:41 UTC
https://github.com/ManageIQ/manageiq/pull/13445 is the PR which fixes this.

Comment 12 Ronnie Rasouli 2017-03-08 07:27:31 UTC
verified on 5.8.0.3