Defer starting of services to config-changed when deploying from source

This commit is contained in:
Corey Bryant 2015-04-14 00:48:21 +00:00
parent b8cd0419f0
commit 2c4b167557
2 changed files with 0 additions and 40 deletions

View File

@ -1151,22 +1151,3 @@ def git_post_install(projects_yaml):
render('git/upstart/neutron-agent.upstart',
'/etc/init/neutron-vpn-agent.conf',
neutron_vpn_agent_context, perms=0o644)
service_restart('neutron-dhcp-agent')
service_restart('neutron-l3-agent')
service_restart('neutron-lbaas-agent')
service_restart('neutron-metadata-agent')
service_restart('neutron-metering-agent')
service_restart('neutron-ovs-cleanup')
service_restart('neutron-plugin-bigswitch')
service_restart('neutron-plugin-ibm-agent')
service_restart('neutron-plugin-linuxbridge-agent')
service_restart('neutron-plugin-mlnx-agent')
service_restart('neutron-plugin-nec-agent')
service_restart('neutron-plugin-oneconvergence-agent')
service_restart('neutron-plugin-openflow-agent')
service_restart('neutron-plugin-openvswitch-agent')
service_restart('neutron-plugin-ryu-agent')
service_restart('neutron-plugin-sriov-agent')
service_restart('neutron-server')
service_restart('neutron-vpn-agent')

View File

@ -1074,24 +1074,3 @@ class TestQuantumAgentReallocation(CharmTestCase):
neutron_vpn_agent_context, perms=0o644),
]
self.assertEquals(render.call_args_list, expected)
expected = [
call('neutron-dhcp-agent'),
call('neutron-l3-agent'),
call('neutron-lbaas-agent'),
call('neutron-metadata-agent'),
call('neutron-metering-agent'),
call('neutron-ovs-cleanup'),
call('neutron-plugin-bigswitch'),
call('neutron-plugin-ibm-agent'),
call('neutron-plugin-linuxbridge-agent'),
call('neutron-plugin-mlnx-agent'),
call('neutron-plugin-nec-agent'),
call('neutron-plugin-oneconvergence-agent'),
call('neutron-plugin-openflow-agent'),
call('neutron-plugin-openvswitch-agent'),
call('neutron-plugin-ryu-agent'),
call('neutron-plugin-sriov-agent'),
call('neutron-server'),
call('neutron-vpn-agent'),
]
self.assertEquals(self.service_restart.call_args_list, expected)