Bug 1134121

Summary: Tuskar Fails After Remove/Reinstall Of RDO
Product: [Community] RDO Reporter: Dan Sneddon <dsneddon>
Component: distributionAssignee: Jay Dobies <jason.dobies>
Status: CLOSED EOL QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: apevec, jason.dobies, markmc, morazi, srevivo
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: 2017-06-01 00:53:23 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 Dan Sneddon 2014-08-26 21:44:15 UTC
Description of problem:
When the RDO-Icehouse packages are removed via 'yum remove' the tuskar.sqlite DB stays around, which causes failure when RDO is reinstalled

Version-Release number of selected component (if applicable):
0.3.1-2.fc21

How reproducible:
Happens every time

Steps to Reproduce:
1. Install RDO using Instack
2. Remove all openstack-icehouse packages
3. Reinstall RDO using Instack

Actual results:
Since the /usr/lib/python2.7/site-packages/tuskar/openstack/common/db/tuskar.sqlite file is still present, it causes the next installation of RDO to fail during instack-install-undercloud-packages, and the resulting installation can not deploy an overcloud via Tuskar or the Horizon UI due to conflicts in the Tuskar data.

Expected results:
RDO should be able to be reinstalled after uninstalling all packages

Additional info:
Since this file gets created in the instack-install-undercloud-packages phase, running that script again should cause that file to be recreated. This would be inline with what we do with the mysql db tables (they get wiped out and recreated).

Comment 1 Jay Dobies 2014-10-14 15:21:03 UTC
The fix should be to add a %ghost entry for the database file. It should be fixed in the next build (I'll post when that gets built).

Comment 2 Jay Dobies 2014-10-16 20:07:09 UTC
Fix added to specs. Will be in the next RDO release.

Comment 4 Mike McCune 2016-03-28 22:44:25 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 Alan Pevec 2017-06-01 00:53:23 UTC
Tuskar is EOLed upstream, so is Icehouse.