Bug 785638 - [US1317] cannot tail app log via command "rhc app tail"
Summary: [US1317] cannot tail app log via command "rhc app tail"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-30 05:24 UTC by Meng Bo
Modified: 2012-02-02 23:55 UTC (History)
2 users (show)

Fixed In Version: rhc-0.85.8-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-02 23:55:49 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Meng Bo 2012-01-30 05:24:17 UTC
Description of problem:
cannot get app log file via cmd 'rhc app tail'

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

How reproducible:
always

Steps to Reproduce:
1.install latest rhc client via yum install
2.create domain and app
# rhc-create-domain -n bmengdev1
# rhc-create-app -a testapp -t php-5.3
3.tail app log file via new command 'rhc app tail'
# rhc app tail -a testapp
  
Actual results:
[mengbo@localhost ~]$ rhc app tail -a testapp
Password: 
Attempting to tail files: testapp/logs/*
Use ctl + c to stop

/usr/lib/ruby/gems/1.8/gems/rhc-0.85.7/bin/rhc-app:462:in `show_logs': undefined local variable or method `debug' for #<Object:0x7fb621ff32a8> (NameError)
	from /usr/lib/ruby/gems/1.8/gems/rhc-0.85.7/bin/rhc-app:575
	from /usr/bin/rhc-app:19:in `load'
	from /usr/bin/rhc-app:19


Expected results:
log should be tailed successfully.


Additional info:
tail log by command 'rhc-tail-files -a testapp' can be performed successfully.

Comment 1 Abhishek Gupta 2012-01-30 05:42:17 UTC
Fix checked in and should be available in the next version.

Comment 2 jizhao 2012-01-31 02:50:30 UTC
Verified on devenv_1567.

Packages Tested:
rhc-0.85.7-1.git.0.79b56b0.el6.noarch

Comment 3 jizhao 2012-01-31 03:09:13 UTC
(In reply to comment #2)
> Verified on devenv_1567.
> 
> Packages Tested:
> rhc-0.85.7-1.git.0.79b56b0.el6.noarch

Correction:
Package tested:
rhc-0.85.9-1.el6_2.noarch

Comment 4 Mrunal Patel 2012-02-02 23:55:49 UTC
Closing verified bugs.


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