diff --git a/debian/changelog b/debian/changelog index 1114e50..eb32151 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +nova-lxd (13.3.0-0ubuntu2) UNRELEASED; urgency=medium + + * Returns all network devices to container (LP: #1675386) + + -- Alex Kavanagh Thu, 31 May 2018 17:21:55 +0100 + nova-lxd (13.3.0-0ubuntu1) xenial; urgency=medium * New upstream point release for Openstack Mitaka (LP: #1668313) diff --git a/debian/patches/01_bug-1675386-ensure-all-net-devices-added.diff b/debian/patches/01_bug-1675386-ensure-all-net-devices-added.diff new file mode 100644 index 0000000..feaecf6 --- /dev/null +++ b/debian/patches/01_bug-1675386-ensure-all-net-devices-added.diff @@ -0,0 +1,19 @@ +Description: Ensure that all net devices are added to instance profile +Author: Alex Kavanagh +Origin: other +Bug: https://bugs.launchpad.net/nova-lxd/+bug/1675386 +Forwarded: no +Last-Update: 2018-05-31 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/nova_lxd/nova/virt/lxd/config.py ++++ b/nova_lxd/nova/virt/lxd/config.py +@@ -234,7 +234,7 @@ class LXDContainerConfig(object): + host_device = self.vif_driver.get_vif_devname(vifaddr) + if host_device: + network_devices[key]['host_name'] = host_device +- return network_devices ++ return network_devices + except Exception as ex: + with excutils.save_and_reraise_exception(): + LOG.error( diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..9f2c40f --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01_bug-1675386-ensure-all-net-devices-added.diff