Take 'host' parameter from nova manifest into use
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 31 May 2016 11:15:54 +0000 (14:15 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 1 Jun 2016 08:41:14 +0000 (11:41 +0300)
Recently the 'host' parameter was added to the nova manifest. So we
no longer need to manually add it to the configuration.

Change-Id: I6f3dc50ea8737e5e7cd859685a9308edff976f31
Depends-On: Icce3ebc401442651942f8de3eabffadaad812377

puppet/hieradata/compute.yaml
puppet/manifests/overcloud_compute.pp

index 1e888f3..40d4d47 100644 (file)
@@ -1,5 +1,6 @@
 # Hiera data here applies to all compute nodes
 
+nova::host: "%{::fqdn}"
 nova::notify_on_state_change: 'vm_and_task_state'
 nova::notification_driver: messagingv2
 nova::compute::enabled: true
index cf20c0c..f766c36 100644 (file)
@@ -108,7 +108,6 @@ if hiera('step') >= 4 {
   nova_config {
     'DEFAULT/my_ip': value => $ipaddress;
     'DEFAULT/linuxnet_interface_driver': value => 'nova.network.linux_net.LinuxOVSInterfaceDriver';
-    'DEFAULT/host': value => $fqdn;
   }
 
   if hiera('neutron::core_plugin') == 'midonet.neutron.plugin_v1.MidonetPluginV2' {