nova/releasenotes/notes/fill_virtual_interface_list-1ec5bcccde2ebd22.yaml
Maciej Jozefczyk 3534471c57 Add fill_virtual_interface_list online_data_migration script
In change [1] we modified _heal_instance_info_cache periodic task
to use Neutron point of view while rebuilding InstanceInfoCache
objects.
The crucial point was how we know the previous order of ports, if
the cache was broken. We decided to use VirtualInterfaceList objects
as source of port order.
For instances older than Newton VirtualInterface objects doesn't
exist, so we need to introduce a way of creating it.
This script should be executed while upgrading to Stein release.

[1] https://review.openstack.org/#/c/591607

Change-Id: Ic26d4ce3d071691a621d3c925dc5cd436b2005f1
Related-Bug: 1751923
2019-01-30 10:03:19 +00:00

11 lines
518 B
YAML

---
upgrade:
- The ``nova-manage db online_data_migrations`` command
will now fill missing ``virtual_interfaces`` records for instances
created before the Newton release. This is related to a fix for
https://launchpad.net/bugs/1751923 which makes the
_heal_instance_info_cache periodic task in the ``nova-compute``
service regenerate an instance network info cache from the current
neutron port list, and the VIFs from the database are needed to
maintain the port order for the instance.