From f726cfd9982bf6a5250859f3ecfcacf018159b99 Mon Sep 17 00:00:00 2001 From: Konstantin Yarovoy Date: Thu, 7 Apr 2022 13:16:15 +0200 Subject: Add container engine migration scenario MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add "migrate-container-engine" action to kolla-ansible which changes the container engine on which the Openstack is deployed on. For example Docker to Podman and vice versa. Depends-on: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/925083 Signed-off-by: Konstantin Yarovoy Signed-off-by: Martin Hiner Signed-off-by: Roman KrĨek Change-Id: Icd709cb042d44e063c5da64ab0695b0b6ba6d48b --- ansible/migrate-container-engine.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ansible/migrate-container-engine.yml (limited to 'ansible/migrate-container-engine.yml') diff --git a/ansible/migrate-container-engine.yml b/ansible/migrate-container-engine.yml new file mode 100644 index 000000000..4a3ccb55e --- /dev/null +++ b/ansible/migrate-container-engine.yml @@ -0,0 +1,21 @@ +--- +- import_playbook: gather-facts.yml + vars: + kolla_action: migrate-container-engine + +- name: Prepare the Openstack migration + hosts: baremetal + gather_facts: false + roles: + - role: container-engine-migration + +- name: Migrate the Openstack + vars: + kolla_action: deploy + migration_flag: + import_playbook: site.yml + tags: redeploy + +- name: Verify the migration + import_playbook: post-deploy.yml + tags: post -- cgit v1.2.3