Skip to content

[cifmw_backup_restore] Skip Swift tests when Swift is not enabled in the control plane#4002

Open
stuggi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
stuggi:br_swift_conditional
Open

[cifmw_backup_restore] Skip Swift tests when Swift is not enabled in the control plane#4002
stuggi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
stuggi:br_swift_conditional

Conversation

@stuggi

@stuggi stuggi commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

The e2e flow unconditionally ran Swift data upload/verify steps even when Swift was not deployed, causing failures on non-Swift environments. Query .spec.swift.enabled from the OpenStackControlPlane CR before attempting Swift operations and skip gracefully when Swift is absent.

…the control plane

The e2e flow unconditionally ran Swift data upload/verify steps
even when Swift was not deployed, causing failures on non-Swift
environments. Query `.spec.swift.enabled` from the
`OpenStackControlPlane` CR before attempting Swift operations
and skip gracefully when Swift is absent.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
@openshift-ci

openshift-ci Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign nemarjan for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

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.

1 participant