openstack创建实例失败placement

当我创建实例时一直失败,显示No valid host was found. There are not enough hosts available.
然后查看api发现placement服务没有服务端点,排查错误好长时间了,还没解决。求大神帮忙,已经卡着快一星期了。
图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Openstack创建实例失败
部署方法:安装官网和陈沙克日志部署http://www.chenshake.com/kolla-installation/rn部署环境:虚拟机+all-in-onern错误提示:Web中创建虚机,提示No valid host was found. There are not enough hosts available.rnrnnova_comput.logrnrn2017-10-25 16:27:04.590 5 DEBUG oslo_messaging._drivers.amqpdriver [req-40ef1384-a65d-45c2-ba3a-8691b5fb04c2 37ff328dfb87480dbbc51ed0b8e88638 2779da54e257448cacccc7dea61ad2a8 - - -] CALL msg_id: fd4f6ddeb7e84d11981c78bc2ef75e81 exchange 'nova' topic 'conductor' _send /var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:562rn2017-10-25 16:27:04.740 5 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: fd4f6ddeb7e84d11981c78bc2ef75e81 __call__ /var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:419rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [req-40ef1384-a65d-45c2-ba3a-8691b5fb04c2 37ff328dfb87480dbbc51ed0b8e88638 2779da54e257448cacccc7dea61ad2a8 - - -] [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb] Instance failed to spawnrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb] Traceback (most recent call last):rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 2125, in _build_resourcesrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     yield resourcesrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 1931, in _build_and_run_instancern2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     block_device_info=block_device_info)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2738, in spawnrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     destroy_disks_on_failure=True)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5182, in _create_domain_and_networkrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     destroy_disks_on_failure)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     self.force_reraise()rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraisern2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     six.reraise(self.type_, self.value, self.tb)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5154, in _create_domain_and_networkrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     post_xml_callback=post_xml_callback)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5072, in _create_domainrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     guest.launch(pause=pause)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 145, in launchrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     self._encoded_xml, errors='ignore')rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     self.force_reraise()rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraisern2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     six.reraise(self.type_, self.value, self.tb)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 140, in launchrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     return self._domain.createWithFlags(flags)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/eventlet/tpool.py", line 186, in doitrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     result = proxy_call(self._autowrap, f, *args, **kwargs)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/eventlet/tpool.py", line 144, in proxy_callrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     rv = execute(f, *args, **kwargs)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/eventlet/tpool.py", line 125, in executern2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     six.reraise(c, e, tb)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/eventlet/tpool.py", line 83, in tworkerrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     rv = meth(*args, **kwargs)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1069, in createWithFlagsrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)rn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb] libvirtError: internal error: process exited while connecting to monitor: 2017-10-25T08:27:04.294104Z qemu-kvm: -chardev pty,id=charserial0,logfile=/var/lib/nova/instances/fe80ac89-cf63-43cc-a7ef-2091ae0464fb/console.log,logappend=off: Unable to open logfile /var/lib/nova/instances/fe80ac89-cf63-43cc-a7ef-2091ae0464fb/console.log: Permission deniedrn2017-10-25 16:27:04.750 5 ERROR nova.compute.manager [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb] rn2017-10-25 16:27:04.774 5 INFO nova.compute.manager [req-40ef1384-a65d-45c2-ba3a-8691b5fb04c2 37ff328dfb87480dbbc51ed0b8e88638 2779da54e257448cacccc7dea61ad2a8 - - -] [instance: fe80ac89-cf63-43cc-a7ef-2091ae0464fb] Terminating instance
OpenStack实例创建失败
问题一:Block Device Mappingis Invalid 使用DashBoard创建实例时,卷是创建成功了,但是实例却处于ERROR状态 解决方案 查看日志/opt/stack/logs/c-vol.log ProcessExecutionError: Unexpected error while running command. Command: tgtad
openstack创建实例失败,bug(1)解决办法
先说出我找见错误是在哪里,虽然是很小的失误,但还是得注意 1,一次不小心把控制节点的主机名给修改了,然后就导致keystone工作不正常,消息机制出现错误。把控制节点的主机名改回来到原来的主机名就可以了。 2,创建实例出现错误: 查看nova-compute.log 看到的是:Starting instan ce… 2017-05-16 15:10:55.461 3677 WARNI
openstack创建实例失败(vm虚拟机)
按照官方文档做的,三个结点 controller compute storagernrn这是controller结点的nova-conductor.log的ERROR部分rn2016-12-06 01:35:30.527 307[color=#FF0000]7 ERROR nova.scheduler.utils [req-396b2731-fb97-4eaf-b85c-33f469a39942 7ff9542511f64eef950b7cd5331ab988 53b43ca6d2174aebb77d225752922ae1 - - -] [instance: df59d65b-20d8-4335-80e7-9f132af06ff4] Error from last host: compute (node compute): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2235, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2381, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance df59d65b-20d8-4335-80e7-9f132af06ff4 was re-scheduled: Authentication required\n']rn[/color]
openstack实例创建问题
openstack在创建实例的时候,如果指定的硬盘大小,比单个节点硬盘剩余的大小还大,会不会使用另外节点的磁盘空间。rn同理,分配的内存比单个节点的内存还要大,那么实例会不会使用其他节点的磁盘空间?
简单使用openstack创建实例
简单使用openstack创建实例,详细的图文解析如何创建openstack实例
openstack创建实例
一、horizon创建vm 参考:《Openstack创建实例–horizon篇》 https://blog.csdn.net/yasyal515/article/details/74946977 遇到的问题: openstack报错:Host xxx is not mapped to any cell 解决: 控制节点以stack用户执行如下命令: stack@kvm-01910...
openstack界面创建网络失败
openstack界面创建网络失败[img=https://img-bbs.csdn.net/upload/201711/03/1509720011_666535.png][/img]rn命令行创建成功
openstack 创建实例, 无法启动boot
实例的信息rnrnProperty | Value |rn+-------------------------------------+----------------------------------------------------------+rn| OS-DCF:diskConfig | MANUAL |rn| OS-EXT-AZ:availability_zone | nova |rn| OS-EXT-SRV-ATTR:host | compute |rn| OS-EXT-SRV-ATTR:hypervisor_hostname | compute |rn| OS-EXT-SRV-ATTR:instance_name | instance-0000000d |rn| OS-EXT-STS:power_state | 1 |rn| OS-EXT-STS:task_state | - |rn| OS-EXT-STS:vm_state | active |rn| accessIPv4 | |rn| accessIPv6 | |rn| config_drive | |rn| created | 2014-11-19T15:42:46Z |rn| demoNet network | 10.0.1.3 |rn| flavor | m1.tiny (1) |rn| hostId | 6ea25a07f1d987654554df515543425e2a67c4b4dfe5901ef209a85e |rn| id | d45b19d2-23dc-424c-9c13-88f4a6de329a |rn| image | CirrOS 0.3.1 (68757124-05b0-4305-a757-8f90f83dbd76) |rn| key_name | demo-key |rn| metadata | |rn| name | 44444444444 |rn| progress | 0 |rn| security_groups | default |rn| status | ACTIVE |rn| tenant_id | fb7855ffd9684f5a955ee334c24ec7f8 |rn| updated | 2014-11-19T15:42:53Z |rn| user_id | 919eb452b0bd43608b8bd8a03b18de22 |rn+-------------------------------------+----------------------------------------------------------+
openstack创建实例无法启动操作系统??
openstack创建实例无法启动操作系统,出现如下界面, 初学者求助!!rn[img=https://img-bbs.csdn.net/upload/201701/17/1484636722_345882.png][/img]
Openstack创建实例--CLI篇
1、首先source环境变量 每次登陆节点需要操作openstack命令时,都需要source一次环境变量,这样才可以正确的访问相应的用户信息。 [root@cloud ~]#source openrc.sh  2、生成密钥对 [root@cloud ~]#openstack keypair create --public-key ~/.ssh/id_rsa.pub defau
openstack创建实例无密码登录详解
[root@openstack ~]# ssh-keygenGenerating public/private rsa key pair.Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Y...
openstack 查看实例、创建、删除 、重启实例
列出实例,查看实例状态 命令: $ openstack server list 从镜像创建实例 命令: $ openstack server create --image <镜像id> --flavor <云主机类型>. --network <内网id> <实例名> 从云硬盘创建实例 命令: $ openstack server create ...
按照官方文档部署openstack的O版,创建实例失败
在完成openstack主要组件的部署后,并且每个组件都进行过验证,但在创建实例时失败rn[img=https://img-bbs.csdn.net/upload/201709/20/1505886835_969398.png][/img]rn希望大神能够指点迷津,帮忙确认一下是哪里出了错误![img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/42.gif][/img]
_ConnectionPtr创建实例失败!
以前我的程序时正常的,今天突然发现自己的程序不能连数据库了,调试的结果是 rn还没有到open,而在CreateInstance没有成功 rnrn ::CoInitialize(NULL);//初始化OLE/COM库环境 rn//创建_ConnectionPtr接口 rn m_Connection.CreateInstance(__uuidof(Connection)); rn//连接数据源 rn m_Connection-> Open((_bstr_t)strtemp, " ", " ",-1); rnrn//CreateInstance 后m_Connection 依然是null 在我的机子上,所以在open时报了异常。 我在别人的机子上调试 m_Connection 为非null, CreateInstance成功。 rnrn 程序在别的电脑上能运行,但是在我的电脑上不行。说明代码没有问题。我怀疑是我的VC出了问题。谁知道怎么回事。
ISHELL_CreateInstance创建实例失败?
[code=C/C++]rn ISHELL_CreateInstance(pMe->a.pIShell,AEECLSID_STATIC,(void**)&pMe->pIStatic);rn[/code]rnrn目的要创建一个STATIC控件,创建失败?
创建_connectionptr 实例 失败
我想用ADO操作数据库rn#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename ("EOF","rsEOF")rnrn::CoInitialize(NULL);rn_ConnectionPtr ptr(__uuidof(Connection)) ;rnptr->ConnectionString="provider=sqloledb.1;password=123456;user id=SA;initial catalog=student;data source=127.0.0.1";rnptr->Open("","","",adConnectUnspecified);rnrnrn_RecordsetPtr pRst(__uuidof(Recordset));rnpRst=ptr->Execute("select * from haha",NULL,adCmdText);rnrn上面的代码我开始运行时都正常,但过了二天后再拿来运行就报错,就是第三行 rn_ConnectionPtr ptr(__uuidof(Connection)) ; 创建不了实例,报 没有注册类别 错误rnrn请问高手这个如果解决!十分感谢了!!!rn
openstack开发环境(DEV+Ubuntu) 创建示例失败
利用devstack+ubuntu搭建openstack环境(一个控制节点,一个计算节点),采用pike版本,环境搭建成功后,部署一个实验虚机,虚机部署一直不成功,从nova日志看错误如下:rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] Traceback (most recent call last):rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/compute/manager.py", line 2200, in _build_resourcesrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] yield resourcesrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/compute/manager.py", line 2015, in _build_and_run_instancernJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] block_device_info=block_device_info)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2903, in spawnrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] destroy_disks_on_failure=True)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5452, in _create_domain_and_networkrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] destroy_disks_on_failure)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] self.force_reraise()rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraisernJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] six.reraise(self.type_, self.value, self.tb)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5422, in _create_domain_and_networkrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] post_xml_callback=post_xml_callback)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5340, in _create_domainrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] guest.launch(pause=pause)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 144, in launchrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] self._encoded_xml, errors='ignore')rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] self.force_reraise()rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraisernJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] six.reraise(self.type_, self.value, self.tb)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 139, in launchrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] return self._domain.createWithFlags(flags)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 186, in doitrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] result = proxy_call(self._autowrap, f, *args, **kwargs)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 144, in proxy_callrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] rv = execute(f, *args, **kwargs)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 125, in executernJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] six.reraise(c, e, tb)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 83, in tworkerrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] rv = meth(*args, **kwargs)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 1090, in createWithFlagsrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] libvirtError: internal error: process exited while connecting to monitor: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]rnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] 2018-06-10T00:02:53.109239Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memoryrnJun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] rn这个问题困扰我很久,在网上扑腾了好几天没有解决,请各位大侠看看如何解决,谢谢
openstack创建虚机失败,求解决
/var/log/nova/nova-api.log 日志如下:rn2015-08-29 18:17:28.838 3136 INFO oslo.messaging._drivers.impl_rabbit [req-136a24fd-62df-46f8-8eb7-d0ac2003e928 ] Connecting to AMQP server on 192.168.2.10:5672rn2015-08-29 18:17:28.899 3136 INFO oslo.messaging._drivers.impl_rabbit [req-136a24fd-62df-46f8-8eb7-d0ac2003e928 ] Connected to AMQP server on 192.168.2.10:5672rn2015-08-29 18:17:28.914 3136 INFO oslo.messaging._drivers.impl_rabbit [req-136a24fd-62df-46f8-8eb7-d0ac2003e928 ] Connecting to AMQP server on 192.168.2.10:5672rn2015-08-29 18:17:28.946 3136 INFO oslo.messaging._drivers.impl_rabbit [req-136a24fd-62df-46f8-8eb7-d0ac2003e928 ] Connected to AMQP server on 192.168.2.10:5672rn2015-08-29 18:18:29.004 3136[color=#FF0000] ERROR nova.api.openstack [req-136a24fd-62df-46f8-8eb7-d0ac2003e928 None] Caught error: Timed out waiting for a reply to message ID 0fcc9abf17dc4483913629c9ad05ff68[/color]rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack Traceback (most recent call last):rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 124, in __call__rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return req.get_response(self.application)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in sendrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack application, catch_exc_info=False)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_applicationrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack app_iter = application(self.environ, start_response)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return resp(environ, start_response)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 748, in __call__rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return self._call_app(env, start_response)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 684, in _call_apprn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return self._app(env, _fake_start_response)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return resp(environ, start_response)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return resp(environ, start_response)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack response = self.app(environ, start_response)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return resp(environ, start_response)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_funcrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return self.func(req, *args, **kwargs)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 910, in __call__rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack content_type, body, accept)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 975, in _process_stackrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 1059, in dispatchrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return method(req=request, **action_args)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 958, in creatern2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack check_server_group_quota=check_server_group_quota)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 131, in innerrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack rv = f(*args, **kwargs)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1457, in creatern2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack check_server_group_quota=check_server_group_quota)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1079, in _create_instancern2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack max_count)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 770, in _validate_and_build_base_optionsrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack requested_networks, max_count)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 479, in _check_requested_networksrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack max_count)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 48, in wrappedrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return func(self, context, *args, **kwargs)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 404, in validate_networksrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack requested_networks)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/network/rpcapi.py", line 245, in validate_networksrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return self.client.call(ctxt, 'validate_networks', networks=networks)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 389, in callrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack return self.prepare().call(ctxt, method, **kwargs)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in callrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack retry=self.retry)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _sendrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack timeout=timeout, retry=retry)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in sendrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack retry=retry)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 397, in _sendrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack result = self._waiter.wait(msg_id, timeout)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 285, in waitrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack reply, ending = self._poll_connection(msg_id, timeout)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 235, in _poll_connectionrn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack % msg_id)rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstack MessagingTimeout: Timed out waiting for a reply to message ID 0fcc9abf17dc4483913629c9ad05ff68rn2015-08-29 18:18:29.004 3136 TRACE nova.api.openstackrnrn[img=https://img-bbs.csdn.net/upload/201508/29/1440844154_119603.png][/img]
求助openstack 创建云主机失败问题
求助openstack 创建云主机失败问题,我执行的命令是rnnova boot --flavor m1.small --image centos6.5_x86_64 --nic net-id=03110740-ef76-4246-b1e6-40adf97ff06c --security-group default --key-name demo-key demo-instance1rnrn提示错误:rnERROR (NotFound): The resource could not be found. (HTTP 404) (Request-ID: req-b9b1c819-0c35-4714-8e66-5af26ee2264f)rnrn查看了其它日志,只有 tail -f /var/log/nova/nova-api.log 这个日志有报错,提示如下:rnrn2015-11-26 12:19:29.389 38249 INFO nova.api.openstack [req-6d151ac0-b5a9-451a-8f5b-c0bf39584651 0258a24895e94d408e8f8bdb6027500e 70d0361db21547b08dfcb0abaa65a098 - - -] http://controller-m:8774/v2/70d0361db21547b08dfcb0abaa65a098/servers returned with HTTP 404rn2015-11-26 12:19:29.390 38249 INFO nova.osapi_compute.wsgi.server [req-6d151ac0-b5a9-451a-8f5b-c0bf39584651 0258a24895e94d408e8f8bdb6027500e 70d0361db21547b08dfcb0abaa65a098 - - -] 10.8.2.102 "POST /v2/70d0361db21547b08dfcb0abaa65a098/servers HTTP/1.1" status: 404 len: 296 time: 0.2188320rnrn找了3天不知道怎么解决,求大神帮忙!
openstack虚拟机实例启动时网络配置失败的原因
故障现象 openstack虚拟机实例启动非常慢,需要十多分钟。在dashboard上查看实例日志,[[0m[31m* [0m] A start job is running for LSB: Bri...p/down networking (8s / 5min 2s)这样的内容非常多。 原因分析 原因是openstack上配置的子网没有启用DHCP,导致实例的网络不能正确配置,后续...
关于openstack发布实例失败的问题
[size=14px]OpenStack部署情况是两节点架构,一个controller节点,一个computer节点,近日使用openstack创建实例时出现没有找到有效的主机问题 “no valid host was found”, 导致虚拟机创建失败。如图所示,不知道什么原因,无论是用Dashboard创建还是用CLI创建状态都是error。另外在分配IP时也无法分配不知道二者是否有关系。希望各路大神指点迷津。rnrn[img=https://img-bbs.csdn.net/upload/201601/13/1452679776_611287.jpg][/img][img=https://img-bbs.csdn.net/upload/201601/13/1452679998_748239.jpg][/img][/size]
placement new和placement delete
谁能具体讲讲placement new和placement delete。rn最好能给个可编译运行的例子。
openstack——安装单机版openstack、配置网络、cinder、创建实例
参考:https://www.linuxtechi.com/single-node-openstack-liberty-installation-centos-7/ 步骤: 环境准备:centos7.4 注意:1、最好是新安装iso的环境            2、系统盘最好容量设大些(默认虚拟机的系统盘会放在/var/lib/nova/instances目录下,容量过小会导致虚拟机创建失...
COM 组件创建实例失败??
我用vs2008 asp.net(c#)开发了语音合成系统,在本机运行的挺好,但在服务上不行,报一下错误:rnrnSystem.Runtime.InteropServices.COMException (0x8004503A): 从 IClassFactory 为 CLSID 为 47206204-5ECA-11D2-960F-00C04F8EE628 的 COM 组件创建实例失败,原因是出现以下错误: 8004503a。rnrnrn请各位解答一下。rn
创建实例失败 state error
创建实例失败,查看compute.log,如下异常:  libvirtError: internal error Process exited while reading console log output: chardev: opening backend "file" failed ERROR nova.compute.manager [req-14367115-a9db-49d
求救 组件创建实例失败
rn我的测试组件testATL.ITestI 为自由线程 双接口 为简化问题 不包含任何方法rnrn客户端代码 rn#include "stdafx.h"rn#include "ole2.h"rn#include "iostream"rnrnusing namespace std;rn#import "..\testatl.tlb" no_namespacernrnint main(int argc, char* argv[])rnrn try rn rn ::CoInitialize(NULL);rn ITestIPtr (__uuidof(ITestI));rn //出错信息为 无法写入注册表项 若改为rn // ITestIPtr ("TestATL.ITestI"); 出错信息为 未调用CoInitialize rn rn catch (_com_error &er)rn rn cout<
在AIX上面创建实例失败
在AIX5.1上安装DB2 V8.1,安装是成功的,但是创建实例失败,错误为:rnDBI1281E The database manager configuration file could not be rn initialized. rnrn后来用Root登陆,手工执行命令rndb2icrt -a SERVER -s ese -u db2fenc1 -w 32 -p db2c_db2inst1 db2inst1rn还是报同样的错误,请问我该怎么办?
openstack创建4 VCPU的实例问题
openstack创建windows server 2003系统4 VCPU的实例,为什么安装的硬件检测软件看见cpu是单核,单线程的呢?
深挖Openstack Nova - 实例创建(2)
--------------- 紧接上篇 nova实例创建(1) --------------------3. 分析show方法在2.1中的image = self.image_service.show(context, internal_id)中,由于S3是EC2的存储平台,所以调用/nova/image/s3.py的show方法def show(self, context, image_id)...
Openstack liberty 创建实例快照源码分析2
这是创建云主机实例快照源码分析系列的第二篇,在第一篇文章中分析了从镜像启动云主机,创建在线/离线快照的过程;本篇将分析从启动盘启动的云主机创建快照的过程,下面请看正文: 磁盘启动云主机,离线(在线)快照 函数入口和前述一样,还是 nova/api/openstack/compute/servers.py/ServersController._action_create_image,下面一
深挖Openstack Nova - 实例创建(4)
--------------- 紧接上篇 nova实例创建(3) --------------------(8)完成配额管理instances = self._provision_instances(context, instance_type, min_count, max_count, base_options, boot_meta, security_groups, ...
openstack创建实例计算节点报错
openstack创建实例计算节点报错,compute的nova-compute.log如下 403 Forbidden, You don't have permission to access /resource_providers on this server Failed to retrieve resource provider tree from placement API for U...
解决OpenStack创建实例不超过10个
在使用openstack的过程中,默认创建的实例最多10个,这是因为配额默认实例就是10 所以我们需要修改配置文件/etc/nova/nova.conf中的配额参数就可以了 [default] 末尾添加 quota_instances=1000000 quota_cores=20000 quota_ram=5120000000 quota_floating_ips=100000
OpenStack创建实例控制台显示starting up...
问题简述今天刚刚配置好自己的OpenStack,然后跟着教程也是做到了创建实例,好不容易创建好了,用例子的cirros进入console,只有黑屏加上:starting up…,挂了一个小时还是这样,然后网上竟然完全查不到,后来终于查到了一个问这个问题的人。 Hi all, I installed openstack Newton on CentOS 7 the 2 node archit
深挖Openstack Nova - 实例创建(1)
nova版本:Liberty一、创建实例涉及的主要目录结构(1)/nova/api/ec2/cloud.py:云控制器,执行EC2 REST API的调用,这个调用是通过AMQP RPC分派到其他节点(2)/nova/image/s3.py:从S3获取数据,建立镜像等相关方法(3)/nova/image/glance.py:使用Glance作为后端的镜像服务的实现(4)/nova/compute/...
openstack创建的实例不能使用ssh登录
问题描述 openstack创造的实例不能被ssh登录。 分析了一下问题产生的原因是在创建实例的时候,ssh被openstack中的安全组给限制掉了,所有实例的22号端口都不能够被链接。 解决办法 打开openstack的dashboard面板,进行如下测试。 给安全组当中添加一条相关的规则即可。...
Openstack liberty 创建实例快照源码分析1
这是创建云主机实例快照源码分析系列的第二篇,在第一篇文章中分析了从镜像启动云主机,创建在线/离线快照的过程;本篇将分析从启动磁盘启动的云主机创建快照的过程,下面请看正文: 磁盘启动云主机,离线(在线)快照 函数入口和前述一样,还是 nova/api/openstack/compute/servers.py/ServersController._action_create_image,该方法在
OpenStack设置创建实例超过253
在默认情况下我们使用OpenStack创建实例的个数是10个,通过我们修改/etcnova/nova.conf配置文件添加quota配置后我们可以创建的个数不受10个的限制了 但是这个时候创建实例超过253个的时候就会报错,因为OpenStack默认掩码是24,创建的实例个数最多只能是253个 我们通过修改网络来实现自己配置子网个数 nova network-create --fix
openstack 无法在compute节点创建实例
请教下大家,使用devstack安装的,一个controller,一个compute,网络是nova-network,在controller节点能正常创建实例,但是添加一个Host Aggregates然后把compute放进去,却无法在compute上创建实例,提示错误如下:rnNo valid host was found. There are not enough hosts available. rn用命令行nova boot创建提示另一个错误:rnConnection to glance host 10.239.166.190:9292 failed: Network Error: Network Error (tcp_error): A communication error occurred: "Operation timed out": The Web Server may be down, too busy, or experiencing other problems preventing it from responding to re rn这两个问题应该如何排查和解决?rnOpenStack如何选择在哪个节点创建实例呢?默认是controller?然后必须通过Host Aggregates手动选择compute吗?不是自动分配的?还是需要设置什么?rnrn另外,为什么/var/log/下面没有nova目录,也没有那些log?然后service nova-scheduler restart也提示没有服务?rnrngoogle不到,新手先谢谢大家!rn
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池