I tried to create an instance and just when the IP from the selected network should be assigned to the instance, it fails. Of course, an IP is given, but it seems that it cannot create the interface and assign it inside the machine
(I have built machines in esxi and configured with kolla ansible multi node)
Does have anyone idea ?
|
| fault | {'code': 500, 'created': '2024-05-14T12:31:44Z', 'message': 'Build of instance 96447a00-8068-4f8d-86a2-d844775666d7 aborted: Failed to allocate the network(s), not rescheduling.', 'details': 'Traceback (most recent call last):n File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 8006, in _create_guest_with_networkn with self.virtapi.wait_for_instance_event(n File "/usr/lib/python3.10/contextlib.py", line 142, in exitn next(self.gen)n File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 559, in wait_for_instance_eventn self._wait_for_instance_events(n File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 471, in _wait_for_instance_eventsn actual_event = event.wait()n File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 436, in waitn instance_event = self.event.wait()n File "/var/lib/kolla/venv/lib/python3.10/site-packages/eventlet/event.py", line 124, in waitn result = hub.switch()n File "/var/lib/kolla/venv/lib/python3.10/site-packages/eventlet/hubs/hub.py", line 310, in switchn return self.greenlet.switch()neventlet.timeout.Timeout: 300 secondsnnDuring handling of the above exception, another exception occurred:nnTraceback (most recent call last):n File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 2632, in _build_and_run_instancen self.driver.spawn(context, instance, image_meta,n File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 4646, in spawnn self._create_guest_with_network(n File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/virt/libvirt/driver.py", line 8032, in _create_guest_with_networkn raise exception.VirtualInterfaceCreateException()nnova.exception.VirtualInterfaceCreateException: Virtual Interface creation failednnDuring handling of the above exception, another exception occurred:nnTraceback (most recent call last):n File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 2447, in _do_build_and_run_instancen self._build_and_run_instance(context, instance, image,n File "/var/lib/kolla/venv/lib/python3.10/site-packages/nova/compute/manager.py", line 2696, in _build_and_run_instancen raise exception.BuildAbortException(instance_uuid=instance.uuid,nnova.exception.BuildAbortException: Build of instance 96447a00-8068-4f8d-86a2-d844775666d7 aborted: Failed to allocate the network(s), not rescheduling.n'} |
| flavor | mini-01 (c4389879-f009-4ade-825b-757960228f94)
openstack server create
–image cirros-0.6.2
–flavor mini-01
–network 10.0.0.0/24
Test1
New contributor
sajad mazaheri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.