Bug 1569553
Summary: | OCP Uninstall Playbook Removes docker Storage | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Nick Schuetz <nschuetz> |
Component: | Installer | Assignee: | Michael Gugino <mgugino> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | sheng.lao <shlao> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.9.0 | CC: | aos-bugs, chernand, dmoessne, jokerman, knakayam, mmccomas, nick, nschuetz, sdodson, vlaad |
Target Milestone: | --- | ||
Target Release: | 3.10.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-09-04 18:44:16 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: |
Description
Nick Schuetz
2018-04-19 13:28:19 UTC
(In reply to Nick Schuetz from comment #0) > Expected results: > docker storage should be untouched. Can you elaborate on why that's what you expect? The uninstall playbook is pretty scorched earth and we do everything we can to get the host back to a clean slate. It's really desirable that instead of using it you simply re-provision hosts. The docker storage setup is a host prep setup. I don't want the uninstaller to touch that aspect of the platform. Just as the installer does not as well. Many times people aren't able to reprovision new hosts, so the uninstaller is absolutely necessary. *** Bug 1594508 has been marked as a duplicate of this bug. *** How about this, a thoroughly busted docker daemon on a bare-metal node after an uninstall.yaml. It required me to flush a multipath device to get it working. https://pastebin.com/ezK4T99b Our ask is for the uninstall to leave the docker daemon (and associated storage) alone. -Nick +1 The uninstaller touching the storage has other consequences. When trying to reinstall; CNS gets trapped in an infinate loop when trying to deploy Heketi. The error is `Device or resource busy`. The uninstaller is "scorch the earth" but it's not scorching right. because the uninstall leaves it in a broken state. Device resource busy error. You cannot re-setup docker until you reboot the VMs. Nick, I think 2 things come together: 1st correct (order wise) uninstall should not lead to that, so when all packages are uninstalled, services stopped,.. it should be possible to remove vg forcefully and wipe the fs (I ran into the same while testing and found you need to ensure node/master,docker .. service needs to be down and when we uninstall the packages, it should be at the end possible to remove all storage things). But it might well be the current state of undeploy does not do it correctly. It should and also remove the storage, while the prereq play does then reconfigure it 2nd: If your install fails and you have to uninstall, which includes package removal, I recommend anyway to reboot the system to be sure you're not in some undefined state and have a clear base from where you start over. I do not think in that state you want to just run a install again w/o rebooting and I also can see no reason that would block from rebooting as one obviously is just installin ocp, no ? PR merged in master: https://github.com/openshift/openshift-ansible/pull/9270 Will backport to 3.10 and 3.9. *** Bug 1591676 has been marked as a duplicate of this bug. *** 3.10 release cherry-pick https://github.com/openshift/openshift-ansible/pull/9410 In openshift-ansible-3.10.27-2 The latest version openshift-ansible is : openshift-ansible-3.10.27-1.git.0.d5723a3.el7.noarch.rpm So waiting the new release verion. |