Hide Forgot
Description of problem: After failed to create app,try to delete this app,but could not delete app successfully.But run `rhc domain show`,this broken app is still listed. Version-Release number of selected component (if applicable): INT How reproducible: Always Steps to Reproduce: 1.Create an application ,but failed 2.Run `rhc domain show` 3.Delete this broken app Actual results: 1.rhc app create nds nodejs-0.6 mysql-5.1 mongodb-2.2 postgresql-8.4 -s --no-git --no-dns -g large --server int.openshift.redhat.com -l wsun+1 Application Options ------------------- Domain: wsun1int Cartridges: nodejs-0.6, mysql-5.1, mongodb-2.2, postgresql-8.4 Gear Size: large Scaling: yes Creating application 'nds' ... exception: connect failed 2.openshift@openshift-ubuntu:~$ rhc domain show Please sign in to start a new session to int.openshift.redhat.com. Password: ****** Domain wsun1int (owned by wsun+1) -------------------------------------------- Created: Oct 18 12:53 AM Allowed Gear Sizes: small, medium, large nds @ http://nds-wsun1int.int.rhcloud.com/ (uuid: 5264eda86cec0e38c6000262) --------------------------------------------------------------------------- Domain: wsun1int Created: 5:02 AM Gears: 2 (defaults to large) Git URL: ssh:///~/git/nds.git/ SSH: ssh:// Deployment: manual (use 'rhc deploy') 3.openshift@openshift-ubuntu:~/test$ rhc delete-app nds -l wsun+1 This is a non-reversible action! Your application code and data will be permanently deleted if you continue! Are you sure you want to delete the application 'nds'? (yes|no): yes Deleting application 'nds' ... Unable to complete the requested operation due to: undefined method `set_user_env_vars' for #<Gear:0x000000072bf500>. Reference ID: c423d67ca3ec556ae712763a6acdb40d Expected results: Could delete this app successfully Additional info:
met the same problem on INT, can't delete app after failed to create app. then the account is broken and always show the below error when creating app. [root@localhost dataprepare]# rhc app delete cnodejs010salldbjkns84 --confirm -l yadu+m Deleting application 'cnodejs010salldbjkns84' ... createuser: creation of new role failed: ERROR: role "adminwh6a3sg" already exists /var/lib/openshift/5264f51a03ef6404100000ae/postgresql/bin/post_install: line 13: error: command not found [root@localhost dataprepare]# rhc app create phpsqlmyadmin php-5.3 mysql-5 phpmyadmin --no-git Using mysql-5.1 (MySQL 5.1) for 'mysql-5' Using phpmyadmin-4 (phpMyAdmin 4.0) for 'phpmyadmin' Application Options ------------------- Domain: aaa Cartridges: php-5.3, mysql-5.1, phpmyadmin-4 Gear Size: default Scaling: no Creating application 'phpsqlmyadmin' ... createuser: creation of new role failed: ERROR: role "adminwh6a3sg" already exists /var/lib/openshift/5264f51a03ef6404100000ae/postgresql/bin/post_install: line 13: error: command not found
I, too, am seeing this problem although I suspect mine failed to build because I used an incorrect git repo. I've got two applications that I cannot remove, though.
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/fcae2c3d7778d645758352fcdc6a006d95c29e96 Fix for bug 1020440, 1021041, 1021462, 1021467, and a typo
Fixed with --> https://github.com/openshift/origin-server/pull/3939
Check this bug on STG(devenv-stage_528),could not reproduce this bug,could create and delete app successfully,and could delete app successfully after app failed to build.
Will verify this bug after checking on INT
Try to create an application with incorrect download cartridge in STG(devenv-stage_528),when the creation failed,the app creating is rolled back successfully.
Checked broken app in INT(devenv_3942),the broken app is deleted. Tried to create an application with incorrect download cartridge,when the creation failed,the app creating is rolled back successfully. So verify this bug.
When the applications delete do you see your gears being released or are they still being shown as in use? I'm using 4 gears but showing that 8 are being used after the broken apps were removed.
Check my account,after the broken app was removed,my gears were released.I'm using 10 gears,and showing that 10 gears are being used.