yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70000
[Bug 1738729] [NEW] keystoneclient.exceptions.EndpointNotFound
Public bug reported:
The nova-api service give this error to me when I tryed to create an
instance.
My openstack release is Liberty,Network module is neutron(Provider
networks).I had check all my config files,but nothing can made this
work.
Finally I tryed to update nova componets,It works.
But There is another problem,Throuh the cmd lines created an
instance,the lines must be:
nova boot --flavor m1.tiny --image cirros --security-group default
--key-name mykey public-instance
The command lines can't include "--nic" Item.If include this item,the instance will be created fail.In the log of nova-api will output these messages:
---------------------------------------------------------------------------------------------------
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions [req-ac12c942-a2e8-4ad2-a905-9beadb052ebf 34400c494f91427ba0ed68aadd008a70 8dc0a0aa960d41a69cf114a3883fd085 - - -] Unexpected exception in API method
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 611, in create
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions **create_kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1587, in create
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1187, in _create_instance
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions auto_disk_config, reservation_id, max_count)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 961, in _validate_and_build_base_options
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions pci_request_info, requested_networks)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1092, in create_pci_requests_for_sriov_ports
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions neutron = get_client(context, admin=True)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in get_client
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions auth_token = _ADMIN_AUTH.get_token(_SESSION)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return self.get_access(session).auth_token
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions self.auth_ref = self.get_auth_ref(session)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/generic/base.py", line 184, in get_auth_ref
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions self._plugin = self._do_create_plugin(session)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/generic/base.py", line 139, in _do_create_plugin
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions authenticated=False)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 400, in get_discovery
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions authenticated=authenticated)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/_discover.py", line 142, in __init__
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions authenticated=authenticated)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/_discover.py", line 40, in get_version_data
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions resp = session.get(url, headers=headers, authenticated=authenticated)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 493, in get
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return self.request(url, 'GET', **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 328, in request
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions raise exceptions.EndpointNotFound()
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions EndpointNotFound
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions
---------------------------------------------------------------------------------------------------
** 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/1738729
Title:
keystoneclient.exceptions.EndpointNotFound
Status in OpenStack Compute (nova):
New
Bug description:
The nova-api service give this error to me when I tryed to create an
instance.
My openstack release is Liberty,Network module is neutron(Provider
networks).I had check all my config files,but nothing can made this
work.
Finally I tryed to update nova componets,It works.
But There is another problem,Throuh the cmd lines created an
instance,the lines must be:
nova boot --flavor m1.tiny --image cirros --security-group default
--key-name mykey public-instance
The command lines can't include "--nic" Item.If include this item,the instance will be created fail.In the log of nova-api will output these messages:
---------------------------------------------------------------------------------------------------
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions [req-ac12c942-a2e8-4ad2-a905-9beadb052ebf 34400c494f91427ba0ed68aadd008a70 8dc0a0aa960d41a69cf114a3883fd085 - - -] Unexpected exception in API method
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 611, in create
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions **create_kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1587, in create
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1187, in _create_instance
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions auto_disk_config, reservation_id, max_count)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 961, in _validate_and_build_base_options
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions pci_request_info, requested_networks)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1092, in create_pci_requests_for_sriov_ports
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions neutron = get_client(context, admin=True)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in get_client
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions auth_token = _ADMIN_AUTH.get_token(_SESSION)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 200, in get_token
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return self.get_access(session).auth_token
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 240, in get_access
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions self.auth_ref = self.get_auth_ref(session)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/generic/base.py", line 184, in get_auth_ref
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions self._plugin = self._do_create_plugin(session)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/generic/base.py", line 139, in _do_create_plugin
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions authenticated=False)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 400, in get_discovery
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions authenticated=authenticated)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/_discover.py", line 142, in __init__
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions authenticated=authenticated)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/_discover.py", line 40, in get_version_data
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions resp = session.get(url, headers=headers, authenticated=authenticated)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 493, in get
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return self.request(url, 'GET', **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 337, in inner
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 328, in request
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions raise exceptions.EndpointNotFound()
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions EndpointNotFound
2017-12-18 14:12:28.613 27413 ERROR nova.api.openstack.extensions
---------------------------------------------------------------------------------------------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1738729/+subscriptions
Follow ups