API version not automatically updated to v3 when upgrading to Queens
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Keystone Charm |
New
|
Undecided
|
Unassigned |
Bug Description
The keystone charm config says that:
preferred-
description: |
Use this keystone api version for keystone endpoints and advertise this
version to identity client charms. For OpenStack releases < Queens this
option defaults to 2; for Queens or later it defaults to 3.
However, when upgrading from Pike to Queens the api_version relation data key does not get updated:
$ juju run -u keystone/1 -- relation-get -r81 api_version keystone/1
2
This causes inconsistencies in template rendering. For example, the [keystone_
[keystone_
auth_type = password
auth_uri = http://<keystone vip>:5000/v3
auth_url = http://<keystone vip>:35357/v3
project_domain_name =
user_domain_name =
project_name = services
This breaks the glance API, and causes (for example) image listing to fail.
The workaround is to explicitly set preferred-