Description of problem: Unable to uninstall cluster which installed by quick installer. Version-Release number of the following components: atomic-openshift-utils-3.9.0-0.51.0.git.0.e26400f.el7 ansible-2.4.2.0-2.el7 How reproducible: 100% Steps to Reproduce: 1. Install OCP by quick installer # atomic-openshift-installer install 2. Uninstall the cluster atomic-openshift-installer uninstall 3. Actual results: # atomic-openshift-installer uninstall OpenShift will be uninstalled from the following hosts: * master.example.com * node.example.com Do you want to proceed? [y/N]: y ERROR! Invalid callback for stdout specified: openshift_quick_installer Expected results: Should be able to uninstall Additional info:
That's a packaging issue: [root@ip-172-18-3-90 share]# tail -n 2 /usr/share/atomic-openshift-utils/ansible-quiet.cfg stdout_callback = openshift_quick_installer callback_plugins = /usr/share/ansible_plugins/callback_plugins [root@ip-172-18-3-90 share]# ls -la /usr/share/ansible_plugins/callback_plugins ls: cannot access /usr/share/ansible_plugins/callback_plugins: No such file or directory [root@ip-172-18-3-90 share]# mkdir -p /usr/share/ansible_plugins/callback_plugins [root@ip-172-18-3-90 share]# cp /usr/share/ansible/openshift-ansible/roles/lib_utils/callback_plugins/openshift_quick_installer.py /usr/share/ansible_plugins/callback_plugins [root@ip-172-18-3-90 share]# atomic-openshift-installer uninstall OpenShift will be uninstalled from the following hosts: * localhost Do you want to proceed? [y/N]: y [WARNING]: Could not match supplied host pattern, ignoring: children
Created https://github.com/openshift/openshift-ansible/pull/7300. It seems its easier to update ansible config than copy the file all over
Failed to verify with version atomic-openshift-utils-3.9.2-1.git.0.1a855b3.el7, code merged. Still met same issue. # tail -n 2 /usr/share/atomic-openshift-utils/ansible-quiet.cfg stdout_callback = openshift_quick_installer # atomic-openshift-installer uninstall OpenShift will be uninstalled from the following hosts: * master.example.com * node.example.com Do you want to proceed? [y/N]: y ERROR! Invalid callback for stdout specified: openshift_quick_installer # tail -n1 /tmp/ansible.log 2018-03-05 13:47:06,123 p=12656 u=root | ERROR! Invalid callback for stdout specified: openshift_quick_installer
Interesting, not sure why it worked during my tests. Created https://github.com/openshift/openshift-ansible/pull/7377 to fix - now callback_plugins path would be specified explicitely
Fix is available in openshift-ansible-3.9.3-1
Verified with version openshift-ansible-3.9.3-1.git.0.e166207.el7, uninstall could working now.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0489