OpenStack Mitaka 创建VM 报错:Cannot findsuitable emulator for x86_64

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1)      libvirtError: internal error: Cannot findsuitable emulator  for  x86_64  解决办法: yum-y  install  libtcmalloc*   *************************************************************   2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager [req-6572d17a-f952-4880-99a9-38d32634ec98 - - - - -] Errorupdating resources  for  node l22-250-2. 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager Traceback (most recent call last): 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py" , line6460,  in  update_available_resource 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager    rt.update_available_resource(context) 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py" ,line 500,  in  update_available_resource 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager     resources =self.driver.get_available_resource(self.nodename) 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py" , line5380,  in  get_available_resource 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager    data[ "hypervisor_version" ] = self._host.get_version() 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/host.py" , line825,  in  get_version 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager     returnself.get_connection().getVersion() 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py" , line 183, indoit 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager     result =proxy_call(self._autowrap, f, *args, **kwargs) 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py" , line 141, inproxy_call 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager     rv = execute(f,*args, **kwargs) 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py" , line 122, inexecute 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager     six.reraise(c,e, tb) 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py" , line 80, intworker 2016-07-27 17:54:12.621 24306 ERROR nova.compute.manager     rv = meth(*args, **kwargs) 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager   File "/usr/lib64/python2.7/site-packages/libvirt.py" , line 3868, ingetVersion 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager      if  ret == -1:raise libvirtError ( 'virConnectGetVersion() failed' , conn=self) 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager libvirtError: internal error: Cannot  find  suitableemulator  for  x86_64 2016-07-27 17:54:12.621 24306 ERRORnova.compute.manager    qemu-img: error  while  loading shared libraries: libtcmalloc.so.4:cannot  open  shared object  file : No such  file  or directory

本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1830804

点赞