Browse Source

[ffwd] Add legacy cinderv3 volume cleanup to postupgrade

The postupgrade tasks are now taking care of making the keystone
endpoints but they will fail on legacy cinder. We add the
removal of legacy cinderv3 volume entries to keystone postupgrade.

Resolves: rhbz#1960579
Change-Id: Idb3a11d6904c6c36eca9d415734ce27af49553f9
changes/11/791711/4
Lukas Bezdicka 3 months ago
committed by Jose Luis Franco
parent
commit
42a5f7f1be
  1. 10
      deployment/keystone/keystone-container-puppet.yaml

10
deployment/keystone/keystone-container-puppet.yaml

@ -855,6 +855,16 @@ outputs:
- keystone_short_bootstrap_node_name|lower == ansible_facts['hostname']|lower
delegate_to: undercloud
block: *keystone_generate_clouds
- name: Clean up legacy Cinder keystone catalog entries
delegate_to: undercloud
os_keystone_service:
cloud: {get_param: RootStackName}
name: cinderv3
service_type: volume
state: absent
when:
- step|int == 1
- keystone_short_bootstrap_node_name|lower == ansible_facts['hostname']|lower
- name: Run the keystone endpoint creation
when:
- step|int == 1

Loading…
Cancel
Save