Bug 1154063
Summary: | "Permission denied" for /bin/rpm when run "gear restart" inside gear | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.2.0 | CC: | adellape, cryan, jhonce, jokerman, libra-bugs, libra-onpremise-devel, mfojtik, mmccomas, wjiang, wzheng, xiama |
Target Milestone: | --- | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-util-scl-1.20.1.1-1 | Doc Type: | Bug Fix |
Doc Text: |
Previously, attempting to restart a gear from within an SSH session failed with a permission error. This issue was due to the gear restart process using the oo-exec-ruby command, which used the rpm command to check the Ruby version. This bug fix updates the oo-exec-ruby command to use the "/usr/bin/ruby --version" command instead of the rpm command, and as a result gears can now be restarted successfully from within an SSH session.
|
Story Points: | --- |
Clone Of: | 1153889 | Environment: | |
Last Closed: | 2014-12-10 13:24:26 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: | |||
Bug Depends On: | 1153889 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2014-10-17 12:32:59 UTC
Check on puddle [2.2.2/2014-11-26.3]
1. create an app
#rhc app create testapp php-5.4
2. SSH to the app and run "gear restart"
> gear restart
Cart to restart?
1. php-5.4
? 1
Restarting PHP 5.4 cartridge (Apache+mod_php)
Application directory "/" selected as DocumentRoot
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1979.html |