Browse Source

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)
changes/08/754008/1
Jakub Libosvar 10 months ago
parent
commit
0621e9d29e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/ovn_migration/tripleo_environment/playbooks/roles/migration/tasks/sync-dbs.yml

+ 1
- 1
tools/ovn_migration/tripleo_environment/playbooks/roles/migration/tasks/sync-dbs.yml 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


Loading…
Cancel
Save