Start the neutron server service.
After neutron server is installed, start the server service immediately. Change-Id: I0488821cfb40863f984d9a04e0e57ba1a9694720 Closes-Bug: 1327029
This commit is contained in:
parent
27c2f7bdba
commit
ae8fd25552
|
@ -1,5 +1,8 @@
|
|||
# CHANGELOG for cookbook-openstack-network
|
||||
This file is used to list changes made in each version of cookbook-openstack-network.
|
||||
## 9.0.10
|
||||
* Start the neutron server service after installed
|
||||
|
||||
## 9.0.9
|
||||
* Fix to plugin.ini symlink not updated properly when main plugin changes
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ maintainer 'Jay Pipes <jaypipes@gmail.com>'
|
|||
license 'Apache 2.0'
|
||||
description 'Installs and configures the OpenStack Network API Service and various agents and plugins'
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version '9.0.9'
|
||||
version '9.0.10'
|
||||
recipe 'openstack-network::client', 'Install packages required for network client'
|
||||
recipe 'openstack-network::server', 'Installs packages required for a OpenStack Network server'
|
||||
recipe 'openstack-network::openvswitch', 'Installs packages required for OVS'
|
||||
|
|
|
@ -61,7 +61,7 @@ end
|
|||
service 'neutron-server' do
|
||||
service_name platform_options['neutron_server_service']
|
||||
supports status: true, restart: true
|
||||
action :enable
|
||||
action [:enable, :start]
|
||||
end
|
||||
|
||||
cookbook_file 'neutron-ha-tool' do
|
||||
|
|
|
@ -37,10 +37,14 @@ describe 'openstack-network::server' do
|
|||
end
|
||||
end
|
||||
|
||||
it 'starts neutron-server service' do
|
||||
it 'sets the neutron server service to start on boot' do
|
||||
expect(chef_run).to enable_service 'neutron-server'
|
||||
end
|
||||
|
||||
it 'starts the neutron server service' do
|
||||
expect(chef_run).to start_service 'neutron-server'
|
||||
end
|
||||
|
||||
it 'allows overriding service names' do
|
||||
node.set['openstack']['network']['platform']['neutron_server_service'] = 'my-neutron-server'
|
||||
|
||||
|
|
Loading…
Reference in New Issue