qemu: qemu_thread_create: Resource temporarily unavailable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Medium
|
wangzhh |
Bug Description
Description
===========
When I start my nova-compute. It always reports errors, breaks resources update. Here is the log:
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
Command: /usr/bin/python2 -m oslo_concurrenc
Exit code: -6
Stdout: u''
Stderr: u'qemu: qemu_thread_create: Resource temporarily unavailable\n'
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:45.604 2100913 ERROR nova.compute.
2021-03-30 11:13:46.587 2100913 INFO oslo_service.
It seems a bug which fixed in ironic.
https:/
It worked well when I merge this patch.
Steps to reproduce
==================
Note: There are several instances launched by virsh, without nova. When I cleaned them, it worked well.
systemctl restart nova-compute
Expected result
===============
nova-compute start and without error.
Actual result
=============
Compute service start but with error log
Environment
===========
1. Found in Q release, but still exists in master.
2. qemu v2.12.0
3. Arm server
4. NeoKylin Linux Advanced Server release V7Update6
Changed in nova: | |
assignee: | nobody → wangzhh (wangzhh) |
I have couple of questions:
* You stated that using the fix from https:/ /storyboard. openstack. org/#!/ story/2007644 fixed your issue. Did you port the fix in that patch from ironic-lib to nova.privsep. qemu.unprivileg ed_qemu_ img_info( ) ?
* Is the path the qemu command fail on (e.g. '/var/lib/ libvirt/ images/ ubuntu18. 04-2.qcow2' in your trace above) an image of a nova managed VM or an image of non-nova managed VM? It seems to me that nova.virt. libvirt. driver. LibvirtDriver. _get_disk_ over_committed_ size_total( ) iterates all the domains on the hypervisor so it checks your non-nova managed domains too.
Marking it Incomplete until questions are answered. Please set it back to New once you did so.