标签:gmem.c:483 compute nova libvirt
openstack VM 启动失败: 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [req-209e1032-1594-4a12-9314-2d61497ddc00 77a941e7a6f34efcaa0cd1460702fb56 29c0d49d61d4428a978317f9da6d7663 - - -] [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] Instance failed to spawn 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] Traceback (most recent call last): 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] yield resources 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] block_device_info=block_device_info) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2791, in spawn 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] block_device_info=block_device_info) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4936, in _create_domain_and_network 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] xml, pause=pause, power_on=power_on) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4867, in _create_domain 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] guest.launch(pause=pause) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 142, in launch 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] self._encoded_xml, errors=‘ignore‘) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] self.force_reraise() 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] six.reraise(self.type_, self.value, self.tb) 17-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] xml, pause=pause, power_on=power_on) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4867, in _create_domain 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] guest.launch(pause=pause) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 142, in launch 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] self._encoded_xml, errors=‘ignore‘) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] self.force_reraise() 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] six.reraise(self.type_, self.value, self.tb) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 137, in launch 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] return self._domain.createWithFlags(flags) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 186, in doit 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] result = proxy_call(self._autowrap, f, *args, **kwargs) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 144, in proxy_call 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] rv = execute(f, *args, **kwargs) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 125, in execute 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] six.reraise(c, e, tb) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 83, in tworker 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] rv = meth(*args, **kwargs) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1069, in createWithFlags 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] if ret == -1: raise libvirtError (‘virDomainCreateWithFlags() failed‘, dom=self) 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] libvirtError: internal error: qemu unexpectedly closed the monitor: 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00] (process:13831): GLib-WARNING **: gmem.c:483: custom memory allocation vtable not supported Unknown protocol 2017-10-12 16:09:45.552 9650 ERROR nova.compute.manager [instance: 424e4c01-7f39-40d4-acb5-11664ce47b00]
解决办法:
安装库文件: yum -y install gperftools-libs 重启系统 [root@l23-4-22 154363a6-13e0-4570-a1ef-53f2becacfbd]# rpm -ql gperftools-libs /usr/lib64/libprofiler.so.0 /usr/lib64/libprofiler.so.0.4.5 /usr/lib64/libtcmalloc.so.4 /usr/lib64/libtcmalloc.so.4.2.6 /usr/lib64/libtcmalloc_and_profiler.so.4 /usr/lib64/libtcmalloc_and_profiler.so.4.2.6 /usr/lib64/libtcmalloc_debug.so.4 /usr/lib64/libtcmalloc_debug.so.4.2.6 /usr/lib64/libtcmalloc_minimal.so.4 /usr/lib64/libtcmalloc_minimal.so.4.2.6 /usr/lib64/libtcmalloc_minimal_debug.so.4 /usr/lib64/libtcmalloc_minimal_debug.so.4.2.6
验证通过
本文出自 “欢迎评论,欢迎点赞” 博客,请务必保留此出处http://swq499809608.blog.51cto.com/797714/1973164
Libvirsh 问题:GLib-WARNING **: gmem.c:483: custom memory allocation vtable not supported
标签:gmem.c:483 compute nova libvirt
原文地址:http://swq499809608.blog.51cto.com/797714/1973164