Bug 901449
| Summary: | oo-cgroup-read does not work for ruby-1.9 | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Zhe Wang <zhewang> |
| Component: | Containers | Assignee: | Rob Millner <rmillner> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | dmcphers, mfisher, xtian |
| Target Milestone: | --- | ||
| 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-13 23:40:28 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
Zhe Wang
2013-01-18 08:39:23 UTC
The underlying problem is that gears with the ruby 1.9 cartridge has several selinux failures running in the context openshift_cgroup_read_t that the original ruby does not. A trivial fix is to force /usr/bin/ruby rather than /usr/bin/env ruby. Pull request: https://github.com/openshift/origin-server/pull/1177 Verified in devenv_2699 Steps: 1. create a ruby-1.9 app 2. ssh into this app 3. run "oo-cgroup-read memory.limit_in_bytes" Actual result: 536870912 |