Bug 1282370

Summary: The uninstall playbook should remove the master api and controllers configuration
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: InstallerAssignee: Jason DeTiberus <jdetiber>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, bleanhar, jokerman, mmccomas, xtian
Target Milestone: ---Keywords: UpcomingRelease
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-17 21:19:36 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 Ma xiaoqiang 2015-11-16 09:02:45 UTC
Description of problem:
The uninstall playbook should remove the master api and controllers configuration 

Version-Release number of selected component (if applicable):
https://github.com/openshift/openshift-ansible master

How reproducible:
Always


Steps to Reproduce:

1. uninstall the ha-master env
2. check the configuraion file
#ll /etc/sysconfig/atomic-openshift-*
# ll /etc/systemd/system/atomic-openshift-*



Actual results:
#ll /etc/sysconfig/atomic-openshift-*
-rw-r--r--. 1 root root  380 Nov 16 14:35 /etc/sysconfig/atomic-openshift-master-api
-rw-r--r--. 1 root root  344 Nov 16 14:35 /etc/sysconfig/atomic-openshift-master-controllers
-rw-r--r--. 1 root root  314 Nov 16 15:43 /etc/sysconfig/atomic-openshift-master.rpmsave
-rw-r--r--. 1 root root 1060 Nov 16 15:49 /etc/sysconfig/atomic-openshift-node.rpmsave
# ll /etc/systemd/system/atomic-openshift-*
total 0
lrwxrwxrwx. 1 root root 59 Nov 16 14:35 atomic-openshift-master-api.service -> /usr/lib/systemd/system/atomic-openshift-master-api.service
lrwxrwxrwx. 1 root root 67 Nov 16 14:35 atomic-openshift-master-controllers.service -> /usr/lib/systemd/system/atomic-openshift-master-controllers.service



Expected results:
The configuration files should be removed.

Additional info:

Comment 1 Jason DeTiberus 2015-11-16 18:07:09 UTC
https://github.com/openshift/openshift-ansible/pull/904

Comment 2 Ma xiaoqiang 2015-11-17 02:53:06 UTC
Pls delete /etc/systemd/system/atomic-openshift-node.service.wants too.

Comment 3 Jason DeTiberus 2015-11-18 20:26:42 UTC
I created https://github.com/openshift/openshift-ansible/pull/936 to remove the node service wants file.

Comment 4 Ma xiaoqiang 2015-11-19 04:58:25 UTC
Get the expected result, move it to VERIFIED.

Comment 6 errata-xmlrpc 2015-12-17 21:19:36 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-2015:2667