Skip to content

Conversation

@bertinatto
Copy link
Member

@bertinatto bertinatto commented Feb 1, 2024

CC @openshift/storage

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 1, 2024

@bertinatto: This pull request references STOR-1700 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 epic to target the "4.16.0" version, but no target version was set.

Details

In response to this:

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-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 1, 2024
@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 Feb 1, 2024
@openshift-ci openshift-ci bot requested review from dobsonj and gnufied February 1, 2024 21:37
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 1, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bertinatto

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 Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 1, 2024
@bertinatto
Copy link
Member Author

/retest

@bertinatto
Copy link
Member Author

/test images

@bertinatto
Copy link
Member Author

/test e2e-gcp-csi

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 7, 2024

@bertinatto: This pull request references STOR-1700 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 epic to target the "4.16.0" version, but no target version was set.

Details

In response to this:

CC @openshift/storage

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.

First of all, check if the VolumeGroupSnapshot feature is enabled in
the featuregates.

If the feature is enabled, a hook function adds the right cli
arguments to enable the feature when starting both the webhook and the
snapshot-controller.
@bertinatto
Copy link
Member Author

/test images

@bertinatto bertinatto changed the title WIP: STOR-1700: Pass VolumeGroupSnapshot argument if feature is enabled STOR-1700: Pass VolumeGroupSnapshot argument if feature is enabled Feb 8, 2024
@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 Feb 8, 2024
@jsafrane
Copy link
Contributor

jsafrane commented Feb 9, 2024

/lgtm

@jsafrane
Copy link
Contributor

jsafrane commented Feb 9, 2024

/test all

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. and removed lgtm Indicates that a PR is ready to be merged. labels Feb 9, 2024
@jsafrane
Copy link
Contributor

jsafrane commented Feb 9, 2024

failed to create secret: secrets "e2e-gcp-csi" already exists

¯_(ツ)_/¯
/retest-required

@jsafrane
Copy link
Contributor

jsafrane commented Feb 9, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 9, 2024
@bertinatto
Copy link
Member Author

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 9, 2024

@bertinatto: all tests passed!

Full PR test history. Your PR dashboard.

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

@lpettyjo
Copy link

/docs-approved

@Phaow
Copy link
Contributor

Phaow commented Feb 12, 2024

/label qe-approved
Pre verify passed with pre merged build 4.16.0-0.test-2024-02-12-131728-ci-ln-2f6mr7b-latest (build 4.16,openshift/cluster-csi-snapshot-controller-operator#191)

  • Install a cluster check cluster snapshot operator is healthy and the volumegroupsnapshot is not enabled by default.
$ oc logs csi-snapshot-controller-operator-5b7fb787b7-659hj | grep 'FeatureGates'
I0212 15:34:00.001795       1 event.go:364] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"openshift-cluster-storage-operator", Name:"csi-snapshot-controller-operator", UID:"3b21be4a-aaf9-440f-b1c1-06e6c2d165b3", APIVersion:"apps/v1", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'FeatureGatesInitialized' FeatureGates updated to featuregates.Features{Enabled:[]v1.FeatureGateName{"AdminNetworkPolicy", "AlibabaPlatform", "AutomatedEtcdBackup", "AzureWorkloadIdentity", "BuildCSIVolumes", "CSIDriverSharedResource", "CloudDualStackNodeIPs", "DNSNameResolver", "DynamicResourceAllocation", "ExternalCloudProvider", "ExternalCloudProviderAzure", "ExternalCloudProviderExternal", "ExternalCloudProviderGCP", "GCPClusterHostedDNS", "GCPLabelsTags", "GatewayAPI", "InsightsConfigAPI", "InstallAlternateInfrastructureAWS", "KMSv1", "MachineAPIProviderOpenStack", "MachineConfigNodes", "ManagedBootImages", "MaxUnavailableStatefulSet", "MetricsServer", "MixedCPUsAllocation", "NetworkLiveMigration", "NodeSwap", "OnClusterBuild", "OpenShiftPodSecurityAdmission", "PinnedImages", "PrivateHostedZoneAWS", "RouteExternalCertificate", "SignatureStores", "SigstoreImageVerification", "TranslateStreamCloseWebsocketRequests", "UpgradeStatus", "VSphereControlPlaneMachineSet", "VSphereStaticIPs", "ValidatingAdmissionPolicy", "VolumeGroupSnapshot"}, Disabled:[]v1.FeatureGateName{"ClusterAPIInstall", "DisableKubeletCloudCredentialProviders", "EventedPLEG", "MachineAPIOperatorDisableMachineHealthCheckController"}}
$ oc get crd| grep volumegroupsnapshot
  • Enable the feature gate, checked the volumegroupsnapshot crd created as expected, and the args added to the csi-snapshot-webhook and csi-snapshot-controller.
$ oc logs csi-snapshot-controller-operator-5b7fb787b7-659hj | grep 'FeatureGates'
I0212 15:34:00.001795       1 event.go:364] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"openshift-cluster-storage-operator", Name:"csi-snapshot-controller-operator", UID:"3b21be4a-aaf9-440f-b1c1-06e6c2d165b3", APIVersion:"apps/v1", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'FeatureGatesInitialized' FeatureGates updated to featuregates.Features{Enabled:[]v1.FeatureGateName{"AdminNetworkPolicy", "AlibabaPlatform", "AutomatedEtcdBackup", "AzureWorkloadIdentity", "BuildCSIVolumes", "CSIDriverSharedResource", "CloudDualStackNodeIPs", "DNSNameResolver", "DynamicResourceAllocation", "ExternalCloudProvider", "ExternalCloudProviderAzure", "ExternalCloudProviderExternal", "ExternalCloudProviderGCP", "GCPClusterHostedDNS", "GCPLabelsTags", "GatewayAPI", "InsightsConfigAPI", "InstallAlternateInfrastructureAWS", "KMSv1", "MachineAPIProviderOpenStack", "MachineConfigNodes", "ManagedBootImages", "MaxUnavailableStatefulSet", "MetricsServer", "MixedCPUsAllocation", "NetworkLiveMigration", "NodeSwap", "OnClusterBuild", "OpenShiftPodSecurityAdmission", "PinnedImages", "PrivateHostedZoneAWS", "RouteExternalCertificate", "SignatureStores", "SigstoreImageVerification", "TranslateStreamCloseWebsocketRequests", "UpgradeStatus", "VSphereControlPlaneMachineSet", "VSphereStaticIPs", "ValidatingAdmissionPolicy", "VolumeGroupSnapshot"}, Disabled:[]v1.FeatureGateName{"ClusterAPIInstall", "DisableKubeletCloudCredentialProviders", "EventedPLEG", "MachineAPIOperatorDisableMachineHealthCheckController"}}
I0212 15:34:00.001877       1 starter.go:148] FeatureGates initialized: knownFeatureGates=[AdminNetworkPolicy AlibabaPlatform AutomatedEtcdBackup AzureWorkloadIdentity BuildCSIVolumes CSIDriverSharedResource CloudDualStackNodeIPs ClusterAPIInstall DNSNameResolver DisableKubeletCloudCredentialProviders DynamicResourceAllocation EventedPLEG ExternalCloudProvider ExternalCloudProviderAzure ExternalCloudProviderExternal ExternalCloudProviderGCP GCPClusterHostedDNS GCPLabelsTags GatewayAPI InsightsConfigAPI InstallAlternateInfrastructureAWS KMSv1 MachineAPIOperatorDisableMachineHealthCheckController MachineAPIProviderOpenStack MachineConfigNodes ManagedBootImages MaxUnavailableStatefulSet MetricsServer MixedCPUsAllocation NetworkLiveMigration NodeSwap OnClusterBuild OpenShiftPodSecurityAdmission PinnedImages PrivateHostedZoneAWS RouteExternalCertificate SignatureStores SigstoreImageVerification TranslateStreamCloseWebsocketRequests UpgradeStatus VSphereControlPlaneMachineSet VSphereStaticIPs ValidatingAdmissionPolicy VolumeGroupSnapshot]
$ oc get crd| grep volumegroupsnapshot
volumegroupsnapshotclasses.groupsnapshot.storage.k8s.io           2024-02-12T15:26:44Z
volumegroupsnapshotcontents.groupsnapshot.storage.k8s.io          2024-02-12T15:26:44Z
volumegroupsnapshots.groupsnapshot.storage.k8s.io                 2024-02-12T15:26:44Z
$ oc get deploy/csi-snapshot-webhook -oyaml| grep 'enable-volume-group'
        - --enable-volume-group-snapshot-webhook
$ oc get deploy/csi-snapshot-controller -oyaml| grep 'enable-volume-group'
        - --enable-volume-group-snapshots

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Feb 12, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 12, 2024

@bertinatto: This pull request references STOR-1700 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 epic to target the "4.16.0" version, but no target version was set.

Details

In response to this:

CC @openshift/storage

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.

@bertinatto
Copy link
Member Author

/label px-approved

@bertinatto
Copy link
Member Author

/docs-approved

/label docs-approved

@openshift-ci openshift-ci bot added px-approved Signifies that Product Support has signed off on this PR docs-approved Signifies that Docs has signed off on this PR labels Feb 12, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 4b8c056 into openshift:master Feb 12, 2024
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-cluster-csi-snapshot-controller-operator-container-v4.16.0-202402121808.p0.g4b8c056.assembly.stream.el9 for distgit ose-cluster-csi-snapshot-controller-operator.
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. docs-approved Signifies that Docs has signed off on this PR 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. px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants