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

OCPBUGS-48403: Bring groupsnapshot beta feature to 4.18 #29427

Conversation

jsafrane
Copy link
Contributor

@jsafrane jsafrane commented Jan 13, 2025

  • Bump openshift/kubernetes from OCPBUGS-48403: Bring groupsnapshot beta feature to 4.18 kubernetes#2169.

  • Add a new test driver [Driver: csi-hostpath-groupsnapshot] that runs the csi-driver-hostpath with group snapshots enabled. It is mostly a copy of the original test driver from vendor/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi.go. This code should be removed when the feature gate is enabled in OCP and we can therefore enable it in the default [Driver: csi-hostpath] test driver.

    • The volume group tests need to be run explicitly via ./openshift-tests run all --run="Driver: csi-hostpath-groupsnapshot.*Feature:volumegroupsnapshot". A CI job will follow.
  • This also reverts OCPBUGS-48403: Add new images for group snapshot support #29455, the images should be populated from kubernetes manifests now.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 13, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 13, 2025

@jsafrane: This pull request references STOR-2135 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

Bump openshift/kubernetes from openshift/kubernetes#2169

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 openshift-eng/jira-lifecycle-plugin repository.

@jsafrane jsafrane changed the title STOR-2135: Bring groupsnapshot beta feature to 4.18 WIP: STOR-2135: Bring groupsnapshot beta feature to 4.18 Jan 13, 2025
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 13, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 13, 2025

@jsafrane: This pull request references STOR-2135 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

Bump openshift/kubernetes from openshift/kubernetes#2169

WIP: wait for openshift/kubernetes#2169 to merge

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from deads2k and sjenning January 13, 2025 17:10
@openshift-ci openshift-ci bot added the vendor-update Touching vendor dir or related files label Jan 13, 2025
@jsafrane jsafrane changed the title WIP: STOR-2135: Bring groupsnapshot beta feature to 4.18 WIP: OCPBUGS-48403: Bring groupsnapshot beta feature to 4.18 Jan 15, 2025
@openshift-ci-robot
Copy link

@jsafrane: This pull request references Jira Issue OCPBUGS-48403, which is valid.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-48402 is in the state ON_QA, which is one of the valid states (MODIFIED, ON_QA, VERIFIED)
  • dependent Jira Issue OCPBUGS-48402 targets the "4.19.0" version, which is one of the valid target versions: 4.19.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Bump openshift/kubernetes from openshift/kubernetes#2169

WIP: wait for openshift/kubernetes#2169 to merge

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Jan 15, 2025
@jsafrane jsafrane force-pushed the 4.18-add-groupsnapshot-real branch from 11817fb to 65c585b Compare January 20, 2025 16:28
@openshift-ci openshift-ci bot added the e2e-images-update Related to images used by e2e tests label Jan 20, 2025
@jsafrane jsafrane force-pushed the 4.18-add-groupsnapshot-real branch 2 times, most recently from 242e09d to b9fe31c Compare January 22, 2025 10:57
@openshift-ci-robot
Copy link

@jsafrane: This pull request references Jira Issue OCPBUGS-48403, which is valid.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-48402 is in the state Verified, which is one of the valid states (MODIFIED, ON_QA, VERIFIED)
  • dependent Jira Issue OCPBUGS-48402 targets the "4.19.0" version, which is one of the valid target versions: 4.19.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request.

In response to this:

  • Bump openshift/kubernetes from OCPBUGS-48403: Bring groupsnapshot beta feature to 4.18 kubernetes#2169.
  • Add a new test driver [Driver: csi-hostpath-groupsnapshot] that runs the csi-driver-hostpath with group snapshots enabled. It is mostly a copy of the original test driver from vendor/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi.go. This code should be removed when the feature gate is enabled in OCP and we can therefore enable it in the default [Driver: csi-hostpath]"` test driver.

WIP: wait for openshift/kubernetes#2169 to merge

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 openshift-eng/jira-lifecycle-plugin repository.


// VAC E2E FeatureGate patches
// TODO: These can be removed after the VolumeAttributesClass feature is default enabled
patches = append(patches, utils.PatchCSIOptions{
Copy link
Member

Choose a reason for hiding this comment

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

Why are we enabling VAC features also btw?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's enabled in the original csi-hostpath driver, I just copied it.

@jsafrane
Copy link
Contributor Author

/test e2e-aws-csi
network infrastructure did not become ready in 15 minutes
/test e2e-metal-ipi-ovn
/test e2e-metal-ipi-ovn-ipv6
failed build?

@jsafrane jsafrane force-pushed the 4.18-add-groupsnapshot-real branch from 2c82be0 to b632449 Compare January 24, 2025 09:56
@jsafrane jsafrane changed the title WIP: OCPBUGS-48403: Bring groupsnapshot beta feature to 4.18 OCPBUGS-48403: Bring groupsnapshot beta feature to 4.18 Jan 24, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 24, 2025
@openshift-ci-robot
Copy link

@jsafrane: This pull request references Jira Issue OCPBUGS-48403, which is valid.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-48402 is in the state Verified, which is one of the valid states (MODIFIED, ON_QA, VERIFIED)
  • dependent Jira Issue OCPBUGS-48402 targets the "4.19.0" version, which is one of the valid target versions: 4.19.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

  • Bump openshift/kubernetes from OCPBUGS-48403: Bring groupsnapshot beta feature to 4.18 kubernetes#2169.
  • Add a new test driver [Driver: csi-hostpath-groupsnapshot] that runs the csi-driver-hostpath with group snapshots enabled. It is mostly a copy of the original test driver from vendor/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi.go. This code should be removed when the feature gate is enabled in OCP and we can therefore enable it in the default [Driver: csi-hostpath] test driver.
  • The volume group tests need to be run explicitly via ./openshift-tests run all --run="Driver: csi-hostpath-groupsnapshot.*Feature:volumegroupsnapshot". A CI job will follow.

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 openshift-eng/jira-lifecycle-plugin repository.

@jsafrane jsafrane force-pushed the 4.18-add-groupsnapshot-real branch from b632449 to 4bd2b5a Compare January 24, 2025 09:59
@jsafrane
Copy link
Contributor Author

/retest
half of image builds failed because of nothing provides elfutils needed by rteval-3.7-10.el9_4.noarch from rhel-9-nfv, but some have succeeded. Some RPM repo hiccup?

@jsafrane
Copy link
Contributor Author

/test e2e-metal-ipi-ovn

@bertinatto
Copy link
Member

/test images

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 4e1bbe4 and 1 for PR HEAD 4bd2b5a in total

@jsafrane
Copy link
Contributor Author

/retest-required

1 similar comment
@jsafrane
Copy link
Contributor Author

/retest-required

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD b439f1d and 0 for PR HEAD 4bd2b5a in total

@openshift-ci-robot
Copy link

/hold

Revision 4bd2b5a was retested 3 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 28, 2025
The tests need deployment of csi-driver-hostpath with enabled group
snapshots. Upstream uses a script, which cannot be used in OCP.

We replace the script with a code that copies upstream csi-hostpath test
driver as "csi-hostpath-groupsnapshot" that run the driver with group
snapshots enabled.
@jsafrane jsafrane force-pushed the 4.18-add-groupsnapshot-real branch from 4bd2b5a to af0a655 Compare January 30, 2025 14:59
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 30, 2025
@jsafrane
Copy link
Contributor Author

Updated with openshift/kubernetes#2185

@jsafrane
Copy link
Contributor Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 30, 2025
@jsafrane
Copy link
Contributor Author

/retest-required

Copy link
Member

@bertinatto bertinatto left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 31, 2025
Copy link
Contributor

openshift-ci bot commented Jan 31, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bertinatto, jsafrane

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

The pull request process is described here

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

@jsafrane
Copy link
Contributor Author

/retest-required

@gnufied
Copy link
Member

gnufied commented Jan 31, 2025

/payload-job periodic-ci-openshift-release-master-ci-4.18-e2e-aws-ovn-techpreview

Copy link
Contributor

openshift-ci bot commented Jan 31, 2025

@gnufied: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-ci-4.18-e2e-aws-ovn-techpreview

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/5f7e4720-dfe9-11ef-9310-49082eba2663-0

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 2cb206c and 2 for PR HEAD 5f9cf14 in total

Copy link
Contributor

openshift-ci bot commented Jan 31, 2025

@jsafrane: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn-kube-apiserver-rollout 5f9cf14 link false /test e2e-aws-ovn-kube-apiserver-rollout
ci/prow/okd-scos-e2e-aws-ovn 5f9cf14 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-openstack-ovn 5f9cf14 link false /test e2e-openstack-ovn
ci/prow/e2e-aws-ovn-cgroupsv2 5f9cf14 link false /test e2e-aws-ovn-cgroupsv2
ci/prow/e2e-aws-ovn-upgrade 5f9cf14 link false /test e2e-aws-ovn-upgrade

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 2cb206c and 2 for PR HEAD 5f9cf14 in total

@jsafrane
Copy link
Contributor Author

jsafrane commented Feb 2, 2025

/retest-required

@openshift-merge-bot openshift-merge-bot bot merged commit 1662021 into openshift:release-4.18 Feb 2, 2025
24 of 29 checks passed
@openshift-ci-robot
Copy link

@jsafrane: Jira Issue OCPBUGS-48403: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-48403 has not been moved to the MODIFIED state.

In response to this:

  • Bump openshift/kubernetes from OCPBUGS-48403: Bring groupsnapshot beta feature to 4.18 kubernetes#2169.

  • Add a new test driver [Driver: csi-hostpath-groupsnapshot] that runs the csi-driver-hostpath with group snapshots enabled. It is mostly a copy of the original test driver from vendor/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi.go. This code should be removed when the feature gate is enabled in OCP and we can therefore enable it in the default [Driver: csi-hostpath] test driver.

  • The volume group tests need to be run explicitly via ./openshift-tests run all --run="Driver: csi-hostpath-groupsnapshot.*Feature:volumegroupsnapshot". A CI job will follow.

  • This also reverts OCPBUGS-48403: Add new images for group snapshot support #29455, the images should be populated from kubernetes manifests now.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: openshift-enterprise-tests
This PR has been included in build openshift-enterprise-tests-container-v4.18.0-202502021604.p0.g1662021.assembly.stream.el9.
All builds following this will include this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. e2e-images-update Related to images used by e2e tests jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. vendor-update Touching vendor dir or related files
Projects
None yet
Development

Successfully merging this pull request may close these issues.