[gnuoy, r=jamespage] conntrack needed for ha
This commit is contained in:
commit
5f6ced9bf7
@ -183,7 +183,7 @@ LEGACY_FILES_MAP = {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
LEGACY_RES_MAP = ['res_monitor']
|
LEGACY_RES_MAP = ['res_monitor']
|
||||||
L3HA_PACKAGES = ['keepalived']
|
L3HA_PACKAGES = ['keepalived', 'conntrack']
|
||||||
|
|
||||||
BASE_GIT_PACKAGES = [
|
BASE_GIT_PACKAGES = [
|
||||||
'dnsmasq',
|
'dnsmasq',
|
||||||
|
@ -339,7 +339,8 @@ class TestQuantumHooks(CharmTestCase):
|
|||||||
def test_neutron_plugin_changed(self):
|
def test_neutron_plugin_changed(self):
|
||||||
self.use_l3ha.return_value = True
|
self.use_l3ha.return_value = True
|
||||||
self._call_hook('neutron-plugin-api-relation-changed')
|
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)
|
self.assertTrue(self.CONFIGS.write_all.called)
|
||||||
|
|
||||||
def test_cluster_departed_nvp(self):
|
def test_cluster_departed_nvp(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user