kolla-ansible/ansible/roles/neutron/tasks/upgrade.yml
Michal Nasiadka 031859764a neutron: add service role
After Neutron policy changes - Octavia jobs started
to fail on cascade LB deletion due to Neutron user
not having service role.

Closes-Bug: #2065337

Change-Id: I616bf3a3dbb4d963665b1621a9e5e9d417b13942
2024-05-09 19:22:15 +00:00

16 lines
455 B
YAML

---
- import_tasks: neutron_plugin_agent_check.yml
- include_tasks: rolling_upgrade.yml
when: neutron_enable_rolling_upgrade | bool
- include_tasks: legacy_upgrade.yml
when: not neutron_enable_rolling_upgrade | bool
# TODO(mnasiadka): Remove this task in the E cycle.
- import_role:
name: service-ks-register
vars:
service_ks_register_auth: "{{ openstack_neutron_auth }}"
service_ks_register_user_roles: "{{ neutron_ks_user_roles }}"