Bug 988763
Summary: | [origin_runtime_183]Can not update gear's freezer state to FROZEN via oo-cgroup-template -t frozen | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Xiaoli Tian <xtian> |
Component: | Containers | Assignee: | Rob Millner <rmillner> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 1.x | CC: | bmeng, mfisher, rmillner |
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-08-07 22:57:15 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
Xiaoli Tian
2013-07-26 10:17:29 UTC
Slight change to the validation for this bug. If the gear is frozen, your session will just hang and oo-cgroup-read won't work. As root, call this instead: cgget -r freezer.state /openshift/[uuid] Example: # cgget -r freezer.state /openshift/123456789 /openshift/123456789: freezer.state: THAWED # oo-cgroup-template -c 123456789 -t frozen # cgget -r freezer.state /openshift/123456789 /openshift/123456789: freezer.state: FROZEN # oo-cgroup-template -c 123456789 123456789: frozen # oo-cgroup-template -c 123456789 -t default # cgget -r freezer.state /openshift/123456789 /openshift/123456789: freezer.state: THAWED # oo-cgroup-template -c 123456789 123456789: default Checked on devenv_3574, The frozen gear still can get the cgroup setting via oo-cgroup-read, but it can return the correct state this time. [php1-bmengdev1.dev.rhcloud.com 51f623c5a721920a7d000001]\> oo-cgroup-read freezer.state FROZEN # cgget -r freezer.state /openshift/51f623c5a721920a7d000001 /openshift/51f623c5a721920a7d000001: freezer.state: FROZEN As rmillner's comment, the frozen state should not be read by user. Not sure what is the final decision. Gear freeze has been fixed and the branch merged to master. To check it, do the following: cgget -r freezer.state /openshift/51f623c5a721920a7d000001 [root@ip-10-155-149-153 ~]# oo-cgroup-template -t frozen -c 547127431256006010601472 [root@ip-10-155-149-153 ~]# cgget -r freezer.state /openshift/547127431256006010601472 /openshift/547127431256006010601472: freezer.state: FROZEN [root@ip-10-155-149-153 ~]# oo-cgroup-template -t thawed -c 547127431256006010601472 [root@ip-10-155-149-153 ~]# cgget -r freezer.state /openshift/547127431256006010601472 /openshift/547127431256006010601472: freezer.state: THAWED [root@ip-10-155-149-153 ~]# Verified on devenv_3582. |