← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1942344] [NEW] ovs2ovn migration tool fails using VALIDATE_MIGRATION=False

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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:
  New

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



Follow ups