Bug 1832517 - after failed deployment /etc/libvirt/qemu.conf has stalled entries to vnc certs
Summary: after failed deployment /etc/libvirt/qemu.conf has stalled entries to vnc certs
Keywords:
Status: CLOSED DUPLICATE of bug 1634742
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-4.4.1
: ---
Assignee: Asaf Rachmani
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-06 18:37 UTC by Joachim von Thadden
Modified: 2023-09-14 05:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-14 08:42:49 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joachim von Thadden 2020-05-06 18:37:31 UTC
Description of problem:
After a failed installation of the hosted engine, there are remaining entries in /etc/libvirt/qemu.conf about certs:

/etc/libvirt/qemu.conf:vnc_tls=1
/etc/libvirt/qemu.conf:vnc_tls_x509_cert_dir="/etc/pki/vdsm/libvirt-vnc"

They are not removed by issuing ovirt-hosted-engine-cleanup and inhibit a re-run of the deployment.

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

How reproducible:
always

Steps to Reproduce:
1. run hosted-engine --deploy
2. if it fails, run ovirt-hosted-engine-cleanup
3. tail /etc/libvirt/qemu.conf to see remaining entries
4. run hosted-engine --deploy again and it will fail

Actual results:
re-deployment fails

Expected results:
re-deployment succeeds

Additional info:
Workaround: remove last 4 lines of /etc/libvirt/qemu.conf and re-deploy

Comment 1 Ryan Barry 2020-05-07 12:23:30 UTC
Sandro, why would a bug about HE installation failing be virt?

Comment 2 Sandro Bonazzola 2020-05-13 15:23:20 UTC
(In reply to Ryan Barry from comment #1)
> Sandro, why would a bug about HE installation failing be virt?

I think I just moved the wrong bug. Reverting my changes.

Comment 3 Sandro Bonazzola 2020-05-14 07:08:10 UTC
Can you please attach logs of the failed deployment?

Comment 4 Sandro Bonazzola 2020-05-14 08:42:49 UTC
Closing as duplicate of bug #1634742

*** This bug has been marked as a duplicate of bug 1634742 ***

Comment 5 Red Hat Bugzilla 2023-09-14 05:57:35 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.