Bug 1923160 - Nova fails to build instances as it cannot load PKI certificates
Summary: Nova fails to build instances as it cannot load PKI certificates
Keywords:
Status: CLOSED DUPLICATE of bug 1917443
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Eran Kuris
URL:
Whiteboard: DFG:Networking Squad:OVN
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-01 13:39 UTC by Elvira
Modified: 2021-02-03 14:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-03 14:17:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Elvira 2021-02-01 13:39:37 UTC
Description of problem:
Error found in job DFG-network-networking-ovn-16.2_director-rhel-virthost-3cont_2comp_1ipa-ipv4-geneve-tls[0] at CI: Nova cannot build instances because it cannot load PKI certificates

[0] https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/view/DFG/view/network/view/networking-ovn/job/DFG-network-networking-ovn-16.2_director-rhel-virthost-3cont_2comp_1ipa-ipv4-geneve-tls/19/


#Logs in /var/log/containers/nova/nova-conductor.log.1:

libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2021-01-21T12:27:41.941769Z qemu-kvm: -object tls-creds-x509,id=vnc-tls-creds0,dir=/etc/pki/libvirt-vnc,endpoint=server,verify-peer=yes: Cannot load certificate '/etc/pki/libvirt-vnc/server-cert.pem' & key '/etc/pki/libvirt-vnc/server-key.pem': Error while reading file.\n", '\nDuring handling of the above exception, another exception occurred:\n\n', 'Traceback (most recent call last):\n', '  File "/usr/lib/python3.6/site-packages/nova/compute/manager.py", line 2161, in _do_build_and_run_instance\n    filter_properties, request_spec)\n', '  File "/usr/lib/python3.6/site-packages/nova/compute/manager.py", line 2535, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', "nova.exception.RescheduledException: Build of instance cfcf4506-0675-4295-9a8f-b5b6a2c870b6 was re-scheduled: internal error: qemu unexpectedly closed the monitor: 2021-01-21T12:27:41.941769Z qemu-kvm: -object tls-creds-x509,id=vnc-tls-creds0,dir=/etc/pki/libvirt-vnc,endpoint=server,verify-peer=yes: Cannot load certificate '/etc/pki/libvirt-vnc/server-cert.pem' & key '/etc/pki/libvirt-vnc/server-key.pem': Error while reading file.\n"]


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


How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:


Additional info:

Comment 2 Yatin Karel 2021-02-03 14:17:51 UTC
Looks duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1917443, the user id issue is fixed with tag: 16.2_20210129.1, and i see http://rhos-ci-logs.lab.eng.tlv2.redhat.com/logs/rcj/DFG-network-networking-ovn-16.2_director-rhel-virthost-3cont_2comp_1ipa-ipv4-geneve-tls/21 is running with the fix tag but seems that job is failing for different reason. I will mark it as duplicate of other.

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


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