Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2088446

Summary: pki enroll request failure
Product: [oVirt] ovirt-engine Reporter: Dana <delfassy>
Component: ovirt-host-deploy-ansibleAssignee: Dana <delfassy>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5.0.8CC: bugs, didi, michal.skrivanek, mperina, msobczyk
Target Milestone: ovirt-4.5.2Keywords: ZStream
Target Release: 4.5.2Flags: mperina: ovirt-4.5+
gdeolive: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.2 Doc Type: No Doc Update
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-30 08:47:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dana 2022-05-19 13:10:08 UTC
Description of problem:
OST failed on TASK [ovirt-host-deploy-vdsm-certificates : Run PKI enroll request for vdsm and QEMU] *** with the error: 'unable to rename serial.txt.new to serial.txt reason: No such file or directory Cannot sign certificate

concurrent deploy (https://bugzilla.redhat.com/show_bug.cgi?id=1990446) was fixed by using ${CA_FILE} as the lock file.

1. a different flock is needed (use /etc/pki/ovirt-engine/ca.pem)
2. fix umask in ansible call to pki-enroll


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Sandro Bonazzola 2022-08-02 07:31:32 UTC
git tag --contains 3e0b763e86b66bd4cfaf4b2ebaf8f04a5e003d5a
ovirt-engine-4.5.2

Comment 3 Pavol Brilla 2022-08-08 07:41:19 UTC
2022-08-05 12:27:05 IDT - TASK [ovirt-host-deploy-vdsm-certificates : Run PKI enroll request for vdsm and QEMU] ***
message output doesnt contain any error messages

# yum list ovirt-engine
ovirt-engine.noarch                                                                     4.5.2-0.3.el8ev

Comment 4 Sandro Bonazzola 2022-08-30 08:47:42 UTC
This bugzilla is included in oVirt 4.5.2 release, published on August 10th 2022.
Since the problem described in this bug report should be resolved in oVirt 4.5.2 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.