Description of problem: When running katello-remove, the user is presented with the initial prompt, but does not get a chance to type "remove". The script cancels itself and does not perform a remove. As a result, a user can never use it to remove katello. Version-Release number of selected component (if applicable): Nightly 1.11.0-develop How reproducible: Always Steps to Reproduce: 1. Run katello-remove 2. Enter "y" to continue Actual results: You are not given the option to proceed, by typing "remove". Instead the script cancels itself and exits. Expected results: You are given the option to remove katello and the script runs. Additional info: # katello-remove WARNING: This script will erase many packages and config files. Important packages such as the following will be removed: * httpd (apache) * mongodb * tomcat6 * puppet * ruby * rubygems * All Katello and Foreman Packages Once these packages and configuration files are removed there is no going back. If you use this system for anything other than Katello and Foreman you probably do not want to execute this script. Read the source for a list of what is removed. Are you sure(Y/N)? y ARE YOU SURE?: This script permanently deletes data and configuration. Read the source for a list of what is removed. Type [remove] to continue? ** cancelled **
I have tested this on RHEL 6 and 7 and can not get it to reproduce it lets me type Y/N and then remove and has not errored out yet. Tested both with 6.2 beta and upstream nightly build. [root@dhcp-10-12-211-50 ~]# katello-remove WARNING: This script will erase many packages and config files. Important packages such as the following will be removed: * httpd (apache) * mongodb * tomcat * puppet * ruby * rubygems * All Katello and Foreman Packages Once these packages and configuration files are removed there is no going back. If you use this system for anything other than Katello and Foreman you probably do not want to execute this script. Read the source for a list of what is removed. Are you sure(Y/N)? y ARE YOU SURE?: This script permanently deletes data and configuration. Read the source for a list of what is removed. Type [remove] to continue? remove Closing this as worksforme