Skip to content

e2e: add setEnableFencing for operator deployment#6221

Closed
iPraveenParihar wants to merge 1 commit into
ceph:develfrom
iPraveenParihar:e2e/enable-fencing-operator
Closed

e2e: add setEnableFencing for operator deployment#6221
iPraveenParihar wants to merge 1 commit into
ceph:develfrom
iPraveenParihar:e2e/enable-fencing-operator

Conversation

@iPraveenParihar

Copy link
Copy Markdown
Contributor

Describe what this PR does

Add setEnableFencing to the DeploymentMethod interface with a default no-op on DriverInfo for template-based deployments. OperatorDeployment overrides it to patch the operator config (spec.driverSpecDefaults.enableFencing).

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on [Submitting a Pull Request](https://github.com/ceph/ceph csi/blob/devel/docs/development-guide.md#development-workflow)
  • Pending release notes updated with breaking and/or notable changes for the next major release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

Show available bot commands

These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

  • /retest ci/centos/<job-name>: retest the <job-name> after unrelated
    failure (please report the failure too!)

@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

/test ci/centos/mini-e2e-operator/k8s-1.35

@mergify mergify Bot added the component/testing Additional test cases or CI work label Apr 6, 2026
Add setEnableFencing to the DeploymentMethod interface with a
default no-op on DriverInfo for template-based deployments.
OperatorDeployment overrides it to patch the operator config
(spec.driverSpecDefaults.enableFencing).

Signed-off-by: Praveen M <m.praveen@ibm.com>
@iPraveenParihar iPraveenParihar force-pushed the e2e/enable-fencing-operator branch from ec33496 to 973122b Compare April 6, 2026 10:51
@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

/test ci/centos/mini-e2e-operator/k8s-1.35

@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

Need to wait for Oeprator to reconcile for setmetadata=false update.
Instead of investing, we need to deprecate #5433.

Will re-run after #6225 is merged

@nixpanic

nixpanic commented Apr 7, 2026

Copy link
Copy Markdown
Member

there is a similar commit in #5672 for this

@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

Closing as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/testing Additional test cases or CI work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants