Red Hat Bugzilla – Bug 816020
It'll return "success" while start or stop an embedded cartridge which does not exist
Last modified: 2015-05-14 20:51:10 EDT
Description of problem:
The description of the output result isn't incorrect Whhile start or stop an embedded cartridge which does not exist
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create an app of php type
# rhc-create-app -t php-5.3 -a phptest -p xx
2.Start rockmongo which doesn't exist
# rhc-ctl-app -a phptest -p xx -e start-rockmongo-1.1
3.Stop rockmongo which doesn't exist
# rhc-ctl-app -a phptest -p xx -e stop-rockmongo-1.1
The description of the output result is always return "success"
The output messages should be "rockmongo does not exist" or the others .
all in all, we should explain clearly that current embedded cartridge doesn't exist.
I tested all embedded cartridges, all of them have the same problems
Please use the "rhc" commands when filing bugs. In this case rhc app cartridge start -c rockmongo-1.1
The result is the same otherwise. Broker is sending us back a 200 Success. Reassigning to broker. Note that os-client-tools cucumber tests need to be fixed to reflect this change.
Fixed in the broker. Assigning to J5 to fix cucumber tests in the CLI tools accordingly.