Disable multi_host for nova-network with vCenter

- In HA setup with vCenter nova-network runs on OpenStack controller
  nodes.  We must be sure that nova-network service has single running
  instance among all controllers, otherwise VMs would see multiple
  gateways/DHCP servers in their network.  By default multi_host is
  enabled in HA mode and nova-network will run on every controller.

Partial implements: blueprint vcenter-hv-full-scale-support

Change-Id: I9cb7e1deaa0e533ce81e5f24159600493b25196f
This commit is contained in:
Igor Zinovik 2014-07-21 11:30:51 +04:00
parent 1ec799bc6c
commit 8748c00f7c

View File

@ -41,6 +41,8 @@ class vmware::network::nova (
before => Exec['networking-refresh']
}
Nova_config <| title == 'DEFAULT/multi_host' |> { value => 'False' }
cs_resource { 'p_vcenter_nova_network':
ensure => present,
primitive_class => 'ocf',