Description of problem: When you add cartridge that adds a public HTTP mapping, the result mapping is: 527a2922f3f3dd1c66000001-mfojtik.dev.rhcloud.com/haproxy_monitor 127.1.244.129:8080/ instead of: ruby01-mfojtik.dev.rhcloud.com/haproxy_monitor 127.1.244.129:8080/ Version-Release number of selected component (if applicable): devenv, maybe PROD/INT? Steps to Reproduce: 1. rhc app create ruby01 -s ruby-1.9 2. rhc add-cartridge https://raw.github.com/mfojtik/openshift-origin-cartridge-hamonitor/master/metadata/manifest.yml -a ruby01 Now check the /etc/httpd/conf.d/openshift/nodes.txt files, you will see something like: ruby01-mfojtik.dev.rhcloud.com 127.1.244.2:8080 ruby01-mfojtik.dev.rhcloud.com/health HEALTH ruby01-mfojtik.dev.rhcloud.com/haproxy-status 127.1.244.3:8080/ 527a2922f3f3dd1c66000001-mfojtik.dev.rhcloud.com/haproxy_monitor 127.1.244.129:8080/ Expected results: The public mapping DNS should use the application name instead of application UUID.
I work this out, adding the Group-Overrides and Provides into manifest.yml: Group-Overrides: - components: - web_framework - hamonitor The mappings are now created correctly and the cartridge is installed into primary gear in scaled app. I think we should document this behavior, so I will keep this bug open until I update the docs.
The docs are already there: https://github.com/openshift/origin-server/blob/master/documentation/oo_cartridge_developers_guide.adoc#38-group-overrides