Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e: ceph-csi-operator deployment support #4947

Merged

Conversation

iPraveenParihar
Copy link
Contributor

@iPraveenParihar iPraveenParihar commented Nov 7, 2024

Describe what this PR does

This PR supports running e2e tests against a ceph-csi deployment via ceph-csi-operator.

Includes -

  • scripts/deploy-ceph-csi-operator.sh to deploy ceph-csi via operator.
  • e2e/operator.go includes util methods for ceph-csi-operator.
  • changes to handle delete/update of ceph-csi pods.

Is there anything that requires special attention

Do you have any questions?

Is the change backward compatible?

Are there concerns around backward compatibility?

Provide any external context for the change, if any.

For example:

  • Kubernetes links that explain why the change is required
  • CSI spec related changes/catch-up that necessitates this patch
  • golang related practices that necessitates this change

Related issues

Mention any github issues relevant to this PR. Adding below line
will help to auto close the issue once the PR is merged.

Depends-on: #4931
Fixes: #4856

Future concerns

List items that are not part of the PR and do not impact it's
functionality, but are work items that can be taken up subsequently.

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • 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 iPraveenParihar added the component/testing Additional test cases or CI work label Nov 7, 2024
@iPraveenParihar iPraveenParihar self-assigned this Nov 7, 2024
@iPraveenParihar iPraveenParihar force-pushed the e2e/ceph-csi-operator-deployment-support branch from 306a93b to 0013f7a Compare November 7, 2024 06:39
Copy link

github-actions bot commented Dec 7, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

Copy link

github-actions bot commented Jan 8, 2025

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

Copy link

This pull request has been automatically closed due to inactivity. Please re-open if these changes are still required.

@nixpanic
Copy link
Member

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

@nixpanic
Copy link
Member

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

This failed to pull the quay.io/cephcsi/ceph-csi-operator: (without tag?) from the CI mirror. You will need to add the container-image to images.txt and wait until tomorrow to try again.

@iPraveenParihar iPraveenParihar force-pushed the e2e/ceph-csi-operator-deployment-support branch from 0013f7a to 2e8be35 Compare February 13, 2025 09:54
@iPraveenParihar
Copy link
Contributor Author

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

@iPraveenParihar
Copy link
Contributor Author

/retest ci/centos/mini-e2e-operator/k8s-1.31

@iPraveenParihar iPraveenParihar force-pushed the e2e/ceph-csi-operator-deployment-support branch from 2e8be35 to 91eb086 Compare February 17, 2025 05:12
@iPraveenParihar
Copy link
Contributor Author

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

@iPraveenParihar iPraveenParihar force-pushed the e2e/ceph-csi-operator-deployment-support branch from 91eb086 to a17041e Compare February 17, 2025 06:48
@iPraveenParihar
Copy link
Contributor Author

/retest ci/centos/mini-e2e-operator/k8s-1.31

@iPraveenParihar iPraveenParihar force-pushed the e2e/ceph-csi-operator-deployment-support branch from a17041e to 0d9a18b Compare February 24, 2025 05:13
@iPraveenParihar
Copy link
Contributor Author

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

@iPraveenParihar iPraveenParihar force-pushed the e2e/ceph-csi-operator-deployment-support branch 3 times, most recently from 95811d1 to a00f47f Compare February 24, 2025 09:54
@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/mini-e2e-helm/k8s-1.32

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/mini-e2e-helm/k8s-1.31

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/mini-e2e-helm/k8s-1.30

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/mini-e2e/k8s-1.32

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/mini-e2e/k8s-1.31

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/mini-e2e/k8s-1.30

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/k8s-e2e-external-storage/1.32

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/k8s-e2e-external-storage/1.31

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/k8s-e2e-external-storage/1.30

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/upgrade-tests

Copy link
Contributor

mergify bot commented Mar 27, 2025

This pull request has been removed from the queue for the following reason: pull request branch update failed.

The pull request can't be updated

You should update or rebase your pull request manually.

If you want to requeue this pull request, you can post a @mergifyio requeue comment.

@nixpanic
Copy link
Member

@Mergifyio rebase

This commits adds e2e/operator.go containing utility
methods specific to the operator.

Signed-off-by: Praveen M <[email protected]>
Use the main branch instead of the release till the following fixes
are available in next release (> v0.2.0)
- ceph/ceph-csi-operator#206
- ceph/ceph-csi-operator#207

Signed-off-by: Praveen M <[email protected]>
Copy link
Contributor

mergify bot commented Mar 27, 2025

rebase

✅ Branch has been successfully rebased

@nixpanic nixpanic force-pushed the e2e/ceph-csi-operator-deployment-support branch from 929cb0f to 626b673 Compare March 27, 2025 15:40
@nixpanic
Copy link
Member

/test ci/centos/mini-e2e-helm/k8s-1.32

@nixpanic
Copy link
Member

/test ci/centos/mini-e2e-helm/k8s-1.31

@nixpanic
Copy link
Member

/test ci/centos/mini-e2e-helm/k8s-1.30

@nixpanic
Copy link
Member

/test ci/centos/mini-e2e/k8s-1.32

@nixpanic
Copy link
Member

/test ci/centos/mini-e2e/k8s-1.31

@nixpanic
Copy link
Member

/test ci/centos/mini-e2e/k8s-1.30

@nixpanic
Copy link
Member

/test ci/centos/k8s-e2e-external-storage/1.32

@nixpanic
Copy link
Member

/test ci/centos/k8s-e2e-external-storage/1.31

@nixpanic
Copy link
Member

/test ci/centos/k8s-e2e-external-storage/1.30

@nixpanic
Copy link
Member

/test ci/centos/upgrade-tests

@iPraveenParihar
Copy link
Contributor Author

/retest ci/centos/mini-e2e/k8s-1.32

@mergify mergify bot merged commit c1564a1 into ceph:devel Mar 28, 2025
26 checks passed
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.

Run e2e with ceph-csi deployed via ceph-csi-operator
4 participants