Drop cell1 upgrade to template format

This task has been added for upgrade purposes only and
can be safely removed.

Change-Id: I9df6503c0e45b2f6b88e64e61048026df325c865
This commit is contained in:
Dmitriy Rabotyagov 2022-01-26 19:59:47 +02:00
parent 9b465cb823
commit 1fba5e3712

View File

@ -85,15 +85,3 @@
failed_when: "nova_cell1_create.rc not in [0, 2]"
changed_when: "nova_cell1_create.rc == 0"
when: "_cell_uuid.rc == 1"
# TODO(noonedeadpunk): Remove this task in X release
- name: "Upgrade {{ nova_cell1_name }} to use template for connection"
command: >-
{{ nova_bin }}/nova-manage cell_v2 update_cell
--cell_uuid {{ _cell_uuid['stdout'].split()[3] }}
--database_connection {scheme}://{username}:{password}@{hostname}:{port}/{path}?{query}
--transport-url {scheme}://{username}:{password}@{hostname}:{port}//{path}?{query}
become: yes
become_user: "{{ nova_system_user_name }}"
changed_when: false
when: "_cell_uuid.rc == 0"