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-34544: Disable PersistentVolumeLabel admission plugin #1693

Merged

Conversation

jsafrane
Copy link
Contributor

PersistentVolumeLabel admission plugin needs a valid cloud config. kube-apiserver does not get it in OCP 4.17, and thus it rejects valid in-tree GCE PersistentVolumes.

The admission plugin was deprecated upstream a long time ago, it was removed from Kubernetes 1.31 (OCP 4.18) and it cannot work without a cloud provider in kube-apiserver anyway.

cc @openshift/storage

PersistentVolumeLabel admission plugin needs a valid cloud config.
kube-apiserver does not get it in OCP 4.17, and thus it reject valid
in-tree GCE PersistentVolumes.

The admission plugin was deprecated upstream a long time ago, it was
removed from Kubernetes 1.31 (OCP 4.18) and it cannot work without
a cloud provider in kube-apiserver anyway.
@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. labels May 29, 2024
@openshift-ci-robot
Copy link

@jsafrane: This pull request references Jira Issue OCPBUGS-34544, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.17.0) matches configured target version for branch (4.17.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (wduan@redhat.com), skipping review request.

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

In response to this:

PersistentVolumeLabel admission plugin needs a valid cloud config. kube-apiserver does not get it in OCP 4.17, and thus it rejects valid in-tree GCE PersistentVolumes.

The admission plugin was deprecated upstream a long time ago, it was removed from Kubernetes 1.31 (OCP 4.18) and it cannot work without a cloud provider in kube-apiserver anyway.

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.

@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 May 29, 2024
@openshift-ci openshift-ci bot requested review from deads2k and mfojtik May 29, 2024 09:19
jsafrane added a commit to jsafrane/hypershift that referenced this pull request May 29, 2024
PersistentVolumeLabel admission plugin needs a valid cloud config.
kube-apiserver does not get it in HyperShift, and thus it rejects valid
Azure Disk PVs.

The admission plugin was deprecated upstream a long time ago, it was
removed from Kubernetes 1.31 (OCP 4.18) and it cannot work without
a cloud provider in kube-apiserver anyway.

It's also being disabled in standalone OCP, openshift/cluster-kube-apiserver-operator#1693
@nrb
Copy link

nrb commented May 29, 2024

/retest

@jsafrane
Copy link
Contributor Author

k8s-e2e-gcp-serial with failing SELinuxMount metrics is not related to this PR - it most probably needs kubelet 1.30, which is not yet present in RHCOS.
I am not able to judge the other errors

@elmiko
Copy link

elmiko commented May 30, 2024

thanks for posting this @jsafrane

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 30, 2024
@tkashem
Copy link
Contributor

tkashem commented May 30, 2024

/approve

Copy link
Contributor

openshift-ci bot commented May 30, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: elmiko, jsafrane, tkashem

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 30, 2024
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 0925849 and 2 for PR HEAD 60392c1 in total

@jsafrane
Copy link
Contributor Author

jsafrane commented Jun 4, 2024

/retest-required

Copy link
Contributor

openshift-ci bot commented Jun 4, 2024

@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-gcp-operator-single-node 60392c1 link false /test e2e-gcp-operator-single-node
ci/prow/e2e-aws-operator-disruptive-single-node 60392c1 link false /test e2e-aws-operator-disruptive-single-node
ci/prow/k8s-e2e-gcp-serial 60392c1 link false /test k8s-e2e-gcp-serial

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.

@jsafrane
Copy link
Contributor Author

jsafrane commented Jun 5, 2024

/retest-required

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD c700fe8 and 1 for PR HEAD 60392c1 in total

@openshift-merge-bot openshift-merge-bot bot merged commit 94ca049 into openshift:master Jun 5, 2024
12 of 15 checks passed
@openshift-ci-robot
Copy link

@jsafrane: Jira Issue OCPBUGS-34544: 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-34544 has not been moved to the MODIFIED state.

In response to this:

PersistentVolumeLabel admission plugin needs a valid cloud config. kube-apiserver does not get it in OCP 4.17, and thus it rejects valid in-tree GCE PersistentVolumes.

The admission plugin was deprecated upstream a long time ago, it was removed from Kubernetes 1.31 (OCP 4.18) and it cannot work without a cloud provider in kube-apiserver anyway.

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.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-cluster-kube-apiserver-operator-container-v4.17.0-202406060211.p0.g94ca049.assembly.stream.el9 for distgit ose-cluster-kube-apiserver-operator.
All builds following this will include this PR.

jsafrane added a commit to jsafrane/hypershift that referenced this pull request Jun 17, 2024
PersistentVolumeLabel admission plugin needs a valid cloud config.
kube-apiserver does not get it in HyperShift, and thus it rejects valid
Azure Disk PVs.

The admission plugin was deprecated upstream a long time ago, it was
removed from Kubernetes 1.31 (OCP 4.18) and it cannot work without
a cloud provider in kube-apiserver anyway.

It's also being disabled in standalone OCP, openshift/cluster-kube-apiserver-operator#1693
@rphillips
Copy link
Contributor

/cherry-pick release-4.16

@openshift-cherrypick-robot

@rphillips: new pull request created: #1702

In response to this:

/cherry-pick release-4.16

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.

jsafrane added a commit to jsafrane/kubernetes that referenced this pull request Jun 18, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/kubernetes that referenced this pull request Jun 18, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/hypershift that referenced this pull request Jun 18, 2024
PersistentVolumeLabel admission plugin needs a valid cloud config.
kube-apiserver does not get it in HyperShift, and thus it rejects valid
Azure Disk PVs.

The admission plugin was deprecated upstream a long time ago, it was
removed from Kubernetes 1.31 (OCP 4.18) and it cannot work without
a cloud provider in kube-apiserver anyway.

It's also being disabled in standalone OCP, openshift/cluster-kube-apiserver-operator#1693
soltysh pushed a commit to soltysh/kubernetes that referenced this pull request Jun 28, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
soltysh pushed a commit to soltysh/kubernetes that referenced this pull request Jul 1, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
soltysh pushed a commit to soltysh/kubernetes that referenced this pull request Jul 15, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
soltysh pushed a commit to soltysh/kubernetes that referenced this pull request Jul 16, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
soltysh pushed a commit to soltysh/kubernetes that referenced this pull request Jul 17, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
soltysh pushed a commit to soltysh/kubernetes that referenced this pull request Jul 18, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
bertinatto pushed a commit to bertinatto/kubernetes that referenced this pull request Aug 1, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
bertinatto pushed a commit to bertinatto/kubernetes that referenced this pull request Aug 2, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
bertinatto pushed a commit to bertinatto/kubernetes that referenced this pull request Aug 5, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
bertinatto pushed a commit to bertinatto/kubernetes that referenced this pull request Aug 6, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
bertinatto pushed a commit to bertinatto/kubernetes that referenced this pull request Aug 7, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
atiratree pushed a commit to atiratree/kubernetes that referenced this pull request Aug 9, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
bertinatto pushed a commit to bertinatto/kubernetes that referenced this pull request Aug 13, 2024
Remove PersistentVolumeLabel admission plugin from the default list of
enabled admissions.

The plugin is deprecated upstream and most of its functionality was removed
in 1.29 and 1.30.

This is continuation of openshift/cluster-kube-apiserver-operator#1693,
the admission is enabled on multiple places.
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. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants