Description of problem: Exit status is zero though oo-admin-cartridge failed to install the cartridge. Version-Release number of selected component (if applicable): devenv_5100 How reproducible: always Steps to Reproduce: 1.SSH into instance and run following commands: # oo-admin-cartridge --action install --source /tmp ; echo $? Actual results: # oo-admin-cartridge --action install --source /tmp ; echo $? install failed for /tmp: Cartridge manifest.yml missing: '/tmp/metadata/manifest.yml' installation failed 0 Expected results: The exit status should not be zero since the install failed. Additional info:
pull request https://github.com/openshift/origin-server/pull/5767
oo-admin-cartridge is expected to return 0 if at least one cartridge was installed.
Is there anything left to fix?
(In reply to Dan McPherson from comment #3) > Is there anything left to fix? My PR is merged on 19 Nov 2014. So I assume this is fixed.
Verified on devenv_5549, the issue has been fixed. # oo-admin-cartridge --action install --source /tmp install failed for /tmp: Cartridge manifest.yml missing: '/tmp/metadata/manifest.yml' Operation failed: some cartridge cannot be installed # echo $? 1