← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1928450] [NEW] ovn_migration.sh script doesn't detect neutron_dhcp agents when they run on a different node than neutron_api

 

Public bug reported:

Description of problem:
hosts_for_migration/[ovn-dbs] host group is populated wrongly and doesn't consider neutron_dhcp containers running elsewhere than neutron_server. 

Version-Release number of selected component (if applicable):
python3-networking-ovn-migration-tool-7.3.1-1.20200902233413.el8ost.noarch (RHOS 16.1.3)

How reproducible:
always

Steps to Reproduce:
1. Install overcloud with split control plane having neutron_dhcp and neutron_api running on distinct nodes
2.
3.

Actual results:
[ovn-dbs]
ctrl-net-c-01 ansible_host=10.0.37.45 ovn_central=true ansible_ssh_user=stack ansible_become=true
ctrl-net-c-02 ansible_host=10.0.37.21 ansible_ssh_user=stack ansible_become=true
ctrl-net-c-03 ansible_host=10.0.36.66 ansible_ssh_user=stack ansible_become=true
ctrl-net-c-04 ansible_host=10.0.37.139 ansible_ssh_user=stack ansible_become=true

[ovn-controllers]
compute-net-c-001 ansible_host=10.0.36.225 ansible_ssh_user=stack ansible_become=true ovn_controller=true
compute-net-c-002 ansible_host=10.0.36.152 ansible_ssh_user=stack ansible_become=true ovn_controller=true
ctrl-nova-c-01 ansible_host=10.0.37.104 ansible_ssh_user=stack ansible_become=true ovn_controller=true
ctrl-nova-c-02 ansible_host=10.0.37.15 ansible_ssh_user=stack ansible_become=true ovn_controller=true
ctrl-nova-c-03 ansible_host=10.0.37.8 ansible_ssh_user=stack ansible_become=true ovn_controller=true


Expected results:
[ovn-dbs]
compute-net-c-001 ansible_host=10.0.36.225 ansible_ssh_user=stack ansible_become=true
compute-net-c-002 ansible_host=10.0.36.152 ansible_ssh_user=stack ansible_become=true


[ovn-controllers]
compute-net-c-001 ansible_host=10.0.36.225 ansible_ssh_user=stack ansible_become=true ovn_controller=true
compute-net-c-002 ansible_host=10.0.36.152 ansible_ssh_user=stack ansible_become=true ovn_controller=true
ctrl-nova-c-01 ansible_host=10.0.37.104 ansible_ssh_user=stack ansible_become=true ovn_controller=true
ctrl-nova-c-02 ansible_host=10.0.37.15 ansible_ssh_user=stack ansible_become=true ovn_controller=true
ctrl-nova-c-03 ansible_host=10.0.37.8 ansible_ssh_user=stack ansible_become=true ovn_controller=true

** Affects: neutron
     Importance: Undecided
     Assignee: Jakub Libosvar (libosvar)
         Status: Fix Released


** Tags: ovn

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1928450

Title:
  ovn_migration.sh script doesn't detect neutron_dhcp agents when they
  run on a different node than neutron_api

Status in neutron:
  Fix Released

Bug description:
  Description of problem:
  hosts_for_migration/[ovn-dbs] host group is populated wrongly and doesn't consider neutron_dhcp containers running elsewhere than neutron_server. 

  Version-Release number of selected component (if applicable):
  python3-networking-ovn-migration-tool-7.3.1-1.20200902233413.el8ost.noarch (RHOS 16.1.3)

  How reproducible:
  always

  Steps to Reproduce:
  1. Install overcloud with split control plane having neutron_dhcp and neutron_api running on distinct nodes
  2.
  3.

  Actual results:
  [ovn-dbs]
  ctrl-net-c-01 ansible_host=10.0.37.45 ovn_central=true ansible_ssh_user=stack ansible_become=true
  ctrl-net-c-02 ansible_host=10.0.37.21 ansible_ssh_user=stack ansible_become=true
  ctrl-net-c-03 ansible_host=10.0.36.66 ansible_ssh_user=stack ansible_become=true
  ctrl-net-c-04 ansible_host=10.0.37.139 ansible_ssh_user=stack ansible_become=true

  [ovn-controllers]
  compute-net-c-001 ansible_host=10.0.36.225 ansible_ssh_user=stack ansible_become=true ovn_controller=true
  compute-net-c-002 ansible_host=10.0.36.152 ansible_ssh_user=stack ansible_become=true ovn_controller=true
  ctrl-nova-c-01 ansible_host=10.0.37.104 ansible_ssh_user=stack ansible_become=true ovn_controller=true
  ctrl-nova-c-02 ansible_host=10.0.37.15 ansible_ssh_user=stack ansible_become=true ovn_controller=true
  ctrl-nova-c-03 ansible_host=10.0.37.8 ansible_ssh_user=stack ansible_become=true ovn_controller=true

  
  Expected results:
  [ovn-dbs]
  compute-net-c-001 ansible_host=10.0.36.225 ansible_ssh_user=stack ansible_become=true
  compute-net-c-002 ansible_host=10.0.36.152 ansible_ssh_user=stack ansible_become=true

  
  [ovn-controllers]
  compute-net-c-001 ansible_host=10.0.36.225 ansible_ssh_user=stack ansible_become=true ovn_controller=true
  compute-net-c-002 ansible_host=10.0.36.152 ansible_ssh_user=stack ansible_become=true ovn_controller=true
  ctrl-nova-c-01 ansible_host=10.0.37.104 ansible_ssh_user=stack ansible_become=true ovn_controller=true
  ctrl-nova-c-02 ansible_host=10.0.37.15 ansible_ssh_user=stack ansible_become=true ovn_controller=true
  ctrl-nova-c-03 ansible_host=10.0.37.8 ansible_ssh_user=stack ansible_become=true ovn_controller=true

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1928450/+subscriptions


Follow ups