Hide Forgot
Description of problem: Can't erase the installed cartridge by oo-admin-cartridge Version-Release number of selected component (if applicable): devenv_4008 How reproducible: Always Steps to Reproduce: 1. Install a new cartridge eg: oo-admin-cartridge -a install -s /usr/libexec/openshift/cartridges/zend or install the new cartridge to a location other than /var/libexec/openshift/cartridge eg: oo-admin-cartridge -a install -s /root/zend/ 2. oo-admin-cartridge -l (redhat, zend, 5.6, 0.0.6) (redhat, zend, 5.66, 0.0.7) <=====this is new installed cartridge 3. Make sure the new installed cartridge is not included in /usr/libexec/openshift/cartridges/zend, then try to erase it. 4. erase the new installed cartridge oo-admin-cartridge --action erase --name zend --version 5.66 --cartridge_version 0.0.7 Actual results: Can't erase the cartridge even the cartride is not inclueded in /usr/libexec/openshift/cartridges/zend [root@ip-10-145-227-222 ~]# oo-admin-cartridge --action erase --name zend --version 5.66 --cartridge_version 0.0.7 Couldn't erase cartridge: (Cannot erase cartridge installed in CARTRIDGE_BASE_PATH) Expected results: The new installed cartridge can be erased Additional info:
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/d7b0a54d094182cee120116a18aa0ebd2b535600 Fix bug 1028389
Test on devenv_4030, issue have been fixed. [root@ip-10-151-107-159 ~]# oo-admin-cartridge --action erase --name zend --version 5.66 --cartridge_version 0.0.7 succeeded Move to verified.