Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
44e11dd1
Commit
44e11dd1
authored
8 years ago
by
Jenkins
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add more options for cinder-backup."
parents
f407f273
c0a07b69
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ansible/group_vars/all.yml
+3
-0
3 additions, 0 deletions
ansible/group_vars/all.yml
ansible/roles/cinder/templates/cinder.conf.j2
+13
-0
13 additions, 0 deletions
ansible/roles/cinder/templates/cinder.conf.j2
etc/kolla/globals.yml
+3
-2
3 additions, 2 deletions
etc/kolla/globals.yml
with
19 additions
and
2 deletions
ansible/group_vars/all.yml
+
3
−
0
View file @
44e11dd1
...
@@ -378,6 +378,9 @@ gnocchi_backend_storage: "{{ 'ceph' if enable_ceph|bool else 'file' }}"
...
@@ -378,6 +378,9 @@ gnocchi_backend_storage: "{{ 'ceph' if enable_ceph|bool else 'file' }}"
#################################
#################################
cinder_backend_ceph
:
"
{{
enable_ceph
}}"
cinder_backend_ceph
:
"
{{
enable_ceph
}}"
cinder_volume_group
:
"
cinder-volumes"
cinder_volume_group
:
"
cinder-volumes"
cinder_backup_driver
:
"
nfs"
cinder_backup_share
:
"
"
cinder_backup_mount_options_nfs
:
"
"
#######################
#######################
# Cloudkitty options
# Cloudkitty options
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/cinder/templates/cinder.conf.j2
+
13
−
0
View file @
44e11dd1
...
@@ -32,6 +32,19 @@ backup_ceph_pool = {{ ceph_cinder_backup_pool_name }}
...
@@ -32,6 +32,19 @@ backup_ceph_pool = {{ ceph_cinder_backup_pool_name }}
backup_ceph_stripe_unit = 0
backup_ceph_stripe_unit = 0
backup_ceph_stripe_count = 0
backup_ceph_stripe_count = 0
restore_discard_excess_bytes = true
restore_discard_excess_bytes = true
{% elif cinder_backup_driver == "nfs"%}
backup_driver = cinder.backup.drivers.nfs
backup_mount_options = {{ cinder_backup_mount_options_nfs }}
backup_mount_point_base = /var/lib/cinder/backup
backup_share = {{ cinder_backup_share }}
backup_file_size = 327680000
{% elif cinder_backup_driver == "swift"%}
backup_driver = cinder.backup.drivers.swift
backup_swift_url = http://{{ kolla_internal_vip_address }}:{{ swift_proxy_server_port }}/v1/AUTH_
backup_swift_auth = per_user
backup_swift_auth_version = 1
backup_swift_user =
backup_swift_key =
{% endif %}
{% endif %}
osapi_volume_listen = {{ api_interface_address }}
osapi_volume_listen = {{ api_interface_address }}
...
...
This diff is collapsed.
Click to expand it.
etc/kolla/globals.yml
+
3
−
2
View file @
44e11dd1
...
@@ -213,9 +213,10 @@ kolla_internal_vip_address: "10.10.10.254"
...
@@ -213,9 +213,10 @@ kolla_internal_vip_address: "10.10.10.254"
#################################
#################################
# Enable / disable Cinder backends
# Enable / disable Cinder backends
#cinder_backend_ceph: "{{ enable_ceph }}"
#cinder_backend_ceph: "{{ enable_ceph }}"
#cinder_volume_group: "cinder-volumes"
#cinder_volume_group: "cinder-volumes"
#cinder_backup_driver: "nfs"
#cinder_backup_share: ""
#cinder_backup_mount_options_nfs: ""
#########################
#########################
# Nova - Compute Options
# Nova - Compute Options
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment