Bug 772520 - cannot check user's app and domain info via rhc client
Summary: cannot check user's app and domain info via rhc client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 1.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-09 03:04 UTC by Meng Bo
Modified: 2012-01-18 17:56 UTC (History)
4 users (show)

Fixed In Version: rhc-0.84.7-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-18 17:56:36 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Meng Bo 2012-01-09 03:04:30 UTC
Description of problem:
[bmeng@localhost ~]$ rhc-user-info
!!!! WARNING !!!! WARNING !!!! WARNING !!!!
This command is deprecated. Please use rhc-domain-info instead.

sh: rhc-domain-info: command not found



Version-Release number of selected component (if applicable):
rhc-0.84.6-1.el6_2.noarch

How reproducible:
always

Steps to Reproduce:
1.Install latest rhc client
2.check application info by rhc-user-info
3.
  
Actual results:
user cannot check user info successfully.

Expected results:
command should be executed normally.


Additional info:
The command rhc-domain-info has been installed but not be added to $PATH automatically.
And we can run this command under directory /usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/lib/ by the absolute path for work around.

[bmeng@localhost ~]$ rpm -ql rhc
/etc/openshift/express.conf
/usr/bin/rhc-chk
/usr/bin/rhc-create-app
/usr/bin/rhc-create-domain
/usr/bin/rhc-ctl-app
/usr/bin/rhc-port-forward
/usr/bin/rhc-snapshot
/usr/bin/rhc-tail-files
/usr/bin/rhc-user-info
<--snip-->
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/LICENSE
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/README
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/Rakefile
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-chk
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-create-app
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-create-domain
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-ctl-app
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-ctl-domain
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-domain-info
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-port-forward
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-snapshot
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-tail-files
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/bin/rhc-user-info
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/conf
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/conf/express.conf
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/lib
/usr/lib/ruby/gems/1.8/gems/rhc-0.84.6/lib/rhc-common.rb
<--snip-->

Comment 1 Shirley Zhou 2012-01-09 03:37:06 UTC
command rhc-ctl-domain can not be executed either. CC'ing abhgupta.

Comment 2 Abhishek Gupta 2012-01-09 18:11:17 UTC
This was due to an omission in the spec file for the rhc package. I have made the required changes and have requested Dan's help to expedite the packaging and pushing into repo of the rhc package.

Will update the status of this bug one the package is available and I have run a couple of basic tests.

Comment 3 Abhishek Gupta 2012-01-09 18:35:18 UTC
The new rhc package is now available - rhc-0.84.7-1


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