Bug 1275980

Summary: The uninstall playbook should remove openshift packages
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: InstallerAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED CURRENTRELEASE QA Contact: Ma xiaoqiang <xiama>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, bleanhar, jokerman, mmccomas, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-20 15:41:46 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-10-28 09:36:16 UTC
Description of problem:
The uninstall playbook should remove openshift packages


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

How reproducible:
100%


Steps to Reproduce:
1. install env via ose
2. uninstall env
$ ansible-playbook -i hosts openshift-ansible/playbooks/adhoc/atomic_openshift_tutorial_reset.yml




Actual results:
TASK: [yum name={{ item }} state=absent] ************************************** 
skipping: [10.66.79.140]
skipping: [10.66.79.142]
skipping: [10.66.79.154]
the script skip this step

# rpm -qa|grep openshift
atomic-openshift-clients-3.0.2.903-0.git.73.16a78c7.el7aos.x86_64
atomic-openshift-node-3.0.2.903-0.git.73.16a78c7.el7aos.x86_64
atomic-openshift-3.0.2.903-0.git.73.16a78c7.el7aos.x86_64
tuned-profiles-atomic-openshift-node-3.0.2.903-0.git.73.16a78c7.el7aos.x86_64
atomic-openshift-sdn-ovs-3.0.2.903-0.git.73.16a78c7.el7aos.x86_64
atomic-openshift-master-3.0.2.903-0.git.73.16a78c7.el7aos.x86_64

Expected results:
The openshift package should be removed
Additional info:

Comment 1 Brenton Leanhardt 2015-10-28 15:08:25 UTC
Sorry for the confusion please test this functionality using 
https://github.com/openshift/openshift-ansible/blob/master/playbooks/adhoc/uninstall.yml and openshift-ansible-3.0.3-1.git.2.d753108.el7aos from the latest puddle.

Both of those should also delete the kubeconfig for non-root installs.

Comment 2 Ma xiaoqiang 2015-10-29 04:53:00 UTC
The packages ware removed. Move the issue to VERIFIED.