Hide Forgot
Description of problem: Setting ALLOW_DEPRECATED_CARTRIDGES="true" in broker-dev.conf, deprecated cartridges still not usable. Version-Release number of selected component (if applicable): devenv_4061 How reproducible: always Steps to Reproduce: 1.SSH into an instance and run "rhc cartridge list" to show the cartridges avaliable. 2.Set ALLOW_DEPRECATED_CARTRIDGES="false" in broker-dev.conf 3.Add "Deprecated: true" to some cartridges' manifest.yml ( like mysql-5.1, python-2.7, python-3.3 ) under folder /usr/libexec/openshift/cartridges/*/metadata/ 4.Clear broker cache and restart broker/mcollective service. 5.Run "rhc cartridge list" to show the cartridges avaliable. 6.Set ALLOW_DEPRECATED_CARTRIDGES="true" in broker-dev.conf 7.Clear broker cache and restart broker/mcollective service. 8.Run "rhc cartridge list" to show the cartridges avaliable. 9.Create app with the deprecated cartridge. rhc app create py27 python-2.7 mysql-5 10.Create app with the deprecated cartridge. rhc app create py26 python-2.6 mysql-5 11.Add the deprecated cartridge to an app. rhc cartridge add mysql-5 -a php Actual results: Step 1 show all cartridges. Step 5 show cartridges excluding mysql-5, python-2.7, python-3.3. Step 8 show cartridges excluding mysql-5, python-2.7, python-3.3. Step 9 show "There are no cartridges that match 'python-2.7'" Step 10 show "There are no cartridges that match 'mysql-5'." Step 11 show "There are no cartridges that match 'mysql-5'." Expected results: Step 8 should show all cartridges ( deprecated and non-deprecated ) as broker has allowed deprecated cartridges. Step 9/10/11 should successful. Additional info:
Marking this an UpcomingRelease. We are still dealing with blockers for 2.0.36.
Fixed the rhc cartridge list issue https://github.com/openshift/origin-server/pull/4237 Also renamed deprecated to obsolete
Verified on devenv_4071. The obsolete cartridges were hiden from rhc/UI/RESTAPI when ALLOW_OBSOLETE_CARTRIDGES="false", and got show again when true.
Updated the cases.