Bug 1386721

Summary: [engine-cleanup] AAA configuration files are not removed
Product: [oVirt] ovirt-engine Reporter: Gonza <grafuls>
Component: Setup.EngineAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED WONTFIX QA Contact: Gonza <grafuls>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.5.1CC: bugs, lsvaty, mperina, omachace, ylavi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-25 07:30:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Gonza 2016-10-19 14:01:12 UTC
Description of problem:
When running engine-cleanup configuration files under /etc/ovirt-engine/{aaa|extensions.d} are not removed. After engine-cleanup if the user had SSO configured on the engine and manually removed AAA config files, this could cause subsequent engine-setup to fail on apache not being able to start due to missing files for soft link under /etc/httpd/conf.d/ovirt-sso.conf.

Version-Release number of selected component (if applicable):
rhevm-4.0.5.1-0.1.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Run engine-cleanup on an engine with SSO configured
2. Run engine-setup after cleanup
3. Check folder /etc/ovirt-engine/{aaa|extensions.d} for conf files.

Actual results:
engine-cleanup does not remove AAA conf files

Expected results:
engine-cleanup to remove AAA conf files plus apache soft links

Comment 1 Yaniv Lavi 2018-06-25 07:30:56 UTC
Closing old bugs.
Please reopen if still relevant.
Patches are welcomed.