Bug 830652 - Show error message for command rhc app tail
Summary: Show error message for command rhc app tail
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-11 05:58 UTC by Rony Gong 🔥
Modified: 2015-05-15 01:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-11 06:42:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rony Gong 🔥 2012-06-11 05:58:06 UTC
Description of problem:


Version-Release number of selected component (if applicable):
devenv_1827

How reproducible:


Steps to Reproduce:
1.create app, then user command "rhc app tail -a qphp"
2.
3.
  
Actual results:
[root@localhost li-source]# rhc app tail -a qphp
Password: 

/usr/lib/ruby/gems/1.8/gems/rhc-0.93.12/bin/rhc-app:414:in `show_logs': undefined local variable or method `opt' for #<Object:0x7f029f1a62a8> (NameError)
	from /usr/lib/ruby/gems/1.8/gems/rhc-0.93.12/bin/rhc-app:548
	from /usr/bin/rhc-app:19:in `load'
	from /usr/bin/rhc-app:19

Expected results:
get log file output

Additional info:
log from development.log: 

Started POST "/broker/userinfo" for 203.114.244.88 at Mon Jun 11 01:56:32 -0400 2012
  Processing by LegacyBrokerController#user_info_post as 
  Parameters: {"password"=>"[FILTERED]", "json_data"=>"{\"api\":\"1.1.3\",\"rhlogin\":\"qgong+1\"}"}
User-Agent = ''
MongoDataStore.find(CloudUser, qgong+1, qgong+1)

[REQ_ID=dfec23813e74479eadd94b2f818fe6e9] ACTION=LEGACY_USER_INFO 
Completed 200 OK in 71ms (Views: 2.2ms


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