Comment 23 for bug 1934937

Revision history for this message
Alan Baghumian (alanbach) wrote :

Seems like the stable/yoga fix was never finalized. I just encountered this today on my Yoga cloud:

:~$ sudo systemctl status nova-compute.service
● nova-compute.service - OpenStack Compute
     Loaded: loaded (/lib/systemd/system/nova-compute.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2023-11-06 16:56:26 PST; 4 days ago
   Main PID: 1621 (nova-compute)
      Tasks: 30 (limit: 314572)
     Memory: 240.3M
     CGroup: /system.slice/nova-compute.service
             ├─ 1621 /usr/bin/python3 /usr/bin/nova-compute --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf --log-file=/var/log/nova/nova-compute.log
             ├─ 2299 /usr/bin/python3 /bin/privsep-helper --config-file /etc/nova/nova.conf --config-file /etc/nova/nova-compute.conf --privsep_context vif_plug_ovs.privsep.vif_plug --privsep_sock_path /tmp/tmpfkxvuql0/privsep.sock
             └─103858 /usr/bin/python3 /bin/privsep-helper --config-file /etc/nova/nova.conf --config-file /etc/nova/nova-compute.conf --privsep_context nova.privsep.sys_admin_pctxt --privsep_sock_path /tmp/tmp499vcc31/privsep.sock

Nov 11 06:17:08 os-vm-6 nova-compute[1621]: waiter.switch()
Nov 11 06:17:08 os-vm-6 nova-compute[1621]: greenlet.error: cannot switch to a different thread
Nov 11 06:18:24 os-vm-6 nova-compute[1621]: Traceback (most recent call last):
Nov 11 06:18:24 os-vm-6 nova-compute[1621]: File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 476, in fire_timers
Nov 11 06:18:24 os-vm-6 nova-compute[1621]: timer()
Nov 11 06:18:24 os-vm-6 nova-compute[1621]: File "/usr/lib/python3/dist-packages/eventlet/hubs/timer.py", line 59, in __call__
Nov 11 06:18:24 os-vm-6 nova-compute[1621]: cb(*args, **kw)
Nov 11 06:18:24 os-vm-6 nova-compute[1621]: File "/usr/lib/python3/dist-packages/eventlet/semaphore.py", line 152, in _do_acquire
Nov 11 06:18:24 os-vm-6 nova-compute[1621]: waiter.switch()
Nov 11 06:18:24 os-vm-6 nova-compute[1621]: greenlet.error: cannot switch to a different thread

Is it possible to finalize it?

Thanks much,
Alan