Bug 1160934
Summary: | "oo-admin-ctl-gears stopgear" failed to stop idled gear | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | wangyanyan <yanywang> |
Component: | Containers | Assignee: | Vu Dinh <vdinh> |
Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.2.0 | CC: | gpei, jhonce, jialiu, jokerman, libra-bugs, libra-onpremise-devel, lmeyer, lxia, mmccomas, rthrashe, vdinh, xtian |
Target Milestone: | --- | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-openshift-origin-node-1.38.5.2-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
Cause: The oo-admin-ctl-gears command doesn't update the current state of the gear after it successfully stopped an idled gear.
Consequence: The gear's status remains as "idled" even though it was stopped successfully.
Fix: The command now changes the status of the gear from "idled" to "stopped" if the gear is stopped successfully.
Result: The correct status "stopped" of the gear is now displayed instead of the previous "idled" status.
|
Story Points: | --- |
Clone Of: | 1140544 | Environment: | |
Last Closed: | 2016-03-22 16:51:00 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: | 1140544 | ||
Bug Blocks: |
Description
wangyanyan
2014-11-06 02:35:20 UTC
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/f557bd3ce2b05a6380a9650acd3f1db5fd67d772 Bug 1160934 - "oo-admin-ctl-gears stopgear" failed to stop idled gear During the 'idlegear' operation, the gear in fact is stopped but the state value is changed to 'idle'. Then, subsequently, when 'stopgear' operation is excuted, the cartridge doesn't perform any extra works as the gear is already stopped. However, the state is not modified to 'stopped' due to lacking of explicit state change in application container itself. This commit will add explicit state change to application container to ensuring the state is changed accordingly. Bug 1160934 Link <https://bugzilla.redhat.com/show_bug.cgi?id=1160934> Signed-off-by: Vu Dinh <vdinh> Could you generate a OSE2.2 puddle? So QE can test the fix? Hi Anping, This bug was prematurely set to ON_QA. Sorry about that. There will be a puddle coming out for the next release. I will set this back to QE when that time comes. Thanks! Verified and pass. [root@node2 ~]# oo-admin-ctl-gears idlegear anlidom-sphp-1 Idling gear anlidom-sphp-1 ... [ OK ] [root@node2 ~]# oo-admin-ctl-gears stopgear anlidom-sphp-1 Stopping gear anlidom-sphp-1 ... [ OK ] [anli@broker ~]$ rhc app show sphp --gears ID State Cartridges Size SSH URL -------------- ------- ------------------- ----- --------------------------------------------- anlidom-sphp-1 stopped haproxy-1.4 php-5.3 small anlidom-sphp-1.com.cn 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/RHSA-2016-0489.html |