rhc package isn't working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rhc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
It looks like the rhc package available on ubuntu 15.10 isn't working and is out of date.
Running 'sudo apt-get rhc' downloads rhc 1.35.4-3. After install, the --version is incorrect and the setup command will hang.
$ rhc --version
rhc 0.0.0
$ rhc setup --debug
DEBUG: Using config file /home/ubuntu/
DEBUG: Running greeting_stage
OpenShift Client Tools (RHC) Setup Wizard
This wizard will help you upload your SSH keys, set your application namespace,
and check that other programs like Git are properly installed.
DEBUG: Running server_stage
If you have your own OpenShift server, you can specify it now. Just hit enter to
use the server for OpenShift Online: openshift.
You can add more servers later using 'rhc server'.
DEBUG: Running login_stage
DEBUG: Connecting to https:/
DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Created new httpclient
DEBUG: Request GET https:/
DEBUG: code 200 6565 ms
DEBUG: Server supports API versions 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Using API version 1.7
DEBUG: Client API version 1.7 is not current. Refetching API
DEBUG: Request GET https:/
DEBUG: code 200 513 ms
DEBUG: Getting user info
DEBUG: Request GET https:/
# Hangs here endlessly
Installing rhc through ruby gems downloads rhc 1.38.4 - which works correctly. I'm not sure why the rhc package is having issues, but it looks like updating the package to a newer version might fix it.
I've only tested on 15.10, but 15.04 is supposedly an even earlier version of rhc, so that may also break in similar ways. The ubuntu 16 alpha is supposedly using the 1.38.4 package - so it would be useful to see if that is working there. The rhc package was first added to 15.04 - so these would be the only versions of ubuntu that might be affected.
tags: | added: packaging |
The --version coming back with 0.0.0 may indicate that the package might have a spec file, as its the result from the rescue in https:/ /github. com/openshift/ rhc/blob/ master/ lib/rhc/ version. rb which should be looking for information from https:/ /github. com/openshift/ rhc/blob/ master/ rhc.gemspec# L8 .
This is pointing towards the package being faulty, not necessarily out of date.