Bug 772520

Summary: cannot check user's app and domain info via rhc client
Product: OKD Reporter: Meng Bo <bmeng>
Component: ocAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 1.xCC: abhgupta, aboone, pruan, szhou
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhc-0.84.7-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-18 17:56:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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