Bug 1202512
Summary: | RFE: add a "stop-and-lock" operation to oo-admin-ctl-gears | ||
---|---|---|---|
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: | high | ||
Version: | 2.2.0 | CC: | adellape, agrimm, anli, bmeng, jhonce, jokerman, libra-bugs, libra-onpremise-devel, mmccomas, pruan |
Target Milestone: | --- | Keywords: | NeedsTestCase |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-node-util-1.34.4.1-1.el6op | Doc Type: | Enhancement |
Doc Text: |
Previously, gears stopped by administrators using the "oo-admin-ctl-gears stopgear" command would always be restarted by a subsequent "oo-admin-ctl-gears startall" command or the next time the node was rebooted. In certain situations, this could be undesirable depending on the node capacity. This enhancement adds an additional command, "oo-admin-ctl-gears stoplockgear", which allows administrators to stop a gear and add a .stop_lock file. The presence of a .stop_lock file ensures that the gear does not start during operations that take .stop_lock files into account, such as "oo-admin-ctl-gears startall", or after a node reboot. A message explaining the reason why the gear should not be started in the future can written to the .stop_lock file using the "--message" option with the command as well.
|
Story Points: | --- |
Clone Of: | 1190856 | Environment: | |
Last Closed: | 2015-04-06 17:06:47 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: | 1190856 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2015-03-16 19:00:51 UTC
Verified and pass on puddle-2-2-2015-03-16 1) A new option "stoplockgear" was added .stop_lock and the message was in .stop_lock 2) oo-admin-ctl-gears stoplockgear will create oo-admin-ctl-gears stoplockgear 5507c11f4add7185960000b2 --message " Create Lock File" [root@node2 runtime]# cat /var/lib/openshift/5507c11f4add7185960000b2/app-root/runtime/.stop_lock Create Lock File[root@node2 runtime]# 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-2015-0779.html |