← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1933802] Re: missing global_request_id in neutron_lib context from_dict method

 

Why is this a bug? I looked in the entire Neutron code.
global_request_id is only used once here:
https://github.com/openstack/neutron/blob/a33588b08639bd4bb78e632eb1fb2600a96aeb44/neutron/notifiers/nova.py#L83.
And it is generated. So how is the absence of global_request_id in the
Neutron context affecting you or your deployment?

** Changed in: neutron
       Status: In Progress => Opinion

** Changed in: neutron
   Importance: Undecided => Low

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

Title:
  missing global_request_id in neutron_lib context from_dict method

Status in neutron:
  Opinion

Bug description:
  code:
  @classmethod
  def from_dict(cls, values):
      return cls(user_id=values.get('user_id', values.get('user')),
      ¦   ¦   ¦  tenant_id=values.get('tenant_id', values.get('project_id')),
      ¦   ¦   ¦  is_admin=values.get('is_admin'),
      ¦   ¦   ¦  roles=values.get('roles'),
      ¦   ¦   ¦  timestamp=values.get('timestamp'),
      ¦   ¦   ¦  request_id=values.get('request_id'),
      ¦   ¦   ¦  #global_request_id=values.get('global_request_id'),
      ¦   ¦   ¦  tenant_name=values.get('tenant_name'),
      ¦   ¦   ¦  user_name=values.get('user_name'),
      ¦   ¦   ¦  auth_token=values.get('auth_token'))

  project: neutron_lib
  path: neutron_lib/context.py

  please note the comment line, which should have been passed.

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


References