ovn migration: Fix neutron server container name

Previously docker command used grep to search for neutron server
container. It used image name instead of container name. With the switch
to podman, it stopped working. This patch fixes the container name.

Change-Id: Id650c2e7ac427dd53ebaab4e6d95d54efc657e3f
Closes-bug: #1895108
Signed-off-by: Jakub Libosvar <libosvar@redhat.com>
(cherry picked from commit 4b30dc2330)
This commit is contained in:
Jakub Libosvar 2020-09-10 11:45:31 +02:00
parent 1432654a78
commit 0621e9d29e
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
--- ---
- name: Get the neutron container ID - name: Get the neutron container ID
shell: shell:
podman ps --filter "name=neutron-server-ovn" --format {% raw %}"{{.ID}}"{% endraw %} podman ps --filter "name=neutron_api" --format {% raw %}"{{.ID}}"{% endraw %}
register: neutron_id register: neutron_id
- name: Sync neutron db with OVN db (container) - Run 1 - name: Sync neutron db with OVN db (container) - Run 1