Bug 836249

Summary: Be able to run rhc-outage from anywhere on the system without bundle exec
Product: OKD Reporter: Clayton Coleman <ccoleman>
Component: WebsiteAssignee: Fotios Lindiakos <fotios>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: fotios, jinzhang, jkeck, mpatel, rmillner
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-05 18:30:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Clayton Coleman 2012-06-28 13:26:08 UTC
rhc_outage should probably boot bundler (Bundler.setup, like how the rails init process works) during startup.  We don't want the Rails env loaded.

Comment 1 joycezhang 2012-07-31 08:51:28 UTC
The function 'rhc outage' works fine with devenv_1922 with client rhc-0.95.14.

You can refer to following results:
# ../var/www/stickshift/site/app/subsites/status/rhc-outage new title description
Created issue #30
Update applied to issue #30
Syncing https://10.144.0.146/app/status
	Success

Comment 2 Fotios Lindiakos 2013-02-05 18:30:19 UTC
Confirmed that this script can be run from anywhere:

[root@ip-10-194-27-192 ~]# /var/www/openshift/site/app/subsites/status/rhc-outage list
Open
  #27: Test issue 1
Resolved
  #26: Openshift Maintenance
  ...