yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67819
[Bug 1714796] Re: Router interface not updated during DVR->HA, HA->DVR migratons
Reviewed: https://review.openstack.org/500379
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0afe2c201a7d114564a0f0aed03ba91ffd776023
Submitter: Jenkins
Branch: master
commit 0afe2c201a7d114564a0f0aed03ba91ffd776023
Author: venkata anil <anilvenkata@xxxxxxxxxx>
Date: Sun Sep 3 17:52:04 2017 +0000
Fix device_owner during DVR and HA migrations
When HA router is migrated to 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 updated to DEVICE_OWNER_HA_REPLICATED_INT.
Also, for Legacy to HA migration, DEVICE_OWNER_ROUTER_INTF
has to be updated to DEVICE_OWNER_HA_REPLICATED_INT.
Also added unit test cases for all possible migration cases.
Closes-Bug: 1714796
Change-Id: I23642b3f5fe8411d0c8c526750f6965caa71fc2f
** 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/1714796
Title:
Router interface not updated during DVR->HA, HA->DVR migratons
Status in neutron:
Fix Released
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
References