Glance service still sets tenant (which is an old name) and it should move to project_id in glance context object
Bug #1570226 reported by
Praveen Kapoor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Praveen Kapoor |
Bug Description
following is the glance context information which still sets tenant and it should set to project_id instead.
(Pdb) pprint(
{'auth_token': '4fce43df6b7941
'domain': None,
'is_admin': False,
'project_domain': None,
'read_only': False,
'request_id': 'req-abc33de4-
'resource_uuid': None,
'roles': [u'self_service'],
'show_deleted': False,
'tenant': u'6dc691a7b3b94
'user': u'e1c413a8e893d
'user_domain': None,
'user_identity': 'e1c413a8e893d7
Changed in glance: | |
assignee: | nobody → Praveen Kapoor (pravkapo) |
To post a comment you must log in.
Keystone authtoken continues to set the old headers for backward compatibility:
https:/ /github. com/openstack/ keystonemiddlew are/blob/ master/ keystonemiddlew are/auth_ token/_ request. py#L159 /github. com/openstack/ keystonemiddlew are/blob/ master/ keystonemiddlew are/auth_ token/_ request. py#L100
https:/
and glance context continues to use the older terminology
https:/ /github. com/openstack/ glance/ blob/master/ glance/ api/middleware/ context. py#L131
But glance use tenant in more than just context; so all those places also would need to be fixed: