在 depoloying openstack ansible 之后启动我的第一个虚拟机。
实例 7a91b5e8-23cc-4ec3-9178-aada6a302a4a 的构建已中止:图像 272e3979-c387-4651-84e5-1adcdebfa955 不可接受:图像没有关联数据
回溯(最近调用最后):文件“/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova/compute/manager.py”,第 2489 行,在 _build_and_run_instance self.driver.spawn (上下文,实例,image_meta,文件“/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova/virt/libvirt/driver.py”,第 4306 行,在 spawn created_instance_dir,created_disks = self._create_image( 文件“/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova/virt/libvirt/driver.py”, line 4701, in _create_image created_disks = self._create_and_inject_local_root( File “/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova/virt/libvirt/driver.py”,第 4829 行,在 _create_and_inject_local_root self._try_fetch_image_cache(后端,fetch_func,上下文,文件“ /openstack/venvs/nova-25.2.0/lib/python3。10/site-packages/nova/virt/libvirt/driver.py”,第 10621 行,在 _try_fetch_image_cache image.cache(fetch_func=fetch_func,文件“/openstack/venvs/nova-25.2.0/lib/python3.10/site -packages/nova/virt/libvirt/imagebackend.py", line 274, in cache self.create_image(fetch_func_sync, base, size, File "/openstack/venvs/nova-25.2.0/lib/python3.10/site- packages/nova/virt/libvirt/imagebackend.py”,第 638 行,在 create_image prepare_template(target=base, *args, **kwargs) 文件“/openstack/venvs/nova-25.2.0/lib/python3.10/ site-packages/oslo_concurrency/lockutils.py”,第 391 行,在内部返回 f(*args, **kwargs) 文件“/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova /virt/libvirt/imagebackend.py”,第 271 行,在 fetch_func_sync fetch_func(target=target, *args, **kwargs) 文件“/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova/virt/libvirt/utils.py”,第 395 行,在 fetch_image images.fetch_to_raw(context, image_id, target, trusted_certs) 文件“/openstack/venvs/nova-25.2 .0/lib/python3.10/site-packages/nova/virt/images.py”,第 115 行,在 fetch_to_raw fetch(context, image_href, path_tmp, trusted_certs) 文件“/openstack/venvs/nova-25.2.0/ lib/python3.10/site-packages/nova/virt/images.py”,第 105 行,在 fetch IMAGE_API.download(context, image_href, dest_path=path, File “/openstack/venvs/nova-25.2.0/lib /python3.10/site-packages/nova/image/glance.py", line 1298, in download return session.download(context, image_id, data=data, File "/openstack/venvs/nova-25.2.0/lib /python3.10/site-packages/nova/image/glance.py”,第 384 行,在下载中引发异常。ImageUnacceptable(image_id=image_id, nova.exception。ImageUnacceptable: Image 272e3979-c387-4651-84e5-1adcdebfa955 is acceptable: Image has no associated data 在处理上述异常的过程中,又发生了一个异常:Traceback (most recent call last): File "/openstack/venvs/nova-25.2. 0/lib/python3.10/site-packages/nova/compute/manager.py”,第 2312 行,在 _do_build_and_run_instance self._build_and_run_instance(context, instance, image, File “/openstack/venvs/nova-25.2.0/lib /python3.10/site-packages/nova/compute/manager.py”,第 2574 行,在 _build_and_run_instance 引发异常。BuildAbortException(instance_uuid=instance.uuid,nova.exception.BuildAbortException:构建实例 7a91b5e8-23cc-4ec3-9178 -aada6a302a4a 中止:图像 272e3979-c387-4651-84e5-1adcdebfa955 不可接受:图像没有关联数据Image 272e3979-c387-4651-84e5-1adcdebfa955 is acceptable: Image has no associated data 在处理上述异常的过程中,又出现了异常: Traceback (most recent call last): File "/openstack/venvs/nova-25.2.0/ lib/python3.10/site-packages/nova/compute/manager.py”,第 2312 行,在 _do_build_and_run_instance self._build_and_run_instance(context, instance, image, File “/openstack/venvs/nova-25.2.0/lib/python3 .10/site-packages/nova/compute/manager.py”,第 2574 行,在 _build_and_run_instance 引发异常。BuildAbortException(instance_uuid=instance.uuid,nova.exception.BuildAbortException:构建实例 7a91b5e8-23cc-4ec3-9178-aada6a302a4a中止:图像 272e3979-c387-4651-84e5-1adcdebfa955 不可接受:图像没有关联数据Image 272e3979-c387-4651-84e5-1adcdebfa955 is acceptable: Image has no associated data 在处理上述异常的过程中,又出现了异常: Traceback (most recent call last): File "/openstack/venvs/nova-25.2.0/ lib/python3.10/site-packages/nova/compute/manager.py”,第 2312 行,在 _do_build_and_run_instance self._build_and_run_instance(context, instance, image, File “/openstack/venvs/nova-25.2.0/lib/python3 .10/site-packages/nova/compute/manager.py”,第 2574 行,在 _build_and_run_instance 引发异常。BuildAbortException(instance_uuid=instance.uuid,nova.exception.BuildAbortException:构建实例 7a91b5e8-23cc-4ec3-9178-aada6a302a4a中止:图像 272e3979-c387-4651-84e5-1adcdebfa955 不可接受:图像没有关联数据Image has no associated data 在处理上述异常的过程中,又出现了一个异常:Traceback (most recent call last): File "/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova/compute /manager.py”,第 2312 行,在 _do_build_and_run_instance self._build_and_run_instance(context, instance, image, File “/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova/compute/manager. py”,第 2574 行,在 _build_and_run_instance 引发异常。BuildAbortException(instance_uuid=instance.uuid,nova.exception.BuildAbortException:构建实例 7a91b5e8-23cc-4ec3-9178-aada6a302a4a 中止:图像 272e3979-c387-4651-84efa5-1不可接受:图像没有关联数据Image has no associated data 在处理上述异常的过程中,又出现了一个异常:Traceback (most recent call last): File "/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova/compute /manager.py”,第 2312 行,在 _do_build_and_run_instance self._build_and_run_instance(context, instance, image, File “/openstack/venvs/nova-25.2.0/lib/python3.10/site-packages/nova/compute/manager. py”,第 2574 行,在 _build_and_run_instance 引发异常。BuildAbortException(instance_uuid=instance.uuid,nova.exception.BuildAbortException:构建实例 7a91b5e8-23cc-4ec3-9178-aada6a302a4a 中止:图像 272e3979-c387-4651-84efa5-1不可接受:图像没有关联数据10/site-packages/nova/compute/manager.py”,第 2312 行,在 _do_build_and_run_instance self._build_and_run_instance(context, instance, image, File “/openstack/venvs/nova-25.2.0/lib/python3.10/site -packages/nova/compute/manager.py”,第 2574 行,在 _build_and_run_instance 引发异常。BuildAbortException(instance_uuid=instance.uuid,nova.exception.BuildAbortException:构建实例 7a91b5e8-23cc-4ec3-9178-aada6a302a4a 中止:图像 272e3979 -c387-4651-84e5-1adcdebfa955 是不可接受的:图像没有关联数据10/site-packages/nova/compute/manager.py”,第 2312 行,在 _do_build_and_run_instance self._build_and_run_instance(context, instance, image, File “/openstack/venvs/nova-25.2.0/lib/python3.10/site -packages/nova/compute/manager.py”,第 2574 行,在 _build_and_run_instance 引发异常。BuildAbortException(instance_uuid=instance.uuid,nova.exception.BuildAbortException:构建实例 7a91b5e8-23cc-4ec3-9178-aada6a302a4a 中止:图像 272e3979 -c387-4651-84e5-1adcdebfa955 是不可接受的:图像没有关联数据nova.exception.BuildAbortException:实例 7a91b5e8-23cc-4ec3-9178-aada6a302a4a 的构建中止:图像 272e3979-c387-4651-84e5-1adcdebfa955 是不可接受的:图像没有关联数据nova.exception.BuildAbortException:实例 7a91b5e8-23cc-4ec3-9178-aada6a302a4a 的构建中止:图像 272e3979-c387-4651-84e5-1adcdebfa955 是不可接受的:图像没有关联数据
图片:cirros-0.5.1-x86_64-disk.img
风味:m1.small(2Gb 内存,1 个 cpu,30gb 磁盘)
问题出在 /etc/neutron/plugin/ml2/ml2_conf.ini physical_interface_mappings=flat:eth12 更改为我用于中子的 eno4。