Bug 1369410 - uninstall fail at task [restart docker] on atomic-host
Summary: uninstall fail at task [restart docker] on atomic-host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.3.1
Assignee: Brenton Leanhardt
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-23 10:36 UTC by liujia
Modified: 2016-10-27 16:13 UTC (History)
4 users (show)

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:
Clone Of:
Environment:
Last Closed: 2016-10-27 16:13:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2122 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix update 2016-10-27 20:11:30 UTC

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


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