Description of problem: $ --> rhc app create prod_app -n gsscloud --from-app dev_app Application 'dev_app' not found. How reproducible: Very Steps to Reproduce: 1. rhc app create prod_app -n production --from-app dev_app Additional info: $ --> rhc domain list Domain development (owned by User) ------------------------------------------------- Created: Feb 20, 2013 11:07 PM ID: DOMAIN_ID Allowed Gear Sizes: small, medium, large Domain production (owned by User) --------------------------------------------- Created: Jun 04 2:49 PM ID: DOMAIN_ID Allowed Gear Sizes: small Members: user1 (edit)
When you provide -n it will be used as the domain for both the original app and the one being created. To clone an app between domains you have to use the slash syntax, as in 'domain/app'. Example: rhc app create dest_app -n dest_domain --from-app original_domain/original_app So in your case, if I got it right: rhc app create prod_app -n production --from-app gsscloud/dev_app Does that fixes the issue? (In reply to Eric Rich from comment #0)
When I tested this, it seemed to work on the first try, however it failed. It looks as though it failed because in my gsscloud namespace I had a prod_app already defined. So it error'ed with: > Creating application 'prod_app' ... DNS entry not found Deleting this in the gsscloud namespace, allowed me to create it in the production namesapace! So there seems to be a check (with DNS) on the names you are choosing which could block someone from competing this action if they us the same name between two namespaces.