Bug 1609554
| Summary: | [Doc][Storage]Cinder backup Google_cloud_backup_guide - needs an update | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Tzach Shefi <tshefi> |
| Component: | documentation | Assignee: | Kim Nylander <knylande> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | RHOS Documentation Team <rhos-docs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14.0 (Rocky) | CC: | abishop, knylande, srevivo, tshefi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-02 14:37:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1658306 | ||
| Bug Blocks: | 1539297 | ||
|
Description
Tzach Shefi
2018-07-29 11:54:03 UTC
Suspect (not 100% sure) correct path for Google auth json should probably be: /var/lib/config-data/puppet-generated/cinder/etc/cinder/ If this is correct /etc/cinder should be replaced. Also on fix ownership/permissions command as well as on rsycn path. If my file path assumption is correct. Some docker restart are in order to "catch" new file. One more suggestion, if I understand correctly for Google backup to work we need this package installed -> python-google-api-client-1.4.2-4.el7ost.noarch Checking under Cinder volume docker this package has been automatically installed, which is great. However it might be a good idea to also suggest we validate/install in case it's missing. Under section 4, where we have
/home/stack/templates/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/Cloud-Backup.json
DEFAULT/backup_gcs_bucket
value: mycinderbucket
DEFAULT/backup_gcs_project_id
value: cloud-backup-1370
DEFAULT/backup_gcs_user_agent
value: myuseragent
Alan (Cinder THT guru) mentioned another problem.
Each line stating with DEFAULT should end with a colon at the end.
https://bugzilla.redhat.com/show_bug.cgi?id=1609707#c3
Will retest with this this 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/Cloud-Backup.json
DEFAULT/backup_gcs_bucket:
value: mycinderbucket
DEFAULT/backup_gcs_project_id:
value: cloud-backup-1370
DEFAULT/backup_gcs_user_agent:
value: myuseragent.
See bug #1609707 comment #9 for updates on the TripleO env file settings required for the feature to work. The details are unusual because TripleO thinks it is deploying cinder-backup with a Swift backend, and "extra config" hiera data is used to override the settings to specify the gcs backup driver. This may be confusing, but it's the only way it can work until full TripleO support is added. I mention this because the docs should try to clarify the confusion. Tzach, do you think we can close this BZ since these changes have been incorporated in BZ#1658306? Thanks. Sure Kim, would be fine with me. Unsure which state to move the bz to closed/verified. Hi, Tzach. I linked this BZ to the main Block Storage Backup Guide BZ. I'll move this BZ to verified and then to closed (in case it makes a different for metrics). Content converted to AsciiDoc and checked into repo. |