Bug 1811593

Summary: Some PKI files are not removed by engine-cleanup
Product: [oVirt] ovirt-engine Reporter: Yedidyah Bar David <didi>
Component: Setup.EngineAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: meital avital <mavital>
Severity: low Docs Contact:
Priority: low    
Version: 4.3.6.7CC: bugs
Target Milestone: ovirt-4.4.4Flags: sbonazzo: ovirt-4.4?
pm-rhel: planning_ack+
sbonazzo: devel_ack+
sbonazzo: testing_ack?
Target Release: 4.4.4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.4.2 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-26 22:31:15 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:
Embargoed:

Description Yedidyah Bar David 2020-03-09 10:07:45 UTC
Description of problem:

Some PKI files are not removed by engine-cleanup. This went unnoticed for a very long time because a new engine-setup simply re-created them. But now I noticed this, due to the fix for bug 1700021.

Version-Release number of selected component (if applicable):
More-or-less forever

How reproducible:
Always

Steps to Reproduce:
1. Setup an engine
2. engine-cleanup
3. ls -l /etc/pki/ovirt-engine/keys/engine.p12
4. engine-setup

Actual results:
In step 3 you see the file
In step 4, if you use a version that includes bug 1700021, you are prompted.

Expected results:
File is removed and engine-setup does not prompt.

Additional info:

A proper verification is probably:

1. Install engine packages
2. Keep a copy of /etc somewhere
3. engine-setup
4. engine-cleanup
5. Compare /etc with the copy from step 2, and make sure all differences are expected/ok

Comment 1 Casper (RHV QE bot) 2020-11-26 22:31:15 UTC
This bug has low overall severity and passed an automated regression suite, and is not going to be further verified by QE. If you believe special care is required, feel free to re-open to ON_QA status.

Comment 2 Sandro Bonazzola 2020-12-21 12:38:50 UTC
This bugzilla is included in oVirt 4.4.4 release, published on December 21st 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.4 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

Comment 3 Yedidyah Bar David 2021-02-04 10:00:39 UTC
*** Bug 1660443 has been marked as a duplicate of this bug. ***