← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1943710] Re: Terraform (parallel) instance creation results in failures to allocate port

 

[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]

** Changed in: nova
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1943710

Title:
  Terraform (parallel) instance creation results in failures to allocate
  port

Status in OpenStack Compute (nova):
  Expired

Bug description:
  Nova is throwing "Failed to allocate network(s): nova.exception.VirtualInterfaceCreateException: Virtual Interface creation failed" when terraform is used to create simple network simulations with a couple dozen networks and interfaces.
  ```
  Message
      Build of instance e03d7f7f-ab7f-4d7b-80c4-44212a476738 aborted: Failed to allocate the network(s), not rescheduling.
  Code
      500
  Details
      Traceback (most recent call last): File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/virt/libvirt/driver.py", line 7209, in _create_guest_with_network guest = self._create_guest( File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__ next(self.gen) File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/manager.py", line 479, in wait_for_instance_event actual_event = event.wait() File "/var/lib/kolla/venv/lib/python3.8/site-packages/eventlet/event.py", line 125, in wait result = hub.switch() File "/var/lib/kolla/venv/lib/python3.8/site-packages/eventlet/hubs/hub.py", line 313, in switch return self.greenlet.switch() eventlet.timeout.Timeout: 300 seconds During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/manager.py", line 2409, in _build_and_run_instance self.driver.spawn(context, instance, image_meta, File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/virt/libvirt/driver.py", line 4172, in spawn self._create_guest_with_network( File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/virt/libvirt/driver.py", line 7235, in _create_guest_with_network raise exception.VirtualInterfaceCreateException() nova.exception.VirtualInterfaceCreateException: Virtual Interface creation failed During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/manager.py", line 2232, in _do_build_and_run_instance self._build_and_run_instance(context, instance, image, File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/manager.py", line 2473, in _build_and_run_instance raise exception.BuildAbortException(instance_uuid=instance.uuid, nova.exception.BuildAbortException: Build of instance e03d7f7f-ab7f-4d7b-80c4-44212a476738 aborted: Failed to allocate the network(s), not rescheduling.
  ```
  The timeout makes me think MQ issues, but not seeing any rabbit errors in the logs.
  This is kolla-ansible-deployed Wallaby.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1943710/+subscriptions



References