Hide Forgot
Description of problem: Use oo-cartridge to delete cartridge for gears, it will return succeeded even if the specified cartridge was not installed to the gear. Version-Release number of selected component (if applicable): devenv_4067 How reproducible: always Steps to Reproduce: 1. Create app 2. Try to delete a non-installed cartridge via oo-cartridge oo-cartridge --action delete --with-container-uuid 5292ed54e30cd02eec00000b --with-cartridge-name mysql-5.1 3. Actual results: It will return "Cartridge delete succeeded". Expected results: Should show message about the cartridge was not installed for the gear. Additional info:
Checked on latest devenv(devenv_4160), the issue still can be reproduced.
Dan: https://github.com/openshift/origin-server/pull/4297
https://github.com/openshift/origin-server/pull/4530
Commits pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/b103e52767785c42fb510e2a89309d8316755714 Bug 1034110 https://github.com/openshift/origin-server/commit/71d021d3397fa6b14f3737b61738d2b4990c5a87 Merge pull request #4530 from danmcp/bug1034110 Merged by openshift-bot
https://github.com/openshift/origin-server/pull/4538
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/843abc0fd22a8375fddc11b457d398463d3c16d0 Bug 1034110
[root@ip-10-73-212-24 ~]# oo-cartridge --action delete --with-container-uuid 52de50e9c9add372ff000001 --with-cartridge-name mysql-5.1 Cartridge 'mysql-5.1' is not installed in gear with uuid: 52de50e9c9add372ff000001 Issue fixed on devenv_4251.