Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1369410

Summary: uninstall fail at task [restart docker] on atomic-host
Product: OpenShift Container Platform Reporter: liujia <jiajliu>
Component: InstallerAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED ERRATA QA Contact: liujia <jiajliu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, bleanhar, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Previously nothing on a containerized install would remove /etc/systemd/system/docker.service.d/docker-sdn-ovs.conf. Consequence: At uninstall time docker would fail to restart because of stale references in this configuration file. Fix: The uninstall playbook now removes this file for containerized installs. Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-27 16:13:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Brenton Leanhardt 2016-08-23 15:01:30 UTC
https://github.com/openshift/openshift-ansible/pull/2347

Comment 6 openshift-github-bot 2016-09-01 18:49:29 UTC
Commits pushed to master at https://github.com/openshift/openshift-ansible

https://github.com/openshift/openshift-ansible/commit/1a1bd866d168d3a2028077aea23ae0c781ee453c
Bug 1369410 - uninstall fail at task [restart docker] on atomic-host

* Moved the restarting of docker and network services lower.
* Added /etc/systemd/system/docker.service.d/docker-sdn-ovs.conf to the list of
  files to be removed (I suspect the RPM uninstall handles this for
  non-containerized installs)
* sorted the file names

https://github.com/openshift/openshift-ansible/commit/204568e8fda1c54c5a01dc35419260874de780ee
Merge pull request #2347 from brenton/BZ1369410

Bug 1369410 - uninstall fail at task [restart docker] on atomic-host

Comment 7 Brenton Leanhardt 2016-09-19 11:46:01 UTC
The next time Master is built this should be picked up.

Comment 9 liujia 2016-10-09 03:33:56 UTC
blocked verify by Bug 1382885

Comment 10 liujia 2016-10-18 08:17:25 UTC
still blocked verify by bug1383004

Comment 11 liujia 2016-10-19 05:15:45 UTC
atomic-openshift-utils-3.3.37-1.git.0.10ff25b.el7.noarch

It can not uninstall through both with quick installer and playbook because bug-1382887. So it is still blocked verify.

Comment 12 liujia 2016-10-20 06:20:49 UTC
Version:
atomic-openshift-utils-3.3.38-1.git.0.2637ed5.el7.noarch

Steps:
1.install ose-3.3 on AH with non-root user(cloud-user).
2.run uninstall playbook
#ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/adhoc/uninstall.yml

Result:
It can uninstall OCP successfully.

Comment 14 errata-xmlrpc 2016-10-27 16:13:06 UTC
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-2016:2122