Description of problem: rhc app add-alias returns 400 error on success Version-Release number of selected component (if applicable): How reproducible: everytime Steps to Reproduce: 1. create domain 2. create application 3. create alias for application (rhc app add-alias -a app001 --alias application1) Actual results: rhc app add-alias -a app001 --alias application1 Password: * Problem reported from server. Response code was 500. Re-run with -d for more information. RESULT: Node execution failure (invalid exit code from node). If the problem persists please contact Red Hat support. [root@ip-10-110-95-134 ~]# rhc app add-alias -a app001 --alias application1 -d Password: * Contacting https://localhost Problem reported from server. Response code was 400. DEBUG: Exit Code: 1 api_c: placeholder broker_c: namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi API version: 1.1.3 RESULT: Alias 'application1' already exists for 'app001' Expected results: Either don't return error when successful. Or, don't create alias on failure. Additional info:
This looks like a broker issue.
launched new devenv-stage_197 and was not able to recreate problem.
Seems like a duplicate of Bug 820337 that I had fixed in the last week.
It is fixed on devenv_1815. Output: [root@localhost ~]# rhc app add-alias -a php0 --alias application1 Password: ** RESULT: Success [root@localhost ~]# rhc domain show Password: ** User Info ========= Namespace: domaintest0005 RHLogin: yquan Application Info ================ php0 Framework: php-5.3 Creation: 2012-06-05T00:57:58-04:00 UUID: 30f1202ae35c45a7a3016de0fe762cc2 Git URL: ssh://30f1202ae35c45a7a3016de0fe762cc2.rhcloud.com/~/git/php0.git/ Public URL: http://php0-domaintest0005.dev.rhcloud.com/ Aliases: application1 Embedded: mysql-5.1 - Connection URL: mysql://127.0.250.1:3306/