Launch an instance on the provider network

Bug #2052689 reported by Maik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
In Progress
Undecided
Elod Illes

Bug Description

Hello everyone, I am currently using OpenStack 2023.1 (Antelope) on my test environment. I followed the instructions for install and am now having problems creating the instances.
I am currently at the following step in the OpenStack instructions.

"Lauch the Instance | Step one"
https://docs.openstack.org/install-guide/launch-instance-provider.html

When executing the following command i get the error:

openstack server create --flavor m1.nano --image cirros --security-group default --key-name mykey provider-instance
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'> (HTTP 500) (Request-ID: req-bf2ce0c5-c363-460e-870d-92a47bce7888)

I use Network Example 1 and i only have one Network therefore the --nic is not needed.

Output nova-api.log:
2024-02-08 09:41:39.618 1983 INFO nova.osapi_compute.wsgi.server [-] 10.133.0.121 "GET /v2.1 HTTP/1.1" status: 200 len: 783 time: 0.0016150
2024-02-08 09:41:40.086 1983 WARNING keystoneauth.identity.generic.base [None req-f2b5c2d3-1a2e-4f8d-bde0-b9f7b10fa538 2c432a70a1094a9e8e85479ae6817054 3b5592be09dd46278be548c08cfa0bf5 - - default default] Failed to discover available identity versions when contacting https://controller/identity. Attempting to parse version from URL.: keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to https://controller/identity: HTTPSConnectionPool(host='controller', port=443): Max retries exceeded with url: /identity (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0fe307b130>: Failed to establish a new connection: [Errno 111] ECONNREFUSED'))
2024-02-08 09:41:40.087 1983 INFO nova.api.openstack.wsgi [None req-f2b5c2d3-1a2e-4f8d-bde0-b9f7b10fa538 2c432a70a1094a9e8e85479ae6817054 3b5592be09dd46278be548c08cfa0bf5 - - default default] HTTP exception thrown: Block Device Mapping is Invalid: failed to get image c6225692-26c1-45d8-b82a-41b8f704b24f.

dpkg -l | grep nova:
ii nova-api 3:27.1.0-0ubuntu1~cloud0 all OpenStack Compute - API frontend
ii nova-common 3:27.1.0-0ubuntu1~cloud0 all OpenStack Compute - common files
ii nova-compute 3:27.1.0-0ubuntu1~cloud0 all OpenStack Compute - compute node base
ii nova-compute-kvm 3:27.1.0-0ubuntu1~cloud0 all OpenStack Compute - compute node (KVM)
ii nova-compute-libvirt 3:27.1.0-0ubuntu1~cloud0 all OpenStack Compute - compute node libvirt support
ii nova-conductor 3:27.1.0-0ubuntu1~cloud0 all OpenStack Compute - conductor service
ii nova-novncproxy 3:27.1.0-0ubuntu1~cloud0 all OpenStack Compute - NoVNC proxy
ii nova-scheduler 3:27.1.0-0ubuntu1~cloud0 all OpenStack Compute - virtual machine scheduler
ii python3-nova 3:27.1.0-0ubuntu1~cloud0 all OpenStack Compute Python 3 libraries
ii python3-novaclient 2:18.3.0-0ubuntu1~cloud0 all client library for OpenStack Compute API - 3.x

I cant use KVM therefore i use QEMU.

If someone could help me, that would be really great.
I am new to the OpenStack cosmos.

Revision history for this message
Elod Illes (elod-illes) wrote :

Hi Maik,

This problem seems to be not Nova related, rather some configuration issue. The error message [1] you added indicates that Keystone (Identity service) is not reachable (should be done based on this description [2]).
This is probably due to - as far as I can see - Keystone is missing from the installation guide [3].

I'll reroute this bug towards OpenStack Manual and propose a fix there.

[1]
2024-02-08 09:41:40.086 1983 WARNING keystoneauth.identity.generic.base [None req-f2b5c2d3-1a2e-4f8d-bde0-b9f7b10fa538 2c432a70a1094a9e8e85479ae6817054 3b5592be09dd46278be548c08cfa0bf5 - - default default] Failed to discover available identity versions when contacting https://controller/identity. Attempting to parse version from URL.: keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to https://controller/identity: HTTPSConnectionPool(host='controller', port=443): Max retries exceeded with url: /identity (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0fe307b130>: Failed to establish a new connection: [Errno 111] ECONNREFUSED'))

[2] https://docs.openstack.org/keystone/2023.1/install/
[3] https://docs.openstack.org/2023.1/install/

affects: nova → openstack-manuals
Changed in openstack-manuals:
status: New → Confirmed
assignee: nobody → Elod Illes (elod-illes)
Changed in openstack-manuals:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.