Skip to content

Add tests for cinderBackups in dz-storage scenario#3927

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
gais-ameer-rh:cinderBackups
Jun 5, 2026
Merged

Add tests for cinderBackups in dz-storage scenario#3927
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
gais-ameer-rh:cinderBackups

Conversation

@gais-ameer-rh

@gais-ameer-rh gais-ameer-rh commented May 13, 2026

Copy link
Copy Markdown
Contributor

[DZ-Storage] Add tests for cinderBackups
spec.cinder.template.cinderBackup (singluar) in DZ-Storage DT is
replaced with cinderBackups (plural) to deploy multiple cinder backups based on AZ topology.
hooks/playbooks/cinder_backups.yaml validates the behaviour of cinderBackups.

The playbook tests different scenarios of cinder backup creation
and restoring the backups across availability zones.

Jira: OSPRH-28342

Signed-off-by: Gais Ameer gameer@redhat.com
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com

@openshift-ci

openshift-ci Bot commented May 13, 2026

Copy link
Copy Markdown
Contributor

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions 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.

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/3580cedda4a041b2b649fbafae4b9d29

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 27m 53s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 35m 59s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 29m 21s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 03m 51s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 56s
cifmw-pod-pre-commit FAILURE in 9m 51s

gais-ameer-rh added a commit to gais-ameer-rh/architecture that referenced this pull request May 14, 2026
To deploy multiple cinder backups based on AZ topology

Removes the existing spec.cinder.template.cinderBackup (singluar)
and replaces with cinderBackups (plural)

Depends-On: openstack-k8s-operators/ci-framework#3927

OSPRH-28342
@fultonj fultonj self-requested a review May 14, 2026 13:21
@gais-ameer-rh gais-ameer-rh marked this pull request as draft May 15, 2026 10:30
@gais-ameer-rh

Copy link
Copy Markdown
Contributor Author

recheck

@fultonj fultonj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Gais! A few suggestions.

Comment thread hooks/playbooks/dz_storage_cinder_backups.yaml Outdated
Comment thread hooks/playbooks/dz_storage_cinder_backups.yaml Outdated
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/37628704c1834e6785026042ef8fabff

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 12m 51s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 24m 52s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 34m 48s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 01m 03s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 19s
cifmw-pod-pre-commit FAILURE in 9m 22s

@fultonj fultonj dismissed their stale review May 19, 2026 13:50

requested change has been made

@fultonj

fultonj commented May 19, 2026

Copy link
Copy Markdown
Contributor

Overall this /lgtm Let's confirm we get a green test project before merging.

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/f3ff2dbc6f304849a06578e322e013b8

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 32m 46s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 28m 17s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 36m 19s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 06m 41s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 22s
cifmw-pod-pre-commit FAILURE in 8m 40s

@gais-ameer-rh gais-ameer-rh marked this pull request as ready for review May 26, 2026 13:26
@gais-ameer-rh

Copy link
Copy Markdown
Contributor Author

The backups playbook passed in a test project

@abays

abays commented May 26, 2026

Copy link
Copy Markdown
Contributor

Build failed (check pipeline). Post recheck (without leading slash) to rerun all jobs. Make sure the failure cause has been resolved before you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/f3ff2dbc6f304849a06578e322e013b8

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 32m 46s ✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 28m 17s ✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 36m 19s ✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 06m 41s ✔️ noop SUCCESS in 0s ✔️ cifmw-pod-ansible-test SUCCESS in 8m 22s ❌ cifmw-pod-pre-commit FAILURE in 8m 40s

I believe this is the pre-commit failure:

hooks/playbooks/dz_storage_cinder_backups.yaml:17: yaml[indentation]: Wrong indentation: expected 6 but found 4

@fultonj

fultonj commented May 26, 2026

Copy link
Copy Markdown
Contributor

Since this playbook will also be used with DCN per this change:

#3963

Do you want to rename the playbook file to remove "dz" from it?

Also, can you add support for overriding the AZ names by making them variables. I think the DCN job has the same AZ names, but it's going to be useful to have them not hard coded.

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/b9194d6b40414aada4e598cf93e6c32e

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 50m 14s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 28m 07s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 35m 43s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 27m 03s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 04s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 05s

@gais-ameer-rh

Copy link
Copy Markdown
Contributor Author

recheck

@fultonj

fultonj commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Jun 1, 2026
@fultonj fultonj requested a review from evallesp June 1, 2026 13:09

@evallesp evallesp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general!!

Comment thread hooks/playbooks/cinder_backups.yaml Outdated
Comment thread hooks/playbooks/cinder_backups.yaml
Comment thread hooks/playbooks/cinder_backups.yaml
Comment thread hooks/playbooks/cinder_backups.yaml
spec.cinder.template.cinderBackup (singluar) in DZ-Storage DT is
replaced with cinderBackups (plural) to deploy multiple cinder backups based on AZ topology.
hooks/playbooks/cinder_backups.yaml validates the behaviour of cinderBackups.

The playbook tests different scenarios of cinder backup creation
and restoring the backups across availability zones.

Jira: OSPRH-28342

Signed-off-by: Gais Ameer <gameer@redhat.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@fultonj

fultonj commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Jun 5, 2026
@fultonj

fultonj commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

@evallesp I think this is safe to merge since it's adding a new playbook and not changing any existing files. If you're happy with the changes that @gais-ameer-rh made are you OK with merging?

@evallesp evallesp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@openshift-ci

openshift-ci Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: evallesp

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved label Jun 5, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit db06864 into openstack-k8s-operators:main Jun 5, 2026
10 checks passed
centosinfra-prod-github-app Bot added a commit to openstack-k8s-operators/architecture that referenced this pull request Jun 8, 2026
[DZ-Storage] Adding cinderBackups to controlplane

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

Reviewed-by: John Fulton <johfulto@redhat.com>
Reviewed-by: Gais Ameer
Reviewed-by: Andrew Bays <andrew.bays@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants