updated cinder.conf for backup catalog info

This change adds the variable ``cinder_swift_catalog_info`` to allow the
user to set the swift catalog URL information used when cinder backup
is used with swift. This option is required for the following reasons:

* When running SSL termination in front of all of the public APIs.
  If this option is unset the service will assume the "publicURL" is used.
  While this works in the AIO usecase in production its likely the
  publicURL is inaccessible from the service node.
* The volume service will not handle self-signed SSL certificats. If one
  is used the service will throw an SSLError and self signed certificates
  are likely to be common in private clouds with and without SSL
  termination.
* Performance will improve when using the internalURL vs the publicURL.

Change-Id: I63cfecd6793ba2b28c294d939c9b1c466940cbd1
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-04-18 10:46:15 -05:00
parent 0478561f3a
commit e2e9eb4c33
No known key found for this signature in database
GPG Key ID: 69FEFFC5E2D9273F
2 changed files with 3 additions and 0 deletions

View File

@ -138,6 +138,8 @@ cinder_service_backup_ceph_pool: backups
cinder_service_backup_compression_algorithm: zlib
cinder_service_backup_metadata_version: 2
cinder_swift_catalog_info: "object-store:swift:internalURL"
cinder_service_volume_program_name: cinder-volume
cinder_service_scheduler_program_name: cinder-scheduler

View File

@ -26,6 +26,7 @@ backup_driver = {{ cinder_service_backup_driver }}
backup_metadata_version = {{ cinder_service_backup_metadata_version }}
backup_compression_algorithm = {{ cinder_service_backup_compression_algorithm }}
{% if cinder_service_backup_driver == 'cinder.backup.drivers.swift' %}
swift_catalog_info = {{ cinder_swift_catalog_info }}
backup_swift_auth = {{ cinder_service_backup_swift_auth }}
{% if cinder_service_backup_swift_auth == 'single_user' %}
backup_swift_url = {{ cinder_service_backup_swift_url }}