diff --git a/hooks/neutron_utils.py b/hooks/neutron_utils.py index 428c1984..b8056599 100644 --- a/hooks/neutron_utils.py +++ b/hooks/neutron_utils.py @@ -183,7 +183,7 @@ LEGACY_FILES_MAP = { }, } LEGACY_RES_MAP = ['res_monitor'] -L3HA_PACKAGES = ['keepalived'] +L3HA_PACKAGES = ['keepalived', 'conntrack'] BASE_GIT_PACKAGES = [ 'dnsmasq', diff --git a/unit_tests/test_neutron_hooks.py b/unit_tests/test_neutron_hooks.py index a8828564..e20c0341 100644 --- a/unit_tests/test_neutron_hooks.py +++ b/unit_tests/test_neutron_hooks.py @@ -339,7 +339,8 @@ class TestQuantumHooks(CharmTestCase): def test_neutron_plugin_changed(self): self.use_l3ha.return_value = True self._call_hook('neutron-plugin-api-relation-changed') - self.apt_install.assert_called_with(['keepalived'], fatal=True) + self.apt_install.assert_called_with(['keepalived', 'conntrack'], + fatal=True) self.assertTrue(self.CONFIGS.write_all.called) def test_cluster_departed_nvp(self):