Unable to launch an OpenStack instance

Hey everyone,

I’m currently trying to deploy a single-node OpenStack instance based on this tutorial (MicroStack - Single-node quickstart), but I keep failing at the “Launch a VM” step. After running sunbeam launch ubuntu --name test all I get is:

Launching an OpenStack instance ...
Found sunbeam key in OpenStack!
⠋ Creating the OpenStack instance ... Instance creation request failed: Server:25a44608-a6e5-4821-898d-796df32cb335 transitioned to failure state ERROR
Error: Unable to request new instance. Please run `sunbeam configure` first.

The error suggest I run sunbeam configure first, which I did. Any help would be appreciated.

First step would be to run “openstack server list” and “openstack server show” on the server and see what the reported error is.

Sometimes that error is directly helpful and other times not, in which case, you may need to further look at the logs of the nova controller to understand the cause of the error.

Hey, I’m getting the same error:

and openstack server show returns:

fault                               | {'code': 500, 'created': '2024-08-08T09:29:25Z', 'message': 'Exceeded maximum number of retries. Exhausted all hosts available for  |
|                                     | retrying build failures for instance 35493070-6e7f-459b-95f4-f0f10fc293c7.'}

and checking deeper the logs nova service returning:

Instance failed network setup after 1 attempt(s): nova.exception.PortBindingFailed: Binding failed for port 124d16ed-b314-4a94-a00d-e430ee207614, please check neutron logs for more information.