Description of problem: This is a feature request. right now rhc-fix-stale-frontend requires user interaction from the administration to run the command. Here is the output: ======================================================== Deleting names and any associated aliases from the frontend: kindlebldr-gengcheng.rhcloud.com Hit 'y' to continue, anything else to abort. y Deleting from ApacheDBNodes... Deleting from ApacheDBAliases... Deleting from ApacheDBIdler... Deleting from ApacheDBSTS... Deleting from NodeJSDBRoutes... Deleting from GearDB... Done ======================================================== It would be good to have an option, like -y or -b, to tell the program to do this automatically. That way we can script this to fix problems without having to be on the instance. Version-Release number of selected component (if applicable): rhc-node-1.14.6-1.el6oso.x86_64 How reproducible: very, simply run the command
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/e32424ba7eded56c8cd8608c2efa4c39ac2c6368 Bug 1010043 - Add -b option for rhc-fix-stale-frontend
Tested on devenv_3810 Now with "-b" option, the script will start automatically, non-interactively. [root@ip-10-164-80-117 ~]# rhc-fix-stale-frontend -b kindlebldr-gengcheng.rhcloud.com Deleting names and any associated aliases from the frontend: kindlebldr-gengcheng.rhcloud.com Deleting from ApacheDBNodes... Deleting from ApacheDBAliases... Deleting from ApacheDBIdler... Deleting from ApacheDBSTS... Deleting from NodeJSDBRoutes... Deleting from GearDB... Done Mark it as fixed.