yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87103
[Bug 1942344] Re: ovs2ovn migration tool fails using VALIDATE_MIGRATION=False
Reviewed: https://review.opendev.org/c/openstack/neutron/+/806942
Committed: https://opendev.org/openstack/neutron/commit/3c305bf6ae37bd26cda8545bb1a76302dc830dee
Submitter: "Zuul (22348)"
Branch: master
commit 3c305bf6ae37bd26cda8545bb1a76302dc830dee
Author: Roman Safronov <rsafrono@xxxxxxxxxx>
Date: Wed Sep 1 17:56:43 2021 +0300
Skip FIP check if VALIDATE_MIGRATION is not True
OVN migration script fails when VALIDATE_MIGRATION is not set to
True. oc_check_public_network should return successfully in case
VALIDATE_MIGRATION is set to False.
Closes bug: #1942344
Change-Id: Ibd0aea5b4e6bf44803d5d0100cacc17d401b03cc
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1942344
Title:
ovs2ovn migration tool fails using VALIDATE_MIGRATION=False
Status in neutron:
Fix Released
Bug description:
OVN Migration Script [1] Fails when MIGRATION_VALIDATE=False.
It doesn't work 100% of the time without a FIP.
[1] tools/ovn_migration/tripleo_environment/ovn_migration.sh
Steps to Reproduce:
1. VALIDATE_MIGRATION=False; export VALIDATE_MIGRATION
2. Execute /usr/bin/ovn_migration.sh generate-inventory
Actual results:
$ /usr/bin/ovn_migration.sh generate-inventory
/usr/bin/ovn_migration.sh: line 226: /home/stack/overcloudrc: No such file or directory
Error while executing command: No Network found for public
ERROR: PUBLIC_NETWORK_NAME=public can't be accessed by the
admin user, please fix that before continuing.
Expected results:
Script to execute without errors:
$ ./ovn_migration.sh generate-inventory
(tpa-vim-b) [stack@tpavimbuc ovn_migration]$ echo $?
0
The customer does not use floating IPs, this is why not all of the environment variables were set.
The OVN migration script should return successfully from oc_check_public_network in case MIGRATION_VALIDATE set to False.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1942344/+subscriptions
References