tripleo-heat-templates/releasenotes/notes/cinder-v1-cleanup-7154ca07652804cf.yaml
Alan Bishop 99220e0ca6 [FFU] Remove cinder's v1 keystone service
Remove cinder's "volume" (API v1) service from the keystone catalog.
This fixes a post-FFU bug that causes keystone endpoint validation to
fail. Cinder stopped supporting its v1 API in queens, but tripleo
retained the "volume" service (with API v3 endpoints) to work around
a bug in the version of tempest used in queens (see [1] for details).
The endpoint validation fails because the "volume" and "volume3" servces
share the same v3 endpoints.

[1] https://review.opendev.org/#/q/If1ef8b1ad60151c0dfd0a7804ba7e697fc4ede28

The patch was tested locally:
- Confirm a fresh deployment (with patch) succeeds
- Manually create "volume" service with "cinderv3" endpoints. This
  replicates the post-FFU scenario
- Perform a stack update (succeeds), and confirm the "volume" service
  has been deleted

Final note: The ansible task that removes the "volume" service is a
deployment (not upgrade) task. This ensures the service is removed from
overcloud deployments that already performed the FFU.

Closes-Bug: #1897761
Change-Id: Ic0eb72f78e2a19e2f40ab12631a872d828bab46a
(cherry picked from commit 0fdef46ea0)
2020-10-09 16:36:15 +00:00

12 lines
452 B
YAML

---
upgrade:
- |
Cinder's legacy "volume" service and its associated endpoints are
automatically removed from the keystone catalog. The "volume" service is
associated with Cinder's v1 API, which was removed in Queens.
fixes:
- |
The keystone catalog is automatically updated to remove any entries
associated with Cinder's v1 API "volume" service. This fixes bug
`1897761 <https://bugs.launchpad.net/tripleo/+bug/1897761>`_.