Red Hat Bugzilla – Bug 804225
ruby 1.9.1, ubuntu - rhc-create-domain -a flag doesn't create default ssh key
Last modified: 2015-05-14 21:48:32 EDT
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: firstname.lastname@example.org 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 email@example.com
The workaround was to manually add the public key.
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.
Filing as low because it hasn't been reproduced and the initial issue was worked around using the web UI
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.
works for me when I run it in my Ubuntu installation.