创建映像时出现Openstack(packstack centos7)错误

时间:2019-01-11 00:33:12

标签: centos7 openstack

我使用packstack centos7重新安装了openstack,在尝试创建映像时遇到错误,并且不确定原因。我尝试将“创建新卷”设置为“是”和“否”进行创建。我还检查了服务器上的可用空间,看起来不错。


[root@localhost ~(keystone_admin)]# df -h
Filesystem                    Size  Used Avail Use% Mounted on
/dev/mapper/centos-root        15G  5.4G  9.7G  36% /
devtmpfs                       24G     0   24G   0% /dev
tmpfs                          24G  4.0K   24G   1% /dev/shm
tmpfs                          24G   98M   24G   1% /run
tmpfs                          24G     0   24G   0% /sys/fs/cgroup
/dev/loop0                    1.9G  6.1M  1.7G   1% /srv/node/swiftloopback
/dev/sda1                    1014M  243M  772M  24% /boot
/dev/mapper/centos-home       9.4G   33M  9.3G   1% /home
/dev/mapper/centos-openstack  150G   16G  135G  11% /mnt/openstack
tmpfs      

               4.7G     0  4.7G   0% /run/user/0 

调度程序的日志

2019-01-11 10:32:16.576 7190 ERROR cinder.scheduler.filter_scheduler [req-ae6e2af6-769c-4ff9-b057-d7089dc0c355 fd8f1acd147f44ea994c1b8f006343ce 6bbc8052ec724507b6a9fe09540adc9c - default default] Error scheduling None from last vol-service: localhost.localdomain@lvm#lvm : [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task\n    result = task.execute(**arguments)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 1021, in execute\n    **volume_spec)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 930, in _create_from_image\n    image_service)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 813, in _create_from_image_cache_or_download\n    backend_name) as tmp_image:\n', u'  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__\n    return self.gen.next()\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/image_utils.py", line 757, in fetch\n    fetch_verify_image(context, image_service, image_id, tmp)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/image_utils.py", line 370, in fetch_verify_image\n    None, None)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/image_utils.py", line 302, in fetch\n    image_service.download(context, image_id, image_file)\n', u'  File "/usr/lib/python2.7/site-packages/cinder/image/glance.py", line 329, in download\n    for chunk in image_chunks:\n', u"TypeError: 'NoneType' object is not iterable\n"]
2019-01-11 10:32:16.578 7190 INFO cinder.message.api [req-ae6e2af6-769c-4ff9-b057-d7089dc0c355 fd8f1acd147f44ea994c1b8f006343ce 6bbc8052ec724507b6a9fe09540adc9c - default default] Creating message record for request_id = req-ae6e2af6-769c-4ff9-b057-d7089dc0c355
2019-01-11 10:32:16.587 7190 ERROR cinder.scheduler.flows.create_volume [req-ae6e2af6-769c-4ff9-b057-d7089dc0c355 fd8f1acd147f44ea994c1b8f006343ce 6bbc8052ec724507b6a9fe09540adc9c - default default] Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid backend was found. Exceeded max scheduling attempts 3 for volume None: NoValidBackend: No valid backend was found. Exceeded max scheduling attempts 3 for volume None

Message
No valid host was found.
Code
500
Details
File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 1145, in schedule_and_build_instances instance_uuids, return_alternates=True) File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 742, in _schedule_instances return_alternates=return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 787, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call retry=self.retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send raise result
Created
Jan. 10, 2019, 3:11 a.m.

0 个答案:

没有答案