Description of problem: The memory index of the Node's cartridge repository is only populated from /var/libexec/openshift/cartridges not /var/lib/openshift/.cartridge_repository Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install a cartridge from a location other than /var/libexec/openshift/cartridge using oo-admin-cartridge --action install 2. oo-admin-broker-cache --clear 3. service ruby193-mcollective restart 4. rhc cartridge list Actual results: The new cartridge is not in the list Expected results: The new cartridge should be on the list Additional info:
https://github.com/openshift/origin-server/pull/4004
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/68ebe6e25a05f0edcb6d6369edd46424d986910c Bug 1023588 - Build cartridge index from cache * Restore support for cartridges added to node via oo-admin-cartridge
test on devenv_3953, new installed cartridge can be listed. steps: 1. install cartridge to a location other than /var/libexec/openshift/cartridge, eg, modified the zend cartrdige version and name, then install 2. oo-admin-broker-cache --clear 3. service ruby193-mcollective restart 4. rhc cartridge list to check the new installed cartridge [root@ip-10-141-174-107 test]# rhc cartridge list jbossas-7 JBoss Application Server 7 web jbosseap-6 (*) JBoss Enterprise Application Platform 6.1.0 web jenkins-1 Jenkins Server web mock-0.1 Mock Cartridge 0.1 web mock-0.2 Mock Cartridge 0.2 web mock-0.3 Mock Cartridge 0.3 web mock-0.4 Mock Cartridge 0.4 web zend-5.66666 mycartridge web <==== move bug to verified.