免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8129 | 回复: 3
打印 上一主题 下一主题

[OpenStack] openstack不能创建虚拟机 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-11-21 20:06 |只看该作者 |倒序浏览
请大牛指点,小弟困扰一周了都,在创建虚拟机的时候报错,提示无效的主机,以下是log
2014-11-21 19:02:04.249 4550 DEBUG nova.openstack.common.processutils [-] Running cmd (subprocess): qemu-img resize /var/lib/nova/instances/7d7714c9-32d6-40b0-887d-39f01cd026f2/disk 85899345920 execute /usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py:154
2014-11-21 19:02:04.267 4550 DEBUG nova.openstack.common.processutils [-] Result was 0 execute /usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py:187
2014-11-21 19:02:04.268 4550 DEBUG nova.virt.disk.api [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Checking if we can resize filesystem inside /var/lib/nova/instances/7d7714c9-32d6-40b0-887d-39f01cd026f2/disk. CoW=False is_image_partitionless /usr/lib/python2.6/site-packages/nova/virt/disk/api.py:199
2014-11-21 19:02:04.268 4550 DEBUG nova.openstack.common.processutils [-] Running cmd (subprocess): e2label /var/lib/nova/instances/7d7714c9-32d6-40b0-887d-39f01cd026f2/disk execute /usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py:154
2014-11-21 19:02:04.286 4550 DEBUG nova.openstack.common.processutils [-] Result was 1 execute /usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py:187
2014-11-21 19:02:04.287 4550 DEBUG nova.openstack.common.lockutils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Released file lock "1e27979b5d17196c22c81dae87a66a059f534f59" at /var/lib/nova/instances/locks/nova-1e27979b5d17196c22c81dae87a66a059f534f59 lock /usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py:210
2014-11-21 19:02:04.288 4550 DEBUG nova.openstack.common.lockutils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Semaphore / lock released "copy_raw_image" inner /usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py:252
2014-11-21 19:02:05.202 4550 ERROR nova.compute.manager [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Instance failed to spawn
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Traceback (most recent call last):
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1737, in _spawn
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     block_device_info)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2287, in spawn
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     admin_pass=admin_password)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2656, in _create_image
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     project_id=instance['project_id'])
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 192, in cache
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     *args, **kwargs)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 350, in create_image
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     copy_raw_image(base, self.path, size)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 249, in inner
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     return f(*args, **kwargs)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 337, in copy_raw_image
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     disk.extend(target, size, use_cow=use_cow)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 155, in extend
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     if not is_image_partitionless(image, use_cow):
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 216, in is_image_partitionless
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     utils.execute('e2label', image)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/utils.py", line 165, in execute
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     return processutils.execute(*cmd, **kwargs)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 191, in execute
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     sanitized_stderr = strutils.mask_password(stderr)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/strutils.py", line 274, in mask_password
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     message = six.text_type(message)
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 41: ordinal not in range(12
2014-11-21 19:02:05.202 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]
2014-11-21 19:02:05.203 4550 DEBUG nova.compute.claims [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Aborting claim: [Claim: 8192 MB memory, 80 GB disk, 4 VCPUS] abort /usr/lib/python2.6/site-packages/nova/compute/claims.py:113
2014-11-21 19:02:05.204 4550 DEBUG nova.openstack.common.lockutils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Got semaphore "compute_resources" lock /usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py:168
2014-11-21 19:02:05.204 4550 DEBUG nova.openstack.common.lockutils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Got semaphore / lock "abort_instance_claim" inner /usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py:248
2014-11-21 19:02:05.243 4550 DEBUG nova.openstack.common.lockutils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Semaphore / lock released "abort_instance_claim" inner /usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py:252
2014-11-21 19:02:05.264 4550 DEBUG nova.compute.utils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] 'ascii' codec can't decode byte 0xe5 in position 41: ordinal not in range(12 notify_about_instance_usage /usr/lib/python2.6/site-packages/nova/compute/utils.py:336
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Traceback (most recent call last):
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1328, in _build_instance
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     set_access_ip=set_access_ip)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 393, in decorated_function
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     return function(self, context, *args, **kwargs)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1740, in _spawn
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     LOG.exception(_('Instance failed to spawn'), instance=instance)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     six.reraise(self.type_, self.value, self.tb)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1737, in _spawn
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     block_device_info)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2287, in spawn
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     admin_pass=admin_password)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2656, in _create_image
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     project_id=instance['project_id'])
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 192, in cache
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     *args, **kwargs)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 350, in create_image
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     copy_raw_image(base, self.path, size)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 249, in inner
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     return f(*args, **kwargs)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 337, in copy_raw_image
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     disk.extend(target, size, use_cow=use_cow)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 155, in extend
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     if not is_image_partitionless(image, use_cow):
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 216, in is_image_partitionless
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     utils.execute('e2label', image)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/utils.py", line 165, in execute
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     return processutils.execute(*cmd, **kwargs)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 191, in execute
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     sanitized_stderr = strutils.mask_password(stderr)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/strutils.py", line 274, in mask_password
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     message = six.text_type(message)
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 41: ordinal not in range(12
2014-11-21 19:02:05.264 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]
2014-11-21 19:02:05.266 4550 DEBUG nova.compute.manager [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Clean up resource before rescheduling. _reschedule_or_error /usr/lib/python2.6/site-packages/nova/compute/manager.py:1407
2014-11-21 19:02:05.266 4550 AUDIT nova.compute.manager [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Terminating instance
2014-11-21 19:02:05.272 4550 ERROR nova.virt.libvirt.driver [-] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] During wait destroy, instance disappeared.
2014-11-21 19:02:05.337 4550 DEBUG nova.objects.instance [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Lazy-loading `system_metadata' on Instance uuid 7d7714c9-32d6-40b0-887d-39f01cd026f2 obj_load_attr /usr/lib/python2.6/site-packages/nova/objects/instance.py:519
2014-11-21 19:02:05.483 4550 INFO nova.virt.libvirt.driver [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Deleting instance files /var/lib/nova/instances/7d7714c9-32d6-40b0-887d-39f01cd026f2
2014-11-21 19:02:05.485 4550 INFO nova.virt.libvirt.driver [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Deletion of /var/lib/nova/instances/7d7714c9-32d6-40b0-887d-39f01cd026f2 complete
2014-11-21 19:02:05.576 4550 DEBUG nova.compute.manager [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Deallocating network for instance _deallocate_network /usr/lib/python2.6/site-packages/nova/compute/manager.py:1790
2014-11-21 19:02:05.576 4550 DEBUG nova.network.neutronv2.api [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] deallocate_for_instance() for env1 deallocate_for_instance /usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py:408
2014-11-21 19:02:05.576 4550 DEBUG neutronclient.client [-]
REQ: curl -i http://10.0.0.10:9696/v2.0/ports ... 0-887d-39f01cd026f2 -X GET -H "X-Auth-Token: e013a49a4b794d27fb9c16d61b114405" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"
http_log_req /usr/lib/python2.6/site-packages/neutronclient/common/utils.py:173
2014-11-21 19:02:05.601 4550 DEBUG neutronclient.client [-] RESP:{'status': '200', 'content-length': '578', 'content-location': 'http://10.0.0.10:9696/v2.0/ports.json?device_id=7d7714c9-32d6-40b0-887d-39f01cd026f2', 'date': 'Fri, 21 Nov 2014 11:02:02 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-765e4c36-c574-457b-8e20-d8f24aeec6b6'} {"ports": [{"status": "DOWN", "name": "", "allowed_address_pairs": [], "admin_state_up": true, "network_id": "2e44e953-b6e8-4588-adbd-945f5355dbb6", "tenant_id": "651ebe6bb46f4302bfbe784cbfdcf24b", "extra_dhcp_opts": [], "binding:vnic_type": "normal", "device_owner": "compute:nova", "mac_address": "fa:16:3e:d5:c8:65", "fixed_ips": [{"subnet_id": "f7d6ed94-6dca-462b-a78b-d9f723ee033c", "ip_address": "10.0.0.36"}], "id": "2a0c3859-4d17-452a-b30e-d6ebfe4dd42c", "security_groups": ["02bb5a26-ccd4-4fe4-be41-689952dba6c3"], "device_id": "7d7714c9-32d6-40b0-887d-39f01cd026f2"}]}
http_log_resp /usr/lib/python2.6/site-packages/neutronclient/common/utils.py:179
2014-11-21 19:02:05.603 4550 DEBUG neutronclient.client [-]
REQ: curl -i http://10.0.0.10:9696/v2.0/ports/None.json -X PUT -H "X-Auth-Token: e013a49a4b794d27fb9c16d61b114405" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"port": {"device_owner": "", "device_id": ""}}'
http_log_req /usr/lib/python2.6/site-packages/neutronclient/common/utils.py:173
2014-11-21 19:02:05.609 4550 DEBUG neutronclient.client [-] RESP:{'date': 'Fri, 21 Nov 2014 11:02:02 GMT', 'status': '404', 'content-length': '52', 'content-type': 'text/plain; charset=UTF-8', 'x-openstack-request-id': 'req-d79aa7ef-8e76-4569-b220-a139c51f58f5'} 404 Not Found

The resource could not be found.

   
http_log_resp /usr/lib/python2.6/site-packages/neutronclient/common/utils.py:179
2014-11-21 19:02:05.610 4550 DEBUG neutronclient.v2_0.client [-] Error message: 404 Not Found

The resource could not be found.

    _handle_fault_response /usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py:1125
2014-11-21 19:02:05.610 4550 INFO nova.network.neutronv2.api [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Unable to reset device ID for port None
2014-11-21 19:02:05.611 4550 DEBUG neutronclient.client [-]
REQ: curl -i http://10.0.0.10:9696/v2.0/ports ... e-d6ebfe4dd42c.json -X DELETE -H "X-Auth-Token: e013a49a4b794d27fb9c16d61b114405" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"
http_log_req /usr/lib/python2.6/site-packages/neutronclient/common/utils.py:173
2014-11-21 19:02:05.725 4550 DEBUG neutronclient.client [-] RESP:{'date': 'Fri, 21 Nov 2014 11:02:02 GMT', 'status': '204', 'content-length': '0', 'x-openstack-request-id': 'req-eb9e472c-229f-4d73-b23f-f6c9781957b3'}
http_log_resp /usr/lib/python2.6/site-packages/neutronclient/common/utils.py:179
2014-11-21 19:02:05.726 4550 DEBUG nova.network.api [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Updating cache with info: [] update_instance_cache_with_nw_info /usr/lib/python2.6/site-packages/nova/network/api.py:81
2014-11-21 19:02:05.755 4550 DEBUG nova.compute.manager [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] terminating bdm <nova.objects.block_device.BlockDeviceMapping object at 0x489c990> _cleanup_volumes /usr/lib/python2.6/site-packages/nova/compute/manager.py:2183
2014-11-21 19:02:05.755 4550 DEBUG nova.compute.manager [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Re-scheduling run_instance: attempt 1 _reschedule /usr/lib/python2.6/site-packages/nova/compute/manager.py:1459
2014-11-21 19:02:05.847 4550 DEBUG nova.openstack.common.lockutils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Got semaphore "compute_resources" lock /usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py:168
2014-11-21 19:02:05.847 4550 DEBUG nova.openstack.common.lockutils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Got semaphore / lock "update_usage" inner /usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py:248
2014-11-21 19:02:05.847 4550 DEBUG nova.openstack.common.lockutils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] Semaphore / lock released "update_usage" inner /usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py:252
2014-11-21 19:02:05.852 4550 ERROR nova.compute.manager [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Error: 'ascii' codec can't decode byte 0xe5 in position 41: ordinal not in range(12
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Traceback (most recent call last):
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1328, in _build_instance
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     set_access_ip=set_access_ip)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 393, in decorated_function
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     return function(self, context, *args, **kwargs)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1740, in _spawn
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     LOG.exception(_('Instance failed to spawn'), instance=instance)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     six.reraise(self.type_, self.value, self.tb)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1737, in _spawn
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     block_device_info)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2287, in spawn
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     admin_pass=admin_password)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2656, in _create_image
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     project_id=instance['project_id'])
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 192, in cache
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     *args, **kwargs)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 350, in create_image
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     copy_raw_image(base, self.path, size)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 249, in inner
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     return f(*args, **kwargs)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 337, in copy_raw_image
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     disk.extend(target, size, use_cow=use_cow)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 155, in extend
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     if not is_image_partitionless(image, use_cow):
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 216, in is_image_partitionless
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     utils.execute('e2label', image)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/utils.py", line 165, in execute
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     return processutils.execute(*cmd, **kwargs)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 191, in execute
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     sanitized_stderr = strutils.mask_password(stderr)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/strutils.py", line 274, in mask_password
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     message = six.text_type(message)
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 41: ordinal not in range(12
2014-11-21 19:02:05.852 4550 TRACE nova.compute.manager [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]
2014-11-21 19:02:05.854 4550 DEBUG nova.compute.utils [req-e30995cf-e719-4127-b69a-8b820d19fb46 d901082f290144ac872eaaff66593730 651ebe6bb46f4302bfbe784cbfdcf24b] [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Build of instance 7d7714c9-32d6-40b0-887d-39f01cd026f2 was re-scheduled: 'ascii' codec can't decode byte 0xe5 in position 41: ordinal not in range(12 notify_about_instance_usage /usr/lib/python2.6/site-packages/nova/compute/utils.py:336
2014-11-21 19:02:05.854 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] Traceback (most recent call last):
2014-11-21 19:02:05.854 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1208, in _run_instance
2014-11-21 19:02:05.854 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     instance, image_meta, legacy_bdm_in_spec)
2014-11-21 19:02:05.854 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1378, in _build_instance
2014-11-21 19:02:05.854 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]     reason=unicode(exc_info[1]))
2014-11-21 19:02:05.854 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2] RescheduledException: Build of instance 7d7714c9-32d6-40b0-887d-39f01cd026f2 was re-scheduled: 'ascii' codec can't decode byte 0xe5 in position 41: ordinal not in range(12
2014-11-21 19:02:05.854 4550 TRACE nova.compute.utils [instance: 7d7714c9-32d6-40b0-887d-39f01cd026f2]

论坛徽章:
0
2 [报告]
发表于 2014-11-26 08:59 |只看该作者
哥们,我也不能创建,但是报错和你不一样。

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 10:16:53
3 [报告]
发表于 2015-03-18 18:18 |只看该作者
你就不能把你的关键配置发出来吗,直接贴个报错没人关注的,我也遇到过类似的问题。

最关键的是,解决了问题了就把问题原因也发出来,别TMD找到了解决办法,就不管三七二十一了,自己藏着掖着。最恨这种人。

论坛徽章:
0
4 [报告]
发表于 2015-05-21 15:54 |只看该作者
就TMD你这样,连礼数都不懂的人,有解决办法也TM不告诉你这种人
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP