Ensure compute nodes use internalURL as catalog_info
authorGiulio Fidente <gfidente@redhat.com>
Thu, 16 Jul 2015 21:45:20 +0000 (23:45 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Thu, 16 Jul 2015 22:39:13 +0000 (00:39 +0200)
By default Nova will get the publicURL instead, which is not
reachable by the compute nodes.

Change-Id: I57b6a7a7eddb0ffaf6d2d152d932f390c48f908e

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

index 63a3473..673c777 100644 (file)
@@ -15,6 +15,10 @@ nova::compute::rbd::rbd_keyring: 'client.openstack'
 nova::compute::rbd::libvirt_images_rbd_pool: 'vms'
 nova::compute::rbd::libvirt_rbd_secret_uuid: "%{hiera('ceph::profile::params::fsid')}"
 
+nova::config::nova_config:
+  cinder/catalog_info:
+    value: 'volumev2:cinderv2:internalURL'
+
 ceilometer::agent::auth::auth_tenant_name: 'service'
 
 compute_classes: []
\ No newline at end of file
index 67a73dd..f7dd61d 100644 (file)
@@ -44,6 +44,7 @@ exec { 'libvirt-default-net-destroy':
 }
 
 include ::nova
+include ::nova::config
 include ::nova::compute
 
 nova_config {