← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1933802] [NEW] missing global_request_id in neutron_lib context from_dict method

 

Public bug reported:

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.

** 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/1933802

Title:
  missing global_request_id in neutron_lib context from_dict method

Status in neutron:
  New

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


Follow ups