Bug 1999187

Summary: VPA E2E test aws-operator is failing due to use of removed v1beta1 RBAC API
Product: OpenShift Container Platform Reporter: Joel Smith <joelsmith>
Component: NodeAssignee: Joel Smith <joelsmith>
Node sub component: Autoscaler (HPA, VPA) QA Contact: Weinan Liu <weinliu>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:49:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joel Smith 2021-08-30 16:32:47 UTC
Description of problem:

The aws-operator E2E test of the VPA Operator is failing on 4.9 because it is attempting to create v1beta1 resources whose types have been removed (post deprecation). The resources must be updated to v1.


Version-Release number of selected component (if applicable):

4.9.x


How reproducible:

100%

Steps to Reproduce:
1. Open a PR against openshift/vertical-pod-autoscaler-operator repo
2. Wait for aws-operator test to finish

Actual results:

Fails with:
unable to recognize "_output/deployment/02_vpa-rbac.yaml": no matches for kind "Role" in version "rbac.authorization.k8s.io/v1beta1"
unable to recognize "_output/deployment/02_vpa-rbac.yaml": no matches for kind "RoleBinding" in version "rbac.authorization.k8s.io/v1beta1"


Expected results:

Test passes

Additional info:

Sample failure https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_vertical-pod-autoscaler-operator/100/pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-operator/1432360319899930624

Comment 7 errata-xmlrpc 2021-10-18 17:49:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759