Bug 1960381 - Nova compute container is stuck restarting when deploying NFS TLS Ganesha
Summary: Nova compute container is stuck restarting when deploying NFS TLS Ganesha
Keywords:
Status: CLOSED DUPLICATE of bug 1959808
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-13 18:21 UTC by Alfredo
Modified: 2022-08-18 17:10 UTC (History)
6 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-3878 0 None None None 2022-08-18 17:10:59 UTC

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 ***


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