Description of problem: create a python app and embed 10gen-mms-agent-0.1 after deploying settings.py to the app, fail to add 10gen-mms-agent-0.1 and show Adding 10gen-mms-agent-0.1 to application 'py1' ... Cartridge '10gen-mms-agent-0.1' can not be added with out cartridge '10gen-mms-agent'. [root@Daphne test]# rhc cartridge add -a py1 -c 10gen-mms-agent-0.1 Adding 10gen-mms-agent-0.1 to application 'py1' ... Cartridge '10gen-mms-agent-0.1' can not be added with out cartridge '10gen-mms-agent'. Version-Release number of selected component (if applicable): devenv_3545 How reproducible: Always Steps to Reproduce: 1. rhc app create py1 python-2.6 mongodb-2.2 2. deploy settings.py in repo and git push 3. rhc cartridge add -a py1 -c 10gen-mms-agent-0.1 Actual results: Adding 10gen-mms-agent-0.1 to application 'py1' ... Cartridge '10gen-mms-agent-0.1' can not be added with out cartridge '10gen-mms-agent'. Expected results: 10gen-mms-agent-0.1 should be added successfully
*** Bug 987264 has been marked as a duplicate of this bug. ***
https://github.com/openshift/origin-server/pull/3153
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/6567c9d34c8f09f45f47e6c05d69c61bb0a7f0f8 Bug 987872
verified on devenv_3562 10gen-mms-agent-0.1 can be added to app after deploying settings.py [root@Daphne py1]# rhc cartridge add -a py1 -c 10gen-mms-agent-0.1 Adding 10gen-mms-agent-0.1 to application 'py1' ... done 10gen-mms-agent-0.1 (10gen Mongo Monitoring Service Agent) ---------------------------------------------------------- Gears: Located with python-2.6, mongodb-2.2 Monitoring URL: https://mms.10gen.com/ 10gen-mms-agent added. Please configure your mongodb host at https://mms.10gen.com/ to start monitoring performance data. Monitoring URL: https://mms.10gen.com/ show correctly message if without deploying settings.py [root@Daphne py1]# rhc cartridge add -c 10gen-mms-agent-0.1 Adding 10gen-mms-agent-0.1 to application 'py1' ... Missing settings.py file: /var/lib/openshift/8f26f1b0f59611e29eb922000aa4361c/app-root/runtime/repo/.openshift/mms/settings.py This file is part of the agent zip file: 10gen-mms-agent-<group-name>.zip The zip file is available to download from https://mms.10gen.com/ after you register with their service. It contains your 10gen MMS credentials and is required for running the agent. You will need to add this file and then do a git commit and push before you can embed the 10gen-mms-agent cartridge. move to verified.