Bug 1960381

Summary: Nova compute container is stuck restarting when deploying NFS TLS Ganesha
Product: Red Hat OpenStack Reporter: Alfredo <alfrgarc>
Component: openstack-tripleoAssignee: James Slagle <jslagle>
Status: CLOSED DUPLICATE QA Contact: Joe H. Rahme <jhakimra>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16.2 (Train)CC: aschultz, dvd, mburns, mkrcmari, mschuppe, owalsh
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: 2021-05-14 12:18:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Marian Krcmarik 2021-05-14 06:39:57 UTC
It seems that nova-compute refuses to start:
2021-05-14 06:16:55.293 7 WARNING nova.virt.libvirt.driver [req-2f55e0ab-e9e2-4dc9-8a82-7f9122296c70 - - - - -] Cannot update service status on host "central-computehci0-0.redhat.local" since it is not registere
d.: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host central-computehci0-0.redhat.local could not be found.
2021-05-14 06:16:55.294 7 DEBUG nova.virt.libvirt.volume.mount [req-2f55e0ab-e9e2-4dc9-8a82-7f9122296c70 - - - - -] Initialising _HostMountState generation 0 host_up /usr/lib/python3.6/site-packages/nova/virt/li
bvirt/volume/mount.py:133
2021-05-14 06:16:55.301 7 ERROR oslo_service.service [-] Error starting thread.: nova.exception.Invalid: Setting both 'live_migration_tunnelled' and 'live_migration_with_native_tls' at the same time is invalid.
If you have the relevant libvirt and QEMU versions, and TLS configured in your environment, pick 'live_migration_with_native_tls'.
2021-05-14 06:16:55.301 7 ERROR oslo_service.service Traceback (most recent call last):
2021-05-14 06:16:55.301 7 ERROR oslo_service.service   File "/usr/lib/python3.6/site-packages/oslo_service/service.py", line 810, in run_service
2021-05-14 06:16:55.301 7 ERROR oslo_service.service     service.start()
2021-05-14 06:16:55.301 7 ERROR oslo_service.service   File "/usr/lib/python3.6/site-packages/nova/service.py", line 174, in start
2021-05-14 06:16:55.301 7 ERROR oslo_service.service self.manager.init_host()
2021-05-14 06:16:55.301 7 ERROR oslo_service.service   File "/usr/lib/python3.6/site-packages/nova/compute/manager.py", line 1340, in init_host
2021-05-14 06:16:55.301 7 ERROR oslo_service.service self.driver.init_host(host=self.host)
2021-05-14 06:16:55.301 7 ERROR oslo_service.service   File "/usr/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 745, in init_host
2021-05-14 06:16:55.301 7 ERROR oslo_service.service     raise exception.Invalid(msg)
2021-05-14 06:16:55.301 7 ERROR oslo_service.service nova.exception.Invalid: Setting both 'live_migration_tunnelled' and 'live_migration_with_native_tls' at the same time is invalid. If you have the relevant lib
virt and QEMU versions, and TLS configured in your environment, pick 'live_migration_with_native_tls'.
2021-05-14 06:16:55.301 7 ERROR oslo_service.service 

The env has TLS-E enabled and has ceph storage so newly probably to enable both 'live_migration_tunnelled' and 'live_migration_with_native_tls', not sure how to disable the tunnelled migration but It should happen automagically?

Comment 2 Ollie Walsh 2021-05-14 11:32:13 UTC
(In reply to Marian Krcmarik from comment #1)
> It seems that nova-compute refuses to start:
> 2021-05-14 06:16:55.293 7 WARNING nova.virt.libvirt.driver
> [req-2f55e0ab-e9e2-4dc9-8a82-7f9122296c70 - - - - -] Cannot update service
> status on host "central-computehci0-0.redhat.local" since it is not registere
> d.: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host
> central-computehci0-0.redhat.local could not be found.
> 2021-05-14 06:16:55.294 7 DEBUG nova.virt.libvirt.volume.mount
> [req-2f55e0ab-e9e2-4dc9-8a82-7f9122296c70 - - - - -] Initialising
> _HostMountState generation 0 host_up
> /usr/lib/python3.6/site-packages/nova/virt/li
> bvirt/volume/mount.py:133
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service [-] Error starting
> thread.: nova.exception.Invalid: Setting both 'live_migration_tunnelled' and
> 'live_migration_with_native_tls' at the same time is invalid.
> If you have the relevant libvirt and QEMU versions, and TLS configured in
> your environment, pick 'live_migration_with_native_tls'.
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service Traceback (most recent
> call last):
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service   File
> "/usr/lib/python3.6/site-packages/oslo_service/service.py", line 810, in
> run_service
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service     service.start()
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service   File
> "/usr/lib/python3.6/site-packages/nova/service.py", line 174, in start
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service self.manager.init_host()
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service   File
> "/usr/lib/python3.6/site-packages/nova/compute/manager.py", line 1340, in
> init_host
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service
> self.driver.init_host(host=self.host)
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service   File
> "/usr/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 745, in
> init_host
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service     raise
> exception.Invalid(msg)
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service nova.exception.Invalid:
> Setting both 'live_migration_tunnelled' and 'live_migration_with_native_tls'
> at the same time is invalid. If you have the relevant lib
> virt and QEMU versions, and TLS configured in your environment, pick
> 'live_migration_with_native_tls'.
> 2021-05-14 06:16:55.301 7 ERROR oslo_service.service 
> 
> The env has TLS-E enabled and has ceph storage so newly probably to enable
> both 'live_migration_tunnelled' and 'live_migration_with_native_tls', not
> sure how to disable the tunnelled migration but It should happen
> automagically?

To workaround I think you can set UseTLSTransportForNbd: false

Comment 3 David Vallee Delisle 2021-05-14 12:18:02 UTC

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