Description of problem: Create a scaling app with db cartridge,and stop db cartridge,and then run `rhc port-forward` for stopped db cartrdige,but prompt that "app is stopped". Should prompt "db cartrdige is stopped" Version-Release number of selected component (if applicable): rhc 1.9.6 devenv-stage_354 How reproducible: Always Steps to Reproduce: 1.Create a scaling app with db cartridge 2.Stop db cartrdige 3.Get db cartridge gear id 4.Run `rhc port-forward $app --gear $dbgearid` Actual results: 3.[sunwei@dhcp-8-229 ~]$ rhc app-show phps --gears ID State Cartridges Size SSH URL ------------------------ ------- ------------------- ----- --------------------------------------------------------------------------- 51a86baabd71ca283f000020 started php-5.3 haproxy-1.4 small 51a86baabd71ca283f000020.rhcloud.com 51a86d5ebd71ca365a000003 started php-5.3 haproxy-1.4 small 51a86d5ebd71ca365a000003.rhcloud.com 51a87950bd71ca283f000041 started php-5.3 haproxy-1.4 small 51a87950bd71ca283f000041.rhcloud.com 51a8708bbd71ca5bfa000027 stopped mysql-5.1 small 51a8708bbd71ca5bfa000027.rhcloud.com 4.[sunwei@dhcp-8-229 phps]$ rhc port-forward -a phps --gear 51a8708bbd71ca5bfa000027 Checking available ports ... Application phps is stopped. Please restart the application and try again. Expected results: Prompt db cartridge is stopped Additional info:
Fixed in https://github.com/openshift/rhc/pull/403
Will verify it after the pull request is merged.
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/5735b63c47b13c17eb6f91e97dc6d4e9bbeac0b9 Bug 969390 - Only full stop triggers message
Verified on devenv_3372 Result: [sunwei@dhcp-8-229 dev]$ rhc port-forward phps --gear 51bfaf4c3f0025071700001c -p x Checking available ports ... none There are no available ports to forward for this application. Your application may be stopped or idled.