Bug 1145842

Summary: Need instructions on how to manually wipe RHELOSP-Installer (was: please provide a wipe option)
Product: Red Hat OpenStack Reporter: Don Domingo <ddomingo>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 6)CC: aberezin, ddomingo, kambiz, mburns, ohochman, racedoro, rhos-maint, yeylon
Target Milestone: ---Keywords: Documentation, TestOnly, Triaged, ZStream
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1121265 Environment:
Last Closed: 2015-03-11 01:11:33 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:
Bug Depends On: 1121265    
Bug Blocks:    

Comment 2 Don Domingo 2014-09-24 00:04:15 UTC
Assigning this to Andrew since he normally has RHELOSP-Installer deployments handy (for testing). Although it looks like Kambiz Aghaiepour <kambiz> might be able to provide more info on this.

Comment 3 Dan Macpherson 2014-12-04 06:16:01 UTC
I had a think about this and the method shown in comment #1 might not work in all cases. The piped commands (rpm -qa --last | grep "Thu 17 Jul" | awk '{ print $1 }') will only show a list of when these packages were last updated. This means if you perform an update, the dates will change for some (but not all) packages.

I did some research and probably the best method for this is to you the following paramater in /etc/yum.conf:

clean_requirements_on_remove=1

This will effectively nuke chosen packages and (if they're not required by anything else) their dependencies.

So basically we need to do the following:

1. Add clean_requirements_on_remove=1 to /etc/yum.conf

2. Run: yum remove rhel-osp-installer foreman foreman-proxy puppet (anything else foreman related? dhcp? bind?)

3. Delete the directories specified in comment #1

How does this sound to everyone?

Comment 5 Ramon Acedo 2015-01-27 16:23:38 UTC
rhel-osp-installer leaves a number of config files in /etc/httpd/conf.d that should be removed as well.

Comment 6 Dan Macpherson 2015-03-11 01:11:33 UTC
Article now includes removing httpd too. Article is also published now so this bug can be closed.