Adding THT support for Cinder backup Google cloud driver

Bug #1789197 reported by Tzach Shefi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Wishlist
Pablo

Bug Description

Currently THT only supports three Cinder backup driver back ends: Swift, NFS, Ceph.
Google cloud backup driver should be added as a new forth supported driver.

Version:
openstack-tripleo-heat-templates-8.0.4-20.el7ost.noarch

Temp workaround, when calling Swift and Cinder backup driver and then substituting it with Google driver things work.

Steps to reproduce for instance if you use such a yaml, don't forget to test this out you also need to provide A Google auth file but that is none relevant as the THT code doesn't like or know this bit:
backup_driver
            value: cinder.backup.drivers.google

#cat gcs-backup.yaml
parameter_defaults:
  ControllerExtraConfig: # 1
    cinder::config::cinder_config:
        DEFAULT/backup_driver
            value: cinder.backup.drivers.google
        DEFAULT/backup_gcs_credential_file
            value: /etc/cinder/gbackup.json (-> path is correct under docker)
        DEFAULT/backup_gcs_bucket
            value: mycinderbucket
        DEFAULT/backup_gcs_project_id
            value: cloud-backup-1370
        DEFAULT/backup_gcs_user_agent
            value: myuseragent

Where as if I keep Swift and later replaced with Google deployment/backup worked,using below yaml.

cat gcs-backup.yaml
parameter_defaults:
  ControllerExtraConfig: # 1
    cinder::config::cinder_config:
        DEFAULT/backup_gcs_credential_file:
            value: /etc/cinder/gbackup.json
        DEFAULT/backup_gcs_bucket:
            value: mycinderbucket
        DEFAULT/backup_gcs_project_id:
            value: cloudforms-validation
        DEFAULT/backup_gcs_user_agent:
            value: gcscinder
    cinder::backup::swift::backup_driver: cinder.backup.drivers.google

^ last line overrides Swift with missing Google driver.

Revision history for this message
Juan Antonio Osorio Robles (juan-osorio-robles) wrote :

Is this something you still would want?

Changed in tripleo:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Tzach Shefi (tshefi) wrote :

Yes I'd still like to see this happen,
mostly to help customers deploy with it.

How many of them use Google backup, I don't know.

Pablo (pcaruana)
Changed in tripleo:
assignee: nobody → Pablo (pcaruana)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.