From 9486e1d545adc22b8d04fea2bed10eb7af28c7f1 Mon Sep 17 00:00:00 2001 From: Sergei Raiskii Date: Wed, 13 Jul 2022 17:33:53 +0300 Subject: Deploy Glance and Cinder Backup with S3 backend support Kolla Ansible should deploy Glance and Cinder Backup with S3 backend support working out-of-the-box. The S3 backend had been re-introduced in Ussuri after being deprecated around the Mitaka timeframe, and having some local object storage options is nice for testing.. Closes-Bug: #1977515 Change-Id: I4ca58382d1ee568bfca2ad108495422163f81260 Co-authored-by: Juan Pablo Suazo Co-authored-by: Maksim Malchuk --- etc/kolla/globals.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml index 71f1ea0a3..ed2538ad3 100644 --- a/etc/kolla/globals.yml +++ b/etc/kolla/globals.yml @@ -420,6 +420,15 @@ workaround_ansible_issue_8743: yes #enable_watcher: "no" #enable_zun: "no" +############# +# S3 options +############# +# Common options for S3 Cinder Backup and Glance S3 backend. +#s3_url: +#s3_bucket: +#s3_access_key: +#s3_secret_key: + ################## # RabbitMQ options ################## @@ -498,6 +507,7 @@ workaround_ansible_issue_8743: yes #glance_backend_file: "yes" #glance_backend_swift: "no" #glance_backend_vmware: "no" +#glance_backend_s3: "no" #enable_glance_image_cache: "no" #glance_enable_property_protection: "no" #glance_enable_interoperable_image_import: "no" @@ -506,6 +516,14 @@ workaround_ansible_issue_8743: yes # the default value is "no". #glance_enable_rolling_upgrade: "no" +#################### +# Glance S3 Backend +#################### +#glance_backend_s3_url: "{{ s3_url }}" +#glance_backend_s3_bucket: "{{ s3_bucket }}" +#glance_backend_s3_access_key: "{{ s3_access_key }}" +#glance_backend_s3_secret_key: "{{ s3_secret_key }}" + #################### # Osprofiler options #################### @@ -539,11 +557,17 @@ workaround_ansible_issue_8743: yes # Valid options are [ '', redis, etcd ] #cinder_coordination_backend: "{{ 'redis' if enable_redis|bool else 'etcd' if enable_etcd|bool else '' }}" -# Valid options are [ nfs, swift, ceph ] +# Valid options are [ nfs, swift, ceph, s3 ] #cinder_backup_driver: "ceph" #cinder_backup_share: "" #cinder_backup_mount_options_nfs: "" +# Cinder backup S3 options +#cinder_backup_s3_url: "{{ s3_url }}" +#cinder_backup_s3_bucket: "{{ s3_bucket }}" +#cinder_backup_s3_access_key: "{{ s3_access_key }}" +#cinder_backup_s3_secret_key: "{{ s3_secret_key }}" + ####################### # Cloudkitty options ####################### -- cgit v1.2.3