[DZ-Storage] Adding cinderBackups to controlplane#760
Conversation
|
Hi @gais-ameer-rh. Thanks for your PR. I'm waiting for a openstack-k8s-operators member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
fultonj
left a comment
There was a problem hiding this comment.
Thanks Gais.
Overall looks good. There's a few small changes I would like.
There are two duplicate commits (b5f6ccc and 2436c3a) with very similar messages. Please use git squash so turn them into one commit.
https://github.com/openstack-k8s-operators/architecture/pull/760/commits
Thanks
|
The expected change in the $ diff -u /tmp/cr-review/before.yaml /tmp/cr-review/after.yaml
--- /tmp/cr-review/before.yaml 2026-05-15 14:54:48.290074926 -0400
+++ /tmp/cr-review/after.yaml 2026-05-15 14:54:57.735261671 -0400
@@ -204,14 +204,52 @@
type: LoadBalancer
replicas: 3
cinderBackup:
- customServiceConfig: |
- [DEFAULT]
- # Not implemented in this example
networkAttachments:
- storage
replicas: 0
- topologyRef:
- name: azone-node-affinity
+ cinderBackups:
+ cinder-backup-az0:
+ customServiceConfig: |
+ [DEFAULT]
+ backup_share = _replaced_
+ backup_driver = cinder.backup.drivers.nfs.NFSBackupDriver
+ backup_mount_point_base = /var/lib/cinder/backup
+ storage_availability_zone = az0
+ customServiceConfigSecrets:
+ - cinder-volume-secrets-az0
+ networkAttachments:
+ - storage
+ replicas: 2
+ topologyRef:
+ name: azone-node-affinity
+ cinder-backup-az1:
+ customServiceConfig: |
+ [DEFAULT]
+ backup_share = _replaced_
+ backup_driver = cinder.backup.drivers.nfs.NFSBackupDriver
+ backup_mount_point_base = /var/lib/cinder/backup
+ storage_availability_zone = az1
+ customServiceConfigSecrets:
+ - cinder-volume-secrets-az1
+ networkAttachments:
+ - storage
+ replicas: 2
+ topologyRef:
+ name: bzone-node-affinity
+ cinder-backup-az2:
+ customServiceConfig: |
+ [DEFAULT]
+ backup_share = _replaced_
+ backup_driver = cinder.backup.drivers.nfs.NFSBackupDriver
+ backup_mount_point_base = /var/lib/cinder/backup
+ storage_availability_zone = az2
+ customServiceConfigSecrets:
+ - cinder-volume-secrets-az2
+ networkAttachments:
+ - storage
+ replicas: 2
+ topologyRef:
+ name: czone-node-affinity
cinderScheduler:
replicas: 1
cinderVolumes:
$ |
d87668f to
a46388b
Compare
|
Overall this /lgtm Let's confirm we get a green test project before merging. |
|
The changes passed in a test project |
abays
left a comment
There was a problem hiding this comment.
/lgtm
We just need openstack-k8s-operators/ci-framework#3927 to merge first before we merge this.
To deploy multiple cinder backups based on AZ topology Removes the existing spec.cinder.template.cinderBackup (singluar) and replaces with cinderBackups (plural) Jira: OSPRH-28342 Signed-off-by: Gais Ameer <gameer@redhat.com>
a46388b to
585463f
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gais-ameer-rh The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/lgtm Let's get this merged first openstack-k8s-operators/ci-framework#3927 |
To deploy multiple cinder backups based on AZ topology
Removes the existing spec.cinder.template.cinderBackup (singluar)
and replaces with cinderBackups (plural)
Jira: OSPRH-28342
Signed-off-by: Gais Ameer gameer@redhat.com
Depends-On: openstack-k8s-operators/ci-framework#3927