Bug 1302784

Summary: ssh Key pair not working on CFME provision
Product: Red Hat CloudForms Management Engine Reporter: luke couzens <lcouzens>
Component: ApplianceAssignee: Joe Vlcek <jvlcek>
Status: CLOSED ERRATA QA Contact: luke couzens <lcouzens>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: abellott, dajohnso, jhardy, jprause, lcouzens, obarenbo, psavage
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack:vm:provision
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:34:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description luke couzens 2016-01-28 15:45:26 UTC
Description of problem: When provisioning a cloudforms appliance using RHOS the ssh key pair function does not seem to work correctly, you can add the key pair but it still requires a user and password when connecting to the appliance, it seems to be ignoring the pub/private keys. 


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


How reproducible:100%


Steps to Reproduce:
1. connect to RHOS
2. Launch new CFME instance
3. fill out wizard and add key pair
4. ssh into appliance

Actual results: key pair does not work


Expected results: login using key pair


Additional info:

Comment 2 Joe Vlcek 2016-01-28 22:51:21 UTC
I have done a little research and think you need to specify the user name as: "cloud-user"

e.g.:
ssh -i <your key file>.key cloud-user@<ipaddr>


Please let me know if that works.

Comment 3 luke couzens 2016-01-29 11:53:48 UTC
I created a new instance with my key pair and tested, but still no joy connecting with cloud-user, still requires a password from me.

Comment 4 Shveta 2016-02-03 00:15:19 UTC
Assigning to add test case

Comment 5 Joe Vlcek 2016-02-23 16:52:01 UTC
I have confirmed the fix for the cloud-init BZ 1300410 [1] also resolves this issue. Moving to post.


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1300410

Comment 6 Joe Vlcek 2016-02-23 17:55:32 UTC
The username I was able to use successfully with my ssh keypair is "root"

e.g.:
ssh -i <your key file>.key root@<ipaddr>

Comment 7 luke couzens 2016-04-27 20:18:36 UTC
Verified in 5.6.0.4-beta2.3

Comment 9 errata-xmlrpc 2016-06-29 15:34:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348