Bug 1275980 - The uninstall playbook should remove openshift packages
Summary: The uninstall playbook should remove openshift packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-28 09:36 UTC by Ma xiaoqiang
Modified: 2016-07-04 00:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-20 15:41:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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