OSA uses deprecated tenant_id for endpoints in catalog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| openstack-ansible |
Low
|
Luke Short |
Bug Description
Per the keystone releate notes, which say
"Keystone supports $(project_id)s in the catalog. It works the same as $(tenant_id)s. Use of $(tenant_id)s is deprecated and catalog endpoints should be updated to use $(project_id)s."
All mentions of tenant_id to configure endpoints should be changed to project_id. I've pasted all mentions of "%(tenant_id" in the roles:
grep -ER '%\(tenant_id' *
os_cinder/
os_cinder/
os_cinder/
os_cinder/
os_cinder/
os_cinder/
os_designate/
os_heat/
os_heat/
os_heat/
os_horizon/
os_horizon/
os_horizon/
os_neutron/
os_neutron/
os_nova/
os_nova/
os_nova/
os_sahara/
os_sahara/
os_sahara/
os_swift/
os_swift/
os_swift/
os_trove/
os_trove/
os_trove/
description: | updated |
Please also note that the policy.json files are fetched from upstream, and the fixes should be included there.
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Luke Short (ekultails) wrote : | #3 |
All references to "%(tenant_id)s" appear to be gone, except for in the Octavia LBaaS variables.
$ grep tenant_id group_vars/
octavia_
I can find no trace of "%(project_id)s" in OpenStack-Ansible now, either. Is this no longer required for the Keystone endpoints in Pike (or, at least, not a standard anymore)? Also, should we remove the "%(tenant_id)s" part for Octavia or should that be changed to "%(project_id)s"? Considering that everything else has dropped the tenant/project ID requirement I am leaning towards the removal of that from the Octavia service.
Fix proposed to branch: master
Review: https:/
Changed in openstack-ansible: | |
assignee: | nobody → Luke Short (ekultails) |
status: | Confirmed → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 20fdfb971645483
Author: ekultails <email address hidden>
Date: Mon Mar 12 19:26:10 2018 -0400
Update all references from the deprecated tenant_id to project_id.
Keystone v3 has been out for a long time now and uses the new project_id variable for the API endpoints.
Change-Id: I62619ac94b0deb
Closes-Bug: 1651521
Changed in openstack-ansible: | |
status: | In Progress → Fix Released |
Fair point, and thanks for the list :)
I'm adding this as low-hanging-fruit.