Bug 1004512 - oo-admin-ctl-gears gearstatus does not mention if stoplock is set
Summary: oo-admin-ctl-gears gearstatus does not mention if stoplock is set
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Marek Mahut
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-04 19:38 UTC by Sten Turpin
Modified: 2015-05-14 23:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 13:28:11 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Sten Turpin 2013-09-04 19:38:49 UTC
Description of problem: oo-admin-ctl-gears gearstatus does not mention if stoplock is set


Version-Release number of selected component (if applicable):
openshift-origin-node-util-1.13.9-1.el6oso.noarch

How reproducible:
Always

Steps to Reproduce:
1. Run oo-admin-ctl-gears gearstatus on a gear with stoplock set

Actual results:
# oo-admin-ctl-gears statusgear <uuid>
Checking application status:
-----------------------------------------------
Cartridge: python...
Application is either stopped or inaccessible

Cartridge: postgresql...
Postgres is stopped


[root ~]# oo-admin-ctl-gears startgear <uuid>
Gear is locked: <uuid>

Expected results:
# oo-admin-ctl-gears statusgear <uuid>
Checking application status:
-----------------------------------------------
Cartridge: python...
Application is either stopped or inaccessible
Application is locked

Cartridge: postgresql...
Postgres is stopped


Additional info:

Comment 1 Marek Mahut 2013-09-23 13:26:21 UTC
Proposed pull request https://github.com/openshift/origin-server/pull/3679

Comment 2 Qiushui Zhang 2013-09-24 02:57:38 UTC
Tested on devenv 3816

When app is stopped, we can get the following result:

[root@ip-10-154-169-153 ~]# oo-admin-ctl-gears statusgear 5240fead4c159cc51e000044
Checking application php1 (5240fead4c159cc51e000044) status:
-----------------------------------------------
Gear 5240fead4c159cc51e000044 is locked.

Cartridge: postgresql...
Postgres is stopped

Cartridge: php...
Application is either stopped or inaccessible


So mark the bug as verified.


Note You need to log in before you can comment on or make changes to this bug.