Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1548633 - [quick installer][3.9]Unable to uninstall
[quick installer][3.9]Unable to uninstall
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.9.0
Assigned To: Vadim Rutkovsky
Wenkai Shi
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-23 23:03 EST by Wenkai Shi
Modified: 2018-03-28 10:30 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-28 10:30:19 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 None None None 2018-03-28 10:30 EDT

  None (edit)
Description Wenkai Shi 2018-02-23 23:03:53 EST
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:
Comment 1 Vadim Rutkovsky 2018-02-27 06:25:09 EST
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
Comment 2 Vadim Rutkovsky 2018-02-27 06:35:11 EST
Created https://github.com/openshift/openshift-ansible/pull/7300.

It seems its easier to update ansible config than copy the file all over
Comment 4 Wenkai Shi 2018-03-05 00:48:47 EST
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
Comment 5 Vadim Rutkovsky 2018-03-05 07:10:08 EST
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
Comment 6 Vadim Rutkovsky 2018-03-07 04:42:47 EST
Fix is available in openshift-ansible-3.9.3-1
Comment 7 Wenkai Shi 2018-03-07 04:46:17 EST
Verified with version openshift-ansible-3.9.3-1.git.0.e166207.el7, uninstall could working now.
Comment 10 errata-xmlrpc 2018-03-28 10:30:19 EDT
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

Note You need to log in before you can comment on or make changes to this bug.