yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87380
[Bug 1946535] [NEW] Segment plugin disabled delete network will raise exception
Public bug reported:
Segment plugin is disabled
then try to delete network
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 476, in fire_timers
timer()
File "/usr/local/lib/python3.6/site-packages/eventlet/hubs/timer.py", line 59, in __call__
cb(*args, **kw)
File "/usr/local/lib/python3.6/site-packages/neutron/common/utils.py", line 905, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/neutron/notifiers/batch_notifier.py", line 58, in synced_send
self._notify()
File "/usr/local/lib/python3.6/site-packages/neutron/notifiers/batch_notifier.py", line 69, in _notify
self.callback(batched_events)
File "/usr/local/lib/python3.6/site-packages/neutron/services/segments/plugin.py", line 211, in _send_notifications
event.method(event)
File "/usr/local/lib/python3.6/site-packages/neutron/services/segments/plugin.py", line 379, in _delete_nova_inventory
aggregate_id = self._get_aggregate_id(event.segment_id)
File "/usr/local/lib/python3.6/site-packages/neutron/services/segments/plugin.py", line 367, in _get_aggregate_id
segment_id)['aggregates'][0]
File "/usr/local/lib/python3.6/site-packages/neutron_lib/placement/client.py", line 57, in wrapper
return f(self, *a, **k)
File "/usr/local/lib/python3.6/site-packages/neutron_lib/placement/client.py", line 553, in list_aggregates
return self._get(url).json()
File "/usr/local/lib/python3.6/site-packages/neutron_lib/placement/client.py", line 190, in _get
**kwargs)
File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 1141, in get
return self.request(url, 'GET', **kwargs)
File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 812, in request
**endpoint_filter)
File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 1241, in get_endpoint
auth = self._auth_required(auth, 'determine endpoint URL')
File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 1181, in _auth_required
raise exceptions.MissingAuthPlugin(msg_fmt % msg)
keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1946535
Title:
Segment plugin disabled delete network will raise exception
Status in neutron:
New
Bug description:
Segment plugin is disabled
then try to delete network
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 476, in fire_timers
timer()
File "/usr/local/lib/python3.6/site-packages/eventlet/hubs/timer.py", line 59, in __call__
cb(*args, **kw)
File "/usr/local/lib/python3.6/site-packages/neutron/common/utils.py", line 905, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/neutron/notifiers/batch_notifier.py", line 58, in synced_send
self._notify()
File "/usr/local/lib/python3.6/site-packages/neutron/notifiers/batch_notifier.py", line 69, in _notify
self.callback(batched_events)
File "/usr/local/lib/python3.6/site-packages/neutron/services/segments/plugin.py", line 211, in _send_notifications
event.method(event)
File "/usr/local/lib/python3.6/site-packages/neutron/services/segments/plugin.py", line 379, in _delete_nova_inventory
aggregate_id = self._get_aggregate_id(event.segment_id)
File "/usr/local/lib/python3.6/site-packages/neutron/services/segments/plugin.py", line 367, in _get_aggregate_id
segment_id)['aggregates'][0]
File "/usr/local/lib/python3.6/site-packages/neutron_lib/placement/client.py", line 57, in wrapper
return f(self, *a, **k)
File "/usr/local/lib/python3.6/site-packages/neutron_lib/placement/client.py", line 553, in list_aggregates
return self._get(url).json()
File "/usr/local/lib/python3.6/site-packages/neutron_lib/placement/client.py", line 190, in _get
**kwargs)
File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 1141, in get
return self.request(url, 'GET', **kwargs)
File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 812, in request
**endpoint_filter)
File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 1241, in get_endpoint
auth = self._auth_required(auth, 'determine endpoint URL')
File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 1181, in _auth_required
raise exceptions.MissingAuthPlugin(msg_fmt % msg)
keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1946535/+subscriptions
Follow ups