Booting of the instance fails after ca 5 minutes:
Openstack server show output: +-------------------------------------+----------------------------------------+ [58/270] | Field | Value | +-------------------------------------+----------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | | | OS-EXT-SRV-ATTR:host | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | OS-EXT-SRV-ATTR:instance_name | instance-00000013 | | OS-EXT-STS:power_state | NOSTATE | | OS-EXT-STS:task_state | None | | OS-EXT-STS:vm_state | error | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | | | config_drive | | | created | 2020-11-24T10:36:46Z | | fault | {'code': 500, 'created': | | | '2020-11-24T10:42:02Z', 'message': | | | 'Build of instance | | | 08f4563b-65e3-4c4c-82e6-c03dd85fcd52 | | | aborted: Failed to allocate the | | | network(s), not rescheduling.', | | | 'details': 'Traceback (most recent | | | call last):\n File | | | "/usr/lib/python3/dist- | | | packages/nova/virt/libvirt/driver.py", | | | line 6529, in | | | _create_domain_and_network\n | | | post_xml_callback=post_xml_callback)\n | | | File | | | "/usr/lib/python3.6/contextlib.py", | | | line 88, in __exit__\n | | | next(self.gen)\n File | | | "/usr/lib/python3/dist- | | | packages/nova/compute/manager.py", | | | line 513, in wait_for_instance_event\n | | | actual_event = event.wait()\n File | | | "/usr/lib/python3/dist- | | | packages/eventlet/event.py", line 125, | | | in wait\n result = hub.switch()\n | [17/270] | | File "/usr/lib/python3/dist- | | | packages/eventlet/hubs/hub.py", line | | | 298, in switch\n return self.greenl | | | et.switch()\neventlet.timeout.Timeout: | | | 300 seconds\n\nDuring handling of the | | | above exception, another exception | | | occurred:\n\nTraceback (most recent | | | call last):\n File | | | "/usr/lib/python3/dist- | | | packages/nova/compute/manager.py", | | | line 2378, in | | | _build_and_run_instance\n | | | accel_info=accel_info)\n File | | | "/usr/lib/python3/dist- | | | packages/nova/virt/libvirt/driver.py", | | | line 3663, in spawn\n cleanup_insta | | | nce_disks=created_disks)\n File | | | "/usr/lib/python3/dist- | | | packages/nova/virt/libvirt/driver.py", | | | line 6552, in | | | _create_domain_and_network\n raise | | | exception.VirtualInterfaceCreateExcept | | | ion()\nnova.exception.VirtualInterface | | | CreateException: Virtual Interface | | | creation failed\n\nDuring handling of | | | the above exception, another exception | | | occurred:\n\nTraceback (most recent | | | call last):\n File | | | "/usr/lib/python3/dist- | | | packages/nova/compute/manager.py", | | | line 2200, in | | | _do_build_and_run_instance\n | | | filter_properties, request_spec, | | | accel_uuids)\n File | | | "/usr/lib/python3/dist- | | | packages/nova/compute/manager.py", | | | line 2444, in | | | _build_and_run_instance\n reason=ms | | | g)\nnova.exception.BuildAbortException | | | : Build of instance | | | 08f4563b-65e3-4c4c-82e6-c03dd85fcd52 | | | aborted: Failed to allocate the | | | network(s), not rescheduling.\n'} | | flavor | m1.small (2) | | hostId | | | id | 08f4563b-65e3-4c4c-82e6-c03dd85fcd52 | | image | bionic-kvm | | | (05248f14-6743-491d-86eb-f2f2a87ec491) | | key_name | ubuntu-keypair | | name | sriov-vf1 | | project_id | f5d50a5fd64f41daa8cae4bb157f5d17 | | properties | | | status | ERROR | | updated | 2020-11-24T10:42:02Z | | user_id | 83b934a85ea945bd9e0229fe880e6fc9 | | volumes_attached | | +-------------------------------------+----------------------------------------+
Booting of the instance fails after ca 5 minutes:
Openstack server show output: ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- --+ [58/270] ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- --+ AZ:availability _zone | | SRV-ATTR: host | None | SRV-ATTR: hypervisor_ hostname | None | SRV-ATTR: instance_ name | instance-00000013 | STS:power_ state | NOSTATE | STS:task_ state | None | USG:launched_ at | None | USG:terminated_ at | None | 24T10:36: 46Z | 24T10:42: 02Z', 'message': | 65e3-4c4c- 82e6-c03dd85fcd 52 | python3/ dist- | nova/virt/ libvirt/ driver. py", | domain_ and_network\ n | callback= post_xml_ callback) \n | python3. 6/contextlib. py", | python3/ dist- | nova/compute/ manager. py", | instance_ event\n | python3/ dist- | eventlet/ event.py" , line 125, | python3/ dist- | eventlet/ hubs/hub. py", line | )\neventlet. timeout. Timeout: | \n\nTraceback (most recent | python3/ dist- | nova/compute/ manager. py", | and_run_ instance\ n | accel_info) \n File | python3/ dist- | nova/virt/ libvirt/ driver. py", | created_ disks)\ n File | python3/ dist- | nova/virt/ libvirt/ driver. py", | domain_ and_network\ n raise | VirtualInterfac eCreateExcept | exception. VirtualInterfac e | \n\nTraceback (most recent | python3/ dist- | nova/compute/ manager. py", | and_run_ instance\ n | python3/ dist- | nova/compute/ manager. py", | and_run_ instance\ n reason=ms | exception. BuildAbortExcep tion | 65e3-4c4c- 82e6-c03dd85fcd 52 | 65e3-4c4c- 82e6-c03dd85fcd 52 | 6743-491d- 86eb-f2f2a87ec4 91) | aa8cae4bb157f5d 17 | 24T10:42: 02Z | d9e0229fe880e6f c9 | ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- --+
+------
| Field | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | error |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| addresses | |
| config_drive | |
| created | 2020-11-
| fault | {'code': 500, 'created': |
| | '2020-11-
| | 'Build of instance |
| | 08f4563b-
| | aborted: Failed to allocate the |
| | network(s), not rescheduling.', |
| | 'details': 'Traceback (most recent |
| | call last):\n File |
| | "/usr/lib/
| | packages/
| | line 6529, in |
| | _create_
| | post_xml_
| | File |
| | "/usr/lib/
| | line 88, in __exit__\n |
| | next(self.gen)\n File |
| | "/usr/lib/
| | packages/
| | line 513, in wait_for_
| | actual_event = event.wait()\n File |
| | "/usr/lib/
| | packages/
| | in wait\n result = hub.switch()\n | [17/270]
| | File "/usr/lib/
| | packages/
| | 298, in switch\n return self.greenl |
| | et.switch(
| | 300 seconds\n\nDuring handling of the |
| | above exception, another exception |
| | occurred:
| | call last):\n File |
| | "/usr/lib/
| | packages/
| | line 2378, in |
| | _build_
| | accel_info=
| | "/usr/lib/
| | packages/
| | line 3663, in spawn\n cleanup_insta |
| | nce_disks=
| | "/usr/lib/
| | packages/
| | line 6552, in |
| | _create_
| | exception.
| | ion()\nnova.
| | CreateException: Virtual Interface |
| | creation failed\n\nDuring handling of |
| | the above exception, another exception |
| | occurred:
| | call last):\n File |
| | "/usr/lib/
| | packages/
| | line 2200, in |
| | _do_build_
| | filter_properties, request_spec, |
| | accel_uuids)\n File |
| | "/usr/lib/
| | packages/
| | line 2444, in |
| | _build_
| | g)\nnova.
| | : Build of instance |
| | 08f4563b-
| | aborted: Failed to allocate the |
| | network(s), not rescheduling.\n'} |
| flavor | m1.small (2) |
| hostId | |
| id | 08f4563b-
| image | bionic-kvm |
| | (05248f14-
| key_name | ubuntu-keypair |
| name | sriov-vf1 |
| project_id | f5d50a5fd64f41d
| properties | |
| status | ERROR |
| updated | 2020-11-
| user_id | 83b934a85ea945b
| volumes_attached | |
+------