Bug 1302784 - ssh Key pair not working on CFME provision
Summary: ssh Key pair not working on CFME provision
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.6.0
Assignee: Joe Vlcek
QA Contact: luke couzens
URL:
Whiteboard: openstack:vm:provision
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-28 15:45 UTC by luke couzens
Modified: 2016-06-29 15:34 UTC (History)
7 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 15:34:27 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

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


Note You need to log in before you can comment on or make changes to this bug.