Bug 804225 - ruby 1.9.1, ubuntu - rhc-create-domain -a flag doesn't create default ssh key
Summary: ruby 1.9.1, ubuntu - rhc-create-domain -a flag doesn't create default ssh key
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: John (J5) Palmieri
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-16 22:03 UTC by Nam Duong
Modified: 2015-05-15 01:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-15 22:18:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nam Duong 2012-03-16 22:03:34 UTC
Description of problem:
This is a basement corner case that's worth logging.  We have a user (Gabriel) that is using OpenShift to get away from Heroku's $70/mo bill.  S/He's on Ubuntu and Ruby 1.9.1.

When I walked him through synching up his public key to his domain with:
  >> rhc-domain-create -n <namespace> -l <RHLogin> -a
it came back with:

OpenShift Express key found at /home/gabriel/.ssh/libra_id_rsa.  Reusing... Submitting form: rhlogin: gabrielwu84 debug: true Contacting https://openshift.redhat.com Response from server: DEBUG:   Exit Code: 0 broker_c: ["namespace", "rhlogin", "ssh", "app_uuid", "debug", "alter", "cartridge", "cart_type", "action", "app_name", "api"] api_c: ["placeholder"] API version:    1.1.2 Submitting form: namespace: gabrielwu84 

ERROR: Key name 'default' doesn't exist for user gabrielwu84

The workaround was to manually add the public key.

Comment 1 Nam Duong 2012-03-16 22:06:14 UTC
To add, he used the Web UI to create the domain, so it doesn't initially have a default key.

FWIW:  I've installed v1.9.2 on Mac OSX via rvm and wasn't able to reproduce this.  I was able to reproduce the fact that on ruby 1.9.x, gem install test-unit is necessary to run rhc-chk.

Comment 2 John (J5) Palmieri 2012-03-30 01:14:06 UTC
Filing as low because it hasn't been reproduced and the initial issue was worked around using the web UI

Comment 3 Mike McGrath 2012-05-15 16:45:10 UTC
This might have been an older bug.  Try to recreate it one more time, if it's still working for you, close as worksforme.  

Raising severity so it gets closed in this release.

Comment 4 Peter Ruan 2012-05-15 22:18:08 UTC
works for me when I run it in my Ubuntu installation.


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