服务器 
首页 > 服务器 > 浏览文章

Openstack 启动instance 'hvm'错误问题解决办法

(编辑:jimmy 日期: 2024/11/26 浏览:3 次 )

Openstack 启动instance 'hvm'错误:

2012-05-25 10:07:12 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in _process_data
2012-05-25 10:07:12 TRACE nova.rpc.amqp   rval = node_func(context=ctxt, **node_args)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2012-05-25 10:07:12 TRACE nova.rpc.amqp   return f(*args, **kw)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function
2012-05-25 10:07:12 TRACE nova.rpc.amqp   sys.exc_info())
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-25 10:07:12 TRACE nova.rpc.amqp   self.gen.next()
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in decorated_function
2012-05-25 10:07:12 TRACE nova.rpc.amqp   return function(self, context, instance_uuid, *args, **kwargs)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 651, in run_instance
2012-05-25 10:07:12 TRACE nova.rpc.amqp   do_run_instance()
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 945, in inner
/hvm                                                                         
2012-05-25 10:07:12 TRACE nova.rpc.amqp   self._run_instance(context, instance_uuid, **kwargs)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 451, in _run_instance
2012-05-25 10:07:12 TRACE nova.rpc.amqp   self._set_instance_error_state(context, instance_uuid)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-25 10:07:12 TRACE nova.rpc.amqp   self.gen.next()
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 432, in _run_instance
2012-05-25 10:07:12 TRACE nova.rpc.amqp   self._deallocate_network(context, instance)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-25 10:07:12 TRACE nova.rpc.amqp   self.gen.next()
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 429, in _run_instance
2012-05-25 10:07:12 TRACE nova.rpc.amqp   injected_files, admin_password)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 592, in _spawn
2012-05-25 10:07:12 TRACE nova.rpc.amqp   self._legacy_nw_info(network_info), block_device_info)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2012-05-25 10:07:12 TRACE nova.rpc.amqp   return f(*args, **kw)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 922, in spawn
2012-05-25 10:07:12 TRACE nova.rpc.amqp   self._create_new_domain(xml)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 1573, in _create_new_domain
2012-05-25 10:07:12 TRACE nova.rpc.amqp   domain = self._conn.defineXML(xml)
2012-05-25 10:07:12 TRACE nova.rpc.amqp  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2199, in defineXML
2012-05-25 10:07:12 TRACE nova.rpc.amqp   if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)

2012-05-25 10:07:12 TRACE nova.rpc.amqp libvirtError: internal error no supported architecture for os type 'hvm'

2012-05-25 10:07:12 TRACE nova.rpc.amqp libvirtError: internal error no supported architecture for os type 'hvm'

解决办法:

bios 设置 ivt enable

配置文件nova.conf,libvirt设置为 qemu

#--libvirt_type=kvm
--libvirt_type=qemu

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

上一篇:java.util.ConcurrentModificationException 解决方法
下一篇:OpenStack 创建windows镜像实现步骤
一句话新闻
一文看懂荣耀MagicBook Pro 16
荣耀猎人回归!七大亮点看懂不只是轻薄本,更是游戏本的MagicBook Pro 16.
人们对于笔记本电脑有一个固有印象:要么轻薄但性能一般,要么性能强劲但笨重臃肿。然而,今年荣耀新推出的MagicBook Pro 16刷新了人们的认知——发布会上,荣耀宣布猎人游戏本正式回归,称其继承了荣耀 HUNTER 基因,并自信地为其打出“轻薄本,更是游戏本”的口号。
众所周知,寻求轻薄本的用户普遍更看重便携性、外观造型、静谧性和打字办公等用机体验,而寻求游戏本的用户则普遍更看重硬件配置、性能释放等硬核指标。把两个看似难以相干的产品融合到一起,我们不禁对它产生了强烈的好奇:作为代表荣耀猎人游戏本的跨界新物种,它究竟做了哪些平衡以兼顾不同人群的各类需求呢?
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网 网站地图 SiteMap