I do get both those messages followed by an exception error message:
EndpointNotFound: Could not find requested endpoint for any of the following interfaces: ['internal', 'public']
With this traceback from oslo.messaging.server:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
res = self.dispatcher.dispatch(message)
File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 220, in dispatch
return self._do_dispatch(endpoint, method, ctxt, args)
File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 190, in _do_dispatch
result = func(ctxt, **new_args)
File "/opt/stack/nova/nova/exception_wrapper.py", line 76, in wrapped
function_name, call_dict, binary)
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/nova/nova/exception_wrapper.py", line 67, in wrapped
return f(self, context, *args, **kw)
File "/opt/stack/nova/nova/compute/manager.py", line 186, in decorated_function
"Error: %s", e, instance=instance)
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/nova/nova/compute/manager.py", line 156, in decorated_function
return function(self, context, *args, **kwargs)
File "/opt/stack/nova/nova/compute/utils.py", line 985, in decorated_function
return function(self, context, *args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 214, in decorated_function
kwargs['instance'], e, sys.exc_info())
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/nova/nova/compute/manager.py", line 202, in decorated_function
return function(self, context, *args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 2616, in stop_instance
do_stop_instance()
File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
return f(*args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 2598, in do_stop_instance
"power_off.start")
File "/opt/stack/nova/nova/compute/manager.py", line 1647, in _notify_about_instance_usage
extra_usage_info=extra_usage_info, fault=fault)
File "/opt/stack/nova/nova/compute/utils.py", line 325, in notify_about_instance_usage
network_info, system_metadata, **extra_usage_info)
File "/opt/stack/nova/nova/notifications/base.py", line 398, in info_from_instance
context)
File "/opt/stack/nova/nova/image/api.py", line 65, in generate_image_url
return "%s/images/%s" % (next(glance.get_api_servers(context)),
File "/opt/stack/nova/nova/image/glance.py", line 126, in get_api_servers
endpoint = utils.get_endpoint(ksa_adap)
File "/opt/stack/nova/nova/utils.py", line 1335, in get_endpoint
"interfaces: %s" % interfaces)
EndpointNotFound: Could not find requested endpoint for any of the following interfaces: ['internal', 'public']
All services seem to be listed under public when using the command "openstack endpoint list", so I'm not sure where it's going wrong.
I do get both those messages followed by an exception error message:
EndpointNotFound: Could not find requested endpoint for any of the following interfaces: ['internal', 'public']
With this traceback from oslo.messaging. server:
Traceback (most recent call last): python2. 7/site- packages/ oslo_messaging/ rpc/server. py", line 163, in _process_incoming .dispatch( message) python2. 7/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 220, in dispatch dispatch( endpoint, method, ctxt, args) python2. 7/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 190, in _do_dispatch nova/nova/ exception_ wrapper. py", line 76, in wrapped python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) nova/nova/ exception_ wrapper. py", line 67, in wrapped nova/nova/ compute/ manager. py", line 186, in decorated_function python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) nova/nova/ compute/ manager. py", line 156, in decorated_function nova/nova/ compute/ utils.py" , line 985, in decorated_function nova/nova/ compute/ manager. py", line 214, in decorated_function 'instance' ], e, sys.exc_info()) python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) nova/nova/ compute/ manager. py", line 202, in decorated_function nova/nova/ compute/ manager. py", line 2616, in stop_instance stop_instance( ) python2. 7/site- packages/ oslo_concurrenc y/lockutils. py", line 274, in inner nova/nova/ compute/ manager. py", line 2598, in do_stop_instance off.start" ) nova/nova/ compute/ manager. py", line 1647, in _notify_ about_instance_ usage usage_info= extra_usage_ info, fault=fault) nova/nova/ compute/ utils.py" , line 325, in notify_ about_instance_ usage nova/nova/ notifications/ base.py" , line 398, in info_from_instance nova/nova/ image/api. py", line 65, in generate_image_url get_api_ servers( context) ), nova/nova/ image/glance. py", line 126, in get_api_servers endpoint( ksa_adap) nova/nova/ utils.py" , line 1335, in get_endpoint
File "/usr/lib/
res = self.dispatcher
File "/usr/lib/
return self._do_
File "/usr/lib/
result = func(ctxt, **new_args)
File "/opt/stack/
function_name, call_dict, binary)
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/opt/stack/
return f(self, context, *args, **kw)
File "/opt/stack/
"Error: %s", e, instance=instance)
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/opt/stack/
return function(self, context, *args, **kwargs)
File "/opt/stack/
return function(self, context, *args, **kwargs)
File "/opt/stack/
kwargs[
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/opt/stack/
return function(self, context, *args, **kwargs)
File "/opt/stack/
do_
File "/usr/lib/
return f(*args, **kwargs)
File "/opt/stack/
"power_
File "/opt/stack/
extra_
File "/opt/stack/
network_info, system_metadata, **extra_usage_info)
File "/opt/stack/
context)
File "/opt/stack/
return "%s/images/%s" % (next(glance.
File "/opt/stack/
endpoint = utils.get_
File "/opt/stack/
"interfaces: %s" % interfaces)
EndpointNotFound: Could not find requested endpoint for any of the following interfaces: ['internal', 'public']
All services seem to be listed under public when using the command "openstack endpoint list", so I'm not sure where it's going wrong.