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
Seems like the stable/yoga fix was never finalized. I just encountered this today on my Yoga cloud:
:~$ sudo systemctl status nova-compute. service service - OpenStack Compute system/ nova-compute. service; enabled; vendor preset: enabled) slice/nova- compute. service nova-compute --config- file=/etc/ nova/nova. conf --config- file=/etc/ nova/nova- compute. conf --log-file= /var/log/ nova/nova- compute. log nova-compute. conf --privsep_context vif_plug_ ovs.privsep. vif_plug --privsep_sock_path /tmp/tmpfkxvuql 0/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/tmp499vcc3 1/privsep. sock
● nova-compute.
Loaded: loaded (/lib/systemd/
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.
├─ 1621 /usr/bin/python3 /usr/bin/
├─ 2299 /usr/bin/python3 /bin/privsep-helper --config-file /etc/nova/nova.conf --config-file /etc/nova/
Nov 11 06:17:08 os-vm-6 nova-compute[1621]: waiter.switch() python3/ dist-packages/ eventlet/ hubs/hub. py", line 476, in fire_timers python3/ dist-packages/ eventlet/ hubs/timer. py", line 59, in __call__ python3/ dist-packages/ eventlet/ semaphore. py", line 152, in _do_acquire
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/
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/
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/
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