Description of problem: After I tried to add my own downloadable cartridge to an ruby-1.9 application, the application become unavailable and the 'rhc apps' command seems to be broken. The cartridge I tried to add had an typo in install script (I forgot to source the BASH SDK), so the install script failed. How the application seems to have the cartridge assigned, even if the cartridge does not exists. Version-Release number of selected component (if applicable): devenv How reproducible: Create an empty ruby-1.9 app and then add a broken downloadable cartridge to it. If the install script in this downloadable cart fail, the 'rhc apps' prints this error: ~/ruby02 → rhc apps Unable to complete the requested operation due to: The application 'ruby02' requires 'mfojtik-haproxystats-0.1' but a matching cartridge could not be found. Steps to Reproduce: 1. $ rhc app create ruby02 -s ruby-1.9 2. $ rhc add-cartridge http://cartreflect-claytondev.rhcloud.com/reflect?github=mfojtik/openshift-origin-cartridge-haproxystats 3. $ rhc apps Actual results: Unable to complete the requested operation due to: The application 'ruby02' requires 'mfojtik-haproxystats-0.1' but a matching cartridge could not be found. Expected results: When the install script fail, the cartridge should not be registered to an app. Additional info:
This is now fixed.
Verified on devenv_4030, after install failure, the cartridge is not registered to the application.