在openstack上安装centos 出现的问题scheduler. 虚机内嵌套
来源:互联网 发布:xmindpro7 mac 破解版 编辑:程序博客网 时间:2024/05/16 06:36
openstack版本(k?i?大软件版本是3.6.1)openstack跑在esxi的虚机上。
centos: CentOS-6-x86_64-GenericCloud.qcow2.xz
vi /var/log/nova/nova-scheduler.log
2016-01-13 11:52:24.532 1893 WARNING nova.scheduler.driver [req-9a36cb28-8100-460f-b247-b4685be1adc5 81a4483303e84ec8b5f1de91472a6399 6a61ed0a13044b25b970449eea77a5d3] [instance: 5526bb73-0fed-4510-87a3-d272d135eb33] Setting instance to ERROR state.
2016-01-13 11:52:40.028 1893 INFO nova.scheduler.filter_scheduler [req-9a36cb28-8100-460f-b247-b4685be1adc5 81a4483303e84ec8b5f1de91472a6399 6a61ed0a13044b25b970449eea77a5d3] Attempting to build 1 instance(s) uuids: [u'7447ef5f-ffd5-4861-a72e-51947cbe8622']2016-01-13 11:52:40.029 1893 ERROR nova.scheduler.filter_scheduler [req-9a36cb28-8100-460f-b247-b4685be1adc5 81a4483303e84ec8b5f1de91472a6399 6a61ed0a13044b25b970449eea77a5d3] [instance: 7447ef5f-ffd5-4861-a72e-51947cbe8622] Error from last host: node1 (node node1): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1331, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 396, in decorated_function\n return function(self, context, *args, **kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1743, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1740, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2297, in spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3721, in _create_domain_and_network\n power_on=power_on)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3613, in _create_domain\n raise e\n', u"libvirtError: internal error: no supported architecture for os type 'hvm'\n"]
2016-01-13 11:52:40.033 1893 WARNING nova.scheduler.host_manager [req-9a36cb28-8100-460f-b247-b4685be1adc5 81a4483303e84ec8b5f1de91472a6399 6a61ed0a13044b25b970449eea77a5d3] Host has more disk space than database expected (30gb > -42gb)
2016-01-13 11:52:40.034 1893 INFO nova.filters [req-9a36cb28-8100-460f-b247-b4685be1adc5 81a4483303e84ec8b5f1de91472a6399 6a61ed0a13044b25b970449eea77a5d3] Filter RetryFilter returned 0 hosts
2016-01-13 11:52:40.035 1893 WARNING nova.scheduler.driver [req-9a36cb28-8100-460f-b247-b4685be1adc5 81a4483303e84ec8b5f1de91472a6399 6a61ed0a13044b25b970449eea77a5d3] [instance: 7447ef5f-ffd5-4861-a72e-51947cbe8622] Setting instance to ERROR state.
错误显示是不支持hvm格式。这个怎么是hvm格式?
根据下面的提示,发现我确实是把openstack跑在虚机上,然后嵌套又跑虚机。对于vmware来说,需要用vcenter开启openstack所在虚机的虚拟化。
ubuntu openstack处的修改是修改计算节点的nova-compute.conf
参考
https://ask.openstack.org/en/question/7519/instance-error-caused-by-libvirterror-internal-error-no-supported-architecture-for-os-type-hvm/
原文
As you are running OpenStack within a virtual machine you need to set this in /etc/nova/nova.conf on your compute host(s) to use QEMU:
libvirt_type=qemu
Currently the compute host is trying to use KVM but the virtualization extensions KVM requires are not available, because you are running in a virtual machine and nested virtualization is not enabled/available.
- 在openstack上安装centos 出现的问题scheduler. 虚机内嵌套
- 在CentOS上安装spice的Openstack
- 在centOS上安装oracle出现的问题及解决方法
- 在centos上使用devstack安装OpenStack
- 通过SSH向安装在虚拟机上的centOS 上传文件出现的问题及解决方法
- CentOS上使用OpenStack的一些问题
- 在ubuntu 12.04 上安装openstack 的glance服务问题
- 解决在centos x64 上安装openfire出现的错误
- Openstack在Centos上安装--(二)Mysql和RabbitMQ的安装与配置
- 在CentOS上安装和配置OpenStack Nova
- 在Centos 7上使用Devstack快速安装Openstack
- 在 centos上安装ceph与openstack集成
- 在CentOS 7上部署OpenStack Juno时遇到的问题总结
- 在虚拟机中安装centos可能出现的问题
- 在virtualbox安装centos时出现的问题
- 在CentOS上一键安装OpenStack
- 在VMware上安装CentOS遇到的问题汇总
- 在Centos上安装webmin时遇到的一些问题
- extern "C" 用法
- jsoncpp 构造空数组
- 关于发展职业之外的爱好
- PHP解析带CDATA的XML方法
- 重拾编程之路--String to Integer (atoi)
- 在openstack上安装centos 出现的问题scheduler. 虚机内嵌套
- Qt webview 使用
- 超快的Android模拟器Genymotion安装配置及使用教程
- Amazon AWS
- android手机路径问题(相册路径为null)
- java.security
- 点击top返回到页面顶部
- [LeetCode 324] Wiggle Sort II
- C++笔记--返回对象还是返回引用