| Summary: | Fail to create and resolve outage info using rhc-outage. | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Tian Feng <tfeng> |
| Component: | Website | Assignee: | Clayton Coleman <ccoleman> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | pruan, xtian, yujzhang |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-17 13:30:59 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: | |
You need to "bundle exec rhc-outage" the script. We have a story to fix that in the future. Tried on devenv_3844 using "bundle exec ./rhc-outage", got the same result as following: [root@ip-10-185-16-172 status]# bundle exec ./rhc-outage /var/www/openshift/site/app/subsites/status/lib/helpers.rb:7:in `<top (required)>': uninitialized constant ActionView (NameError) from /var/www/openshift/site/app/subsites/status/lib/models.rb:2:in `<top (required)>' from ./rhc-outage:15:in `<main>' Reopen this bug to track the issue, thanks! Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/b27b0ac609a24d41d9e5038af678aee375862304 Bug 1011451 - Rails is not loaded properly verfied with devenv_3851, the message is posted to the outage page and I don't see the traceback. |
Description of problem: Ssh to an instance and try to create and resolve a outage info. Fail to create outage info using rhc-outage. [root@ip-10-144-71-229 status]# ./rhc-outage new newissue "opoooooooooooooooo" /var/www/openshift/site/app/subsites/status/lib/helpers.rb:7:in `<top (required)>': uninitialized constant ActionView (NameError) from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from /var/www/openshift/site/app/subsites/status/lib/models.rb:2:in `<top (required)>' from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from ./rhc-outage:15:in `<main>' [root@ip-10-144-71-229 status]# ./rhc-outage --help /var/www/openshift/site/app/subsites/status/lib/helpers.rb:7:in `<top (required)>': uninitialized constant ActionView (NameError) from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from /var/www/openshift/site/app/subsites/status/lib/models.rb:2:in `<top (required)>' from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' from ./rhc-outage:15:in `<main>' Version-Release number of selected component (if applicable): fork_ami_origin_ui_72_membership_845 How reproducible: Always Steps to Reproduce: 1. ssh to instance 2. cd /var/www/openshift/site/app/subsites/status/ 3. ./rhc-outage new newissue "it's an outage info"; ./rhc-outage --help Actual results: Fail to create & resolve outage info. Expected results: Can create & resolve outage info successfully. Additional info: