Don't restart neutron-openvswitch-switch at each chef run
I don't know/understand why it was set like this in the first place. But it's not what we want. Change-Id: I95d60fe1dfabd734b950e02e3238ce10414a2385 Closes-Bug: #1288366
This commit is contained in:
parent
59858a4545
commit
c77f3c4949
|
@ -79,7 +79,7 @@ end
|
|||
service 'neutron-openvswitch-switch' do
|
||||
service_name platform_options['neutron_openvswitch_service']
|
||||
supports status: true, restart: true
|
||||
action [:enable, :restart]
|
||||
action [:enable, :start]
|
||||
end
|
||||
|
||||
if node.run_list.expand(node.chef_environment).recipes.include?('openstack-network::server')
|
||||
|
|
|
@ -42,8 +42,8 @@ describe 'openstack-network::openvswitch' do
|
|||
expect(@chef_run).to enable_service 'openvswitch-switch'
|
||||
end
|
||||
|
||||
it 'restarts the openvswitch service' do
|
||||
expect(@chef_run).to restart_service 'openvswitch-switch'
|
||||
it 'start the openvswitch service' do
|
||||
expect(@chef_run).to start_service 'openvswitch-switch'
|
||||
end
|
||||
|
||||
it 'installs openvswitch agent' do
|
||||
|
|
Loading…
Reference in New Issue