yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #93435
[Bug 2052689] [NEW] Launch an instance on the provider network
Public bug reported:
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.
** Affects: nova
Importance: Undecided
Status: New
--
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/2052689
Title:
Launch an instance on the provider network
Status in OpenStack Compute (nova):
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2052689/+subscriptions
Follow ups