Merge "Fix nova-network settings in multi_host mode"
This commit is contained in:
@@ -456,7 +456,6 @@ class openstack::all (
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
nova_config {
|
nova_config {
|
||||||
'DEFAULT/multi_host': value => false;
|
|
||||||
'DEFAULT/send_arp_for_ha': value => false;
|
'DEFAULT/send_arp_for_ha': value => false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -176,8 +176,9 @@ class openstack::nova::controller (
|
|||||||
# Configure nova-network
|
# Configure nova-network
|
||||||
if $multi_host {
|
if $multi_host {
|
||||||
nova_config { 'DEFAULT/multi_host': value => true }
|
nova_config { 'DEFAULT/multi_host': value => true }
|
||||||
$enable_network_service = false
|
$enable_network_service = true
|
||||||
} else {
|
} else {
|
||||||
|
nova_config { 'DEFAULT/multi_host': value => false }
|
||||||
if $enabled {
|
if $enabled {
|
||||||
$enable_network_service = true
|
$enable_network_service = true
|
||||||
} else {
|
} else {
|
||||||
|
@@ -692,8 +692,8 @@ describe 'openstack::controller' do
|
|||||||
it { should contain_nova_config('DEFAULT/multi_host').with(:value => true)}
|
it { should contain_nova_config('DEFAULT/multi_host').with(:value => true)}
|
||||||
it {should contain_class('nova::network').with(
|
it {should contain_class('nova::network').with(
|
||||||
:create_networks => true,
|
:create_networks => true,
|
||||||
:enabled => false,
|
:enabled => true,
|
||||||
:install_service => false
|
:install_service => true
|
||||||
)}
|
)}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user