Open stack Ansible 23.1.0.dev35 VM launching errors

Laurent Dumont laurentfdumont at gmail.com
Fri Oct 8 13:14:18 UTC 2021


There are essentially two types of networks, vlan and vxlan, that can be
attached to a VM. Ideally, you want to look at the logs on the controllers
and the compute node.

Openstack-ansible seems to send stuff here
https://docs.openstack.org/openstack-ansible/mitaka/install-guide/ops-logging.html#:~:text=Finding%20logs,at%20%2Fopenstack%2Flog%2F
.

On Fri, Oct 8, 2021 at 9:05 AM Midhunlal Nb <midhunlaln66 at gmail.com> wrote:

> Hi Laurent,
> Thank you very much for your reply.we configured our network as per
> official document .Please take a look at below details.
> --->Controller node configured with below interfaces
> bond1,bond0,br-mgmt,br-vxlan,br-storage,br-vlan
>
> ---> Compute node
> bond1,bond0,br-mgmt,br-vxlan,br-storage
>
> I don't have much more experience in openstack,I think here we used vlan
> network.
>
> Thanks & Regards
> Midhunlal N B
> +918921245637
>
>
> On Fri, Oct 8, 2021 at 6:19 PM Laurent Dumont <laurentfdumont at gmail.com>
> wrote:
>
>> You will need to look at the neutron-server logs + the ovs/libviirt agent
>> logs on the compute. The error returned from the VM creation is not useful
>> most of the time.
>>
>> Was this a vxlan or vlan network?
>>
>> On Fri, Oct 8, 2021 at 8:45 AM Midhunlal Nb <midhunlaln66 at gmail.com>
>> wrote:
>>
>>> Hi team,
>>> -->Successfully I installed Openstack ansible 23.1.0.dev35.
>>> --->I logged in to  horizon and created a new network and launched a vm
>>> but I am getting an error.
>>>
>>> Error: Failed to perform requested operation on instance "hope", the
>>> instance has an error status: Please try again later [Error: Build of
>>> instance b6f42229-06d6-4365-8a20-07df869f1610 aborted: Failed to allocate
>>> the network(s), not rescheduling.].
>>>
>>> -->Then I checked log
>>>
>>> | fault                               | {'code': 500, 'created':
>>> '2021-10-08T12:26:44Z', 'message': 'Build of instance
>>> b6f42229-06d6-4365-8a20-07df869f1610 aborted: Failed to allocate the
>>> network(s), not rescheduling.', 'details': 'Traceback (most recent call
>>> last):\n  File
>>> "/openstack/venvs/nova-23.1.0.dev42/lib/python3.6/site-packages/nova/virt/libvirt/driver.py",
>>> line 7235, in _create_guest_with_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
>>> "/openstack/venvs/nova-23.1.0.dev42/lib/python3.6/site-packages/nova/compute/manager.py",
>>> line 479, in wait_for_instance_event\n    actual_event = event.wait()\n
>>>  File
>>> "/openstack/venvs/nova-23.1.0.dev42/lib/python3.6/site-packages/eventlet/event.py",
>>> line 125, in wait\n    result = hub.switch()\n  File
>>> "/openstack/venvs/nova-23.1.0.dev42/lib/python3.6/site-packages/eventlet/hubs/hub.py",
>>> line 313, in switch\n    return
>>> self.greenlet.switch()\neventlet.timeout.Timeout: 300 seconds\n\nDuring
>>> handling of the above exception, another exception occurred:\n\nTraceback
>>> (most recent call last):\n  File
>>> "/openstack/venvs/nova-23.1.0.dev42/lib/python3.6/site-packages/nova/compute/manager.py",
>>> line 2397, in _build_and_run_instance\n    accel_info=accel_info)\n  File
>>> "/openstack/venvs/nova-23.1.0.dev42/lib/python3.6/site-packages/nova/virt/libvirt/driver.py",
>>> line 4200, in spawn\n    cleanup_instance_disks=created_disks)\n  File
>>> "/openstack/venvs/nova-23.1.0.dev42/lib/python3.6/site-packages/nova/virt/libvirt/driver.py",
>>> line 7258, in _create_guest_with_network\n    raise
>>> exception.VirtualInterfaceCreateException()\nnova.exception.VirtualInterfaceCreateException:
>>> Virtual Interface creation failed\n\nDuring handling of the above
>>> exception, another exception occurred:\n\nTraceback (most recent call
>>> last):\n  File
>>> "/openstack/venvs/nova-23.1.0.dev42/lib/python3.6/site-packages/nova/compute/manager.py",
>>> line 2219, in _do_build_and_run_instance\n    filter_properties,
>>> request_spec, accel_uuids)\n  File
>>> "/openstack/venvs/nova-23.1.0.dev42/lib/python3.6/site-packages/nova/compute/manager.py",
>>> line 2458, in _build_and_run_instance\n
>>>  reason=msg)\nnova.exception.BuildAbortException: Build of instance
>>> b6f42229-06d6-4365-8a20-07df869f1610 aborted: Failed to allocate the
>>> network(s), not rescheduling.\n'} |
>>>
>>> Please help me with this error.
>>>
>>>
>>> Thanks & Regards
>>> Midhunlal N B
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211008/ea841ed3/attachment-0001.htm>


More information about the openstack-discuss mailing list