Fix cinder-backup deployment issues
Currently, cinder-backup isn't getting deployed correctly. This commit fixes two of the known issues so that we correctly update cinder.conf on the cinder_volume hosts and also update the cinder_service_backup_program_name so we correctly deploy the init script for cinder-backup. Partial-bug: #1399386 Change-Id: I18551197d5f3e6349a22e13f989b4c38ad6030af
This commit is contained in:
parent
e7a6b27fd8
commit
28e23043f9
@ -87,7 +87,7 @@ cinder_keystone_auth_plugin: password
|
|||||||
# * cinder_service_backup_swift_user
|
# * cinder_service_backup_swift_user
|
||||||
# * cinder_service_backup_swift_key
|
# * cinder_service_backup_swift_key
|
||||||
cinder_service_backup_program_enabled: false
|
cinder_service_backup_program_enabled: false
|
||||||
cinder_service_backup_program_name: cinder-volume
|
cinder_service_backup_program_name: cinder-backup
|
||||||
cinder_service_backup_driver: cinder.backup.drivers.swift
|
cinder_service_backup_driver: cinder.backup.drivers.swift
|
||||||
cinder_service_backup_swift_url: http://127.0.0.1:8080/v1/AUTH
|
cinder_service_backup_swift_url: http://127.0.0.1:8080/v1/AUTH
|
||||||
cinder_service_backup_swift_user: admin
|
cinder_service_backup_swift_user: admin
|
||||||
|
@ -19,7 +19,7 @@ auth_strategy = keystone
|
|||||||
enable_v1_api = {{ cinder_enable_v1_api }}
|
enable_v1_api = {{ cinder_enable_v1_api }}
|
||||||
enable_v2_api = {{ cinder_enable_v2_api }}
|
enable_v2_api = {{ cinder_enable_v2_api }}
|
||||||
|
|
||||||
{% if inventory_hostname not in groups['cinder_volume'] %}
|
{% if inventory_hostname in groups['cinder_volume'] %}
|
||||||
{% if cinder_service_backup_program_enabled == true %}
|
{% if cinder_service_backup_program_enabled == true %}
|
||||||
{% if cinder_service_backup_swift_url is defined and cinder_service_backup_swift_user is defined and cinder_service_backup_swift_key is defined %}
|
{% if cinder_service_backup_swift_url is defined and cinder_service_backup_swift_user is defined and cinder_service_backup_swift_key is defined %}
|
||||||
## Cinder Backup
|
## Cinder Backup
|
||||||
|
Loading…
Reference in New Issue
Block a user