yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49683
[Bug 1572055] [NEW] Run command "nova boot ..." raise "keystoneclient.exceptions.DiscoveryFailure"
Public bug reported:
[root@controller2 ~]# nova flavor-list
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
[root@controller2 ~]# neutron net-list
+--------------------------------------+---------+-----------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+-----------------------------------------------------+
| dd38c21b-3ef0-4b67-8ccf-9d7f2d07c65b | public | 5680ce7d-f796-45f4-9eba-b2f3679412bb 10.0.20.0/24 |
| 8858fa32-6c48-4bad-9c46-f435b1dee400 | private | 7383ebeb-eb50-4e5d-8ae5-82ebfdb2ba03 192.168.8.0/24 |
+--------------------------------------+---------+-----------------------------------------------------+
[root@controller2 ~]# nova boot --flavor m1.small --image cirros --nic net-id=8858fa32-6c48-4bad-9c46-f435b1dee400 --security-group default --key-name mykey private-instance
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneclient.exceptions.DiscoveryFailure'> (HTTP 500) (Request-ID: req-42bcb9bc-44db-4442-894e-79f6a5b98412)
Here is some log in my nova-api.log:
2016-04-19 17:38:19.998 2269 INFO nova.osapi_compute.wsgi.server [req-cc721bde-5e15-4b46-9ad1-37d15c9facc1 c647066b9fb248af85f3af547a1e4f9c d37e5a0f63564641b
e9ffe65e3aed887 - - -] 10.0.20.12 "GET /v2/d37e5a0f63564641be9ffe65e3aed887/flavors?is_public=None HTTP/1.1" status: 200 len: 1407 time: 0.0291429
2016-04-19 17:38:20.028 2269 INFO nova.osapi_compute.wsgi.server [req-d8005687-7a32-42da-806c-6eb026f3a8d9 c647066b9fb248af85f3af547a1e4f9c d37e5a0f63564641b
e9ffe65e3aed887 - - -] 10.0.20.12 "GET /v2/d37e5a0f63564641be9ffe65e3aed887/flavors/2 HTTP/1.1" status: 200 len: 618 time: 0.0244541
2016-04-19 17:38:27.751 2269 WARNING keystoneclient.auth.identity.generic.base [req-a1b416be-398e-4e13-8fd2-3308c4fa2826 c647066b9fb248af85f3af547a1e4f9c d37
e5a0f63564641be9ffe65e3aed887 - - -] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version
from URL.
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions [req-a1b416be-398e-4e13-8fd2-3308c4fa2826 c647066b9fb248af85f3af547a1e4f9c d37e5a0f63564641b
e9ffe65e3aed887 - - -] Unexpected exception in API method
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wra
pped
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapp
er
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapp
er
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, i
n create
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions **create_kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1581, in create
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1181, in _create_instance
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions auto_disk_config, reservation_id, max_count)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions pci_request_info, requested_networks)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions neutron = get_client(context, admin=True)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions auth_token = _ADMIN_AUTH.get_token(_SESSION)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions return self.get_access(session).auth_token
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions self.auth_ref = self.get_auth_ref(session)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 184, in get_auth_ref
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions self._plugin = self._do_create_plugin(session)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 180, in _do_create_plugin
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions raise exceptions.DiscoveryFailure(msg)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions DiscoveryFailure: Could not determine a suitable URL for the plugin
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions
2016-04-19 17:38:27.754 2269 INFO nova.api.openstack.wsgi [req-a1b416be-398e-4e13-8fd2-3308c4fa2826 c647066b9fb248af85f3af547a1e4f9c d37e5a0f63564641be9ffe65e3aed887 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneclient.exceptions.DiscoveryFailure'>
It's run on Centos 7.1 , liberty Openstack , any body can help me ?
Thanks.
** 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/1572055
Title:
Run command "nova boot ..." raise
"keystoneclient.exceptions.DiscoveryFailure"
Status in OpenStack Compute (nova):
New
Bug description:
[root@controller2 ~]# nova flavor-list
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
[root@controller2 ~]# neutron net-list
+--------------------------------------+---------+-----------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+-----------------------------------------------------+
| dd38c21b-3ef0-4b67-8ccf-9d7f2d07c65b | public | 5680ce7d-f796-45f4-9eba-b2f3679412bb 10.0.20.0/24 |
| 8858fa32-6c48-4bad-9c46-f435b1dee400 | private | 7383ebeb-eb50-4e5d-8ae5-82ebfdb2ba03 192.168.8.0/24 |
+--------------------------------------+---------+-----------------------------------------------------+
[root@controller2 ~]# nova boot --flavor m1.small --image cirros --nic net-id=8858fa32-6c48-4bad-9c46-f435b1dee400 --security-group default --key-name mykey private-instance
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneclient.exceptions.DiscoveryFailure'> (HTTP 500) (Request-ID: req-42bcb9bc-44db-4442-894e-79f6a5b98412)
Here is some log in my nova-api.log:
2016-04-19 17:38:19.998 2269 INFO nova.osapi_compute.wsgi.server [req-cc721bde-5e15-4b46-9ad1-37d15c9facc1 c647066b9fb248af85f3af547a1e4f9c d37e5a0f63564641b
e9ffe65e3aed887 - - -] 10.0.20.12 "GET /v2/d37e5a0f63564641be9ffe65e3aed887/flavors?is_public=None HTTP/1.1" status: 200 len: 1407 time: 0.0291429
2016-04-19 17:38:20.028 2269 INFO nova.osapi_compute.wsgi.server [req-d8005687-7a32-42da-806c-6eb026f3a8d9 c647066b9fb248af85f3af547a1e4f9c d37e5a0f63564641b
e9ffe65e3aed887 - - -] 10.0.20.12 "GET /v2/d37e5a0f63564641be9ffe65e3aed887/flavors/2 HTTP/1.1" status: 200 len: 618 time: 0.0244541
2016-04-19 17:38:27.751 2269 WARNING keystoneclient.auth.identity.generic.base [req-a1b416be-398e-4e13-8fd2-3308c4fa2826 c647066b9fb248af85f3af547a1e4f9c d37
e5a0f63564641be9ffe65e3aed887 - - -] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version
from URL.
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions [req-a1b416be-398e-4e13-8fd2-3308c4fa2826 c647066b9fb248af85f3af547a1e4f9c d37e5a0f63564641b
e9ffe65e3aed887 - - -] Unexpected exception in API method
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wra
pped
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapp
er
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapp
er
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, i
n create
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions **create_kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1581, in create
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1181, in _create_instance
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions auto_disk_config, reservation_id, max_count)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 955, in _validate_and_build_base_options
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions pci_request_info, requested_networks)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1059, in create_pci_requests_for_sriov_ports
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions neutron = get_client(context, admin=True)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions auth_token = _ADMIN_AUTH.get_token(_SESSION)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions return self.get_access(session).auth_token
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions self.auth_ref = self.get_auth_ref(session)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 184, in get_auth_ref
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions self._plugin = self._do_create_plugin(session)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 180, in _do_create_plugin
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions raise exceptions.DiscoveryFailure(msg)
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions DiscoveryFailure: Could not determine a suitable URL for the plugin
2016-04-19 17:38:27.752 2269 ERROR nova.api.openstack.extensions
2016-04-19 17:38:27.754 2269 INFO nova.api.openstack.wsgi [req-a1b416be-398e-4e13-8fd2-3308c4fa2826 c647066b9fb248af85f3af547a1e4f9c d37e5a0f63564641be9ffe65e3aed887 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneclient.exceptions.DiscoveryFailure'>
It's run on Centos 7.1 , liberty Openstack , any body can help me ?
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1572055/+subscriptions
Follow ups