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>
This commit is contained in:
Jakub Libosvar 2020-09-10 11:45:31 +02:00
parent 215a541bd4
commit 4b30dc2330
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
---
- name: Get the neutron container ID
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
- name: Sync neutron db with OVN db (container) - Run 1