← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1570226] [NEW] Glance service still sets tenant (which is an old name) and it should move to project_id in glance context object

 

Public bug reported:

following is the glance context information which still sets tenant and
it should set to project_id instead.

(Pdb) pprint(req.context.to_dict())

{'auth_token': '4fce43df6b7941c5860d8fce69ab8402',
 'domain': None,
 'is_admin': False,
 'project_domain': None,
 'read_only': False,
 'request_id': 'req-abc33de4-0471-431e-a6e8-f4becbe328ac',
 'resource_uuid': None,
 'roles': [u'self_service'],
 'show_deleted': False,
 'tenant': u'6dc691a7b3b94004ac9873b8c6a28e69',
 'user': u'e1c413a8e893d7e0edf4b838482f80ed9e91123747c2332d23618bf392d4501d',
 'user_domain': None,
 'user_identity': 'e1c413a8e893d7e0edf4b838482f80ed9e91123747c2332d23618bf392d4501d 6dc691a7b3b94004ac9873b8c6a28e69 - - -'}

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  Glance service still sets tenant (which is an old name) and it should
  move to project_id in glance context object

Status in Glance:
  New

Bug description:
  following is the glance context information which still sets tenant
  and it should set to project_id instead.

  (Pdb) pprint(req.context.to_dict())

  {'auth_token': '4fce43df6b7941c5860d8fce69ab8402',
   'domain': None,
   'is_admin': False,
   'project_domain': None,
   'read_only': False,
   'request_id': 'req-abc33de4-0471-431e-a6e8-f4becbe328ac',
   'resource_uuid': None,
   'roles': [u'self_service'],
   'show_deleted': False,
   'tenant': u'6dc691a7b3b94004ac9873b8c6a28e69',
   'user': u'e1c413a8e893d7e0edf4b838482f80ed9e91123747c2332d23618bf392d4501d',
   'user_domain': None,
   'user_identity': 'e1c413a8e893d7e0edf4b838482f80ed9e91123747c2332d23618bf392d4501d 6dc691a7b3b94004ac9873b8c6a28e69 - - -'}

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