← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1973783] Re: [devstack] Segment plugin reports Traceback as placement client not configured

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1973783

Title:
  [devstack] Segment plugin reports Traceback as placement client not
  configured

Status in neutron:
  Fix Released

Bug description:
  Following Traceback is reported although the job passes but creates a
  noise in logs, so should be cleared:-

  
  May 17 12:08:25.056617 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]: DEBUG neutron_lib.callbacks.manager [None req-01d22b64-1fbc-4578-8cc2-c6565188c424 admin admin] Publish callbacks ['neutron.plugins.ml2.plugin.Ml2Plugin._handle_segment_change-1048155', 'neutron.services.segments.plugin.NovaSegmentNotifier._notify_segment_deleted-1983453', 'neutron.services.segments.plugin.NovaSegmentNotifier._notify_segment_deleted-4888895'] for segment (45896f0b-13b1-4cfc-ab32-297a8d8dae05), after_delete {{(pid=72995) _notify_loop /usr/local/lib/python3.8/dist-packages/neutron_lib/callbacks/manager.py:176}}
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]: Traceback (most recent call last):
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/eventlet/hubs/hub.py", line 476, in fire_timers
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     timer()
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/eventlet/hubs/timer.py", line 59, in __call__
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     cb(*args, **kw)
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/common/utils.py", line 922, in wrapper
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return func(*args, **kwargs)
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/notifiers/batch_notifier.py", line 58, in synced_send
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     self._notify()
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/notifiers/batch_notifier.py", line 69, in _notify
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     self.callback(batched_events)
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/services/segments/plugin.py", line 211, in _send_notifications
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     event.method(event)
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/services/segments/plugin.py", line 383, in _delete_nova_inventory
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     aggregate_id = self._get_aggregate_id(event.segment_id)
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/services/segments/plugin.py", line 370, in _get_aggregate_id
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     aggregate_uuid = self.p_client.list_aggregates(
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/neutron_lib/placement/client.py", line 58, in wrapper
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return f(self, *a, **k)
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/neutron_lib/placement/client.py", line 554, in list_aggregates
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return self._get(url).json()
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/neutron_lib/placement/client.py", line 190, in _get
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return self._client.get(url, endpoint_filter=self._ks_filter,
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/keystoneauth1/session.py", line 1141, in get
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return self.request(url, 'GET', **kwargs)
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/keystoneauth1/session.py", line 811, in request
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     base_url = self.get_endpoint(auth, allow=allow,
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/keystoneauth1/session.py", line 1241, in get_endpoint
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     auth = self._auth_required(auth, 'determine endpoint URL')
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/keystoneauth1/session.py", line 1181, in _auth_required
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     raise exceptions.MissingAuthPlugin(msg_fmt % msg)
  May 17 12:08:25.069453 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]: Traceback (most recent call last):
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/eventlet/hubs/hub.py", line 476, in fire_timers
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     timer()
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/eventlet/hubs/timer.py", line 59, in __call__
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     cb(*args, **kw)
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/common/utils.py", line 922, in wrapper
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return func(*args, **kwargs)
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/notifiers/batch_notifier.py", line 58, in synced_send
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     self._notify()
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/notifiers/batch_notifier.py", line 69, in _notify
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     self.callback(batched_events)
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/services/segments/plugin.py", line 211, in _send_notifications
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     event.method(event)
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/services/segments/plugin.py", line 383, in _delete_nova_inventory
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     aggregate_id = self._get_aggregate_id(event.segment_id)
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/opt/stack/neutron/neutron/services/segments/plugin.py", line 370, in _get_aggregate_id
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     aggregate_uuid = self.p_client.list_aggregates(
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/neutron_lib/placement/client.py", line 58, in wrapper
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return f(self, *a, **k)
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/neutron_lib/placement/client.py", line 554, in list_aggregates
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return self._get(url).json()
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/neutron_lib/placement/client.py", line 190, in _get
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return self._client.get(url, endpoint_filter=self._ks_filter,
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/keystoneauth1/session.py", line 1141, in get
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     return self.request(url, 'GET', **kwargs)
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/keystoneauth1/session.py", line 811, in request
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     base_url = self.get_endpoint(auth, allow=allow,
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/keystoneauth1/session.py", line 1241, in get_endpoint
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     auth = self._auth_required(auth, 'determine endpoint URL')
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:   File "/usr/local/lib/python3.8/dist-packages/keystoneauth1/session.py", line 1181, in _auth_required
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]:     raise exceptions.MissingAuthPlugin(msg_fmt % msg)
  May 17 12:08:25.071826 nested-virt-ubuntu-focal-ovh-bhs1-0029671721 neutron-server[72995]: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL

  Ex. log:-
  https://8430494fc120d4e2add1-92777588630241a74fd2839fb5cc6a5d.ssl.cf5.rackcdn.com/841118/1/gate/neutron-
  tempest-plugin-scenario-openvswitch/92d6c29/controller/logs/screen-q-
  svc.txt

  This is happening as placement client is not configured with devstack
  deployments.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1973783/+subscriptions



References