nova: set catalog_info to InternalURL
authorEmilien Macchi <emilien@redhat.com>
Mon, 21 Sep 2015 18:46:24 +0000 (14:46 -0400)
committerEmilien Macchi <emilien@redhat.com>
Mon, 19 Oct 2015 14:35:41 +0000 (10:35 -0400)
In nova.conf, set cinder/catalog_info to 'volumev2:cinderv2:internalURL'
instead of 'volumev2:cinderv2:publicURL'.
So Nova will use internal Cinder endpoint to reach volume API by
using internal network.

Depends-On: Id9e579ca31364d5207d0c1b892d0f7aa7f20f7a8
Change-Id: Ia34f0fe59f662c3ad29ca0178c01ef1570759d57

puppet/hieradata/common.yaml
puppet/hieradata/compute.yaml

index 4a872d5..030f661 100644 (file)
@@ -29,3 +29,5 @@ cinder::rabbit_heartbeat_timeout_threshold: 60
 ceilometer::rabbit_heartbeat_timeout_threshold: 60
 heat::rabbit_heartbeat_timeout_threshold: 60
 keystone::rabbit_heartbeat_timeout_threshold: 60
+
+nova::cinder_catalog_info: 'volumev2:cinderv2:internalURL'
index d7c1f87..4a94c23 100644 (file)
@@ -15,10 +15,6 @@ 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: []