Hide Forgot
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:
Proposed pull request https://github.com/openshift/origin-server/pull/3679
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.