← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1714796] [NEW] Router interface not updated during DVR->HA, HA->DVR migratons

 

Public bug reported:

While debugging migration tests failures for gate-tempest-dsvm-neutron-
dvr-multinode-scenario-ubuntu-xenial-nv job, I observed that
device_owner is not updated properly during migration.

When HA router is migrated to DVR(i.e HA->DVR), router's
DEVICE_OWNER_HA_REPLICATED_INT interface has to be updated to
DEVICE_OWNER_DVR_INTERFACE. Similarly for DVR to HA migration,
DEVICE_OWNER_DVR_INTERFACE has to be replaced with
DEVICE_OWNER_HA_REPLICATED_INT.

But the existing migration code [1] doesn't consider
DEVICE_OWNER_HA_REPLICATED_INT. As DVR and HA code depends on these
device_owner types, it has to be updated properly.

[1]
https://github.com/openstack/neutron/blob/master/neutron/db/l3_dvr_db.py#L127-L137

** Affects: neutron
     Importance: Undecided
     Assignee: venkata anil (anil-venkata)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => venkata anil (anil-venkata)

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

Title:
  Router interface not updated during DVR->HA, HA->DVR migratons

Status in neutron:
  New

Bug description:
  While debugging migration tests failures for gate-tempest-dsvm-
  neutron-dvr-multinode-scenario-ubuntu-xenial-nv job, I observed that
  device_owner is not updated properly during migration.

  When HA router is migrated to DVR(i.e HA->DVR), router's
  DEVICE_OWNER_HA_REPLICATED_INT interface has to be updated to
  DEVICE_OWNER_DVR_INTERFACE. Similarly for DVR to HA migration,
  DEVICE_OWNER_DVR_INTERFACE has to be replaced with
  DEVICE_OWNER_HA_REPLICATED_INT.

  But the existing migration code [1] doesn't consider
  DEVICE_OWNER_HA_REPLICATED_INT. As DVR and HA code depends on these
  device_owner types, it has to be updated properly.

  [1]
  https://github.com/openstack/neutron/blob/master/neutron/db/l3_dvr_db.py#L127-L137

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


Follow ups