Skip to content

Bug 2033536: OpenShift Api update to fix Alibaba CRD validation#2884

Merged
openshift-merge-robot merged 3 commits intoopenshift:masterfrom
kwoodson:api_update
Dec 23, 2021
Merged

Bug 2033536: OpenShift Api update to fix Alibaba CRD validation#2884
openshift-merge-robot merged 3 commits intoopenshift:masterfrom
kwoodson:api_update

Conversation

@kwoodson
Copy link
Copy Markdown

Fixes Bug 2033536

- What I did
Updated the latest vendor to openshift/api.
Updated the Dockerfile, Dockerfile.rhel7 to go1.17 to fix compiling issues
Updated CRD to fix validation
- How to verify it
Install using an Alibaba cluster

INFO Install complete!                            
INFO To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/home/kwoodson/tmp/alibaba/cluster/auth/kubeconfig' 
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.test.alicloud-dev.devcluster.openshift.com 
INFO Login to the console with user: "kubeadmin", and password: "xxxxxx" 
DEBUG Time elapsed per stage:                      
DEBUG            cluster: 2m44s                    
DEBUG          bootstrap: 1m7s                     
DEBUG Bootstrap Complete: 14m17s                   
DEBUG                API: 3m5s                     
DEBUG  Cluster Operators: 17m27s                   
INFO Time elapsed: 35m41s                         

- Description for the changelog
OpenShift API updates to fix Alibaba resourceGroupID CRD validation

Also requires openshift/cluster-config-operator/pull/229

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Dec 18, 2021

@kwoodson: This pull request references Bugzilla bug 2033536, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

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

Requesting review from QA contact:
/cc @jianli-wei

Details

In response to this:

Bug 2033536: OpenShift Api update to fix Alibaba CRD validation

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.

@openshift-ci openshift-ci Bot added bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Dec 18, 2021
@openshift-ci openshift-ci Bot requested a review from jianli-wei December 18, 2021 03:36
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 18, 2021
@openshift-ci openshift-ci Bot requested review from jkyros and mkenigs December 18, 2021 03:36
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 18, 2021
Comment thread manifests/controllerconfig.crd.yaml Outdated
Copy link
Copy Markdown
Contributor

@mtulio mtulio Dec 18, 2021

Choose a reason for hiding this comment

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

we need to check if it will not be replaced by auto-generated code or need to update here: https://github.com/openshift/machine-config-operator/blob/master/pkg/operator/assets/bindata.go#L586

@kwoodson
Copy link
Copy Markdown
Author

Retested latest changes. Everything looks healthy:

NAME                                 STATUS   ROLES    AGE   VERSION
test-nf84w-master-0                  Ready    master   31m   v1.22.1+6859754
test-nf84w-master-1                  Ready    master   30m   v1.22.1+6859754
test-nf84w-master-2                  Ready    master   32m   v1.22.1+6859754
test-nf84w-worker-us-east-1a-vv5g2   Ready    worker   19m   v1.22.1+6859754
test-nf84w-worker-us-east-1b-qxjsp   Ready    worker   14m   v1.22.1+6859754
test-nf84w-worker-us-east-1b-zx4d2   Ready    worker   14m   v1.22.1+6859754
NAME                                 PHASE     TYPE            REGION	   ZONE         AGE
test-nf84w-master-0                  Running   ecs.g6.xlarge   us-east-1   us-east-1b   33m
test-nf84w-master-1                  Running   ecs.g6.xlarge   us-east-1   us-east-1a   33m
test-nf84w-master-2                  Running   ecs.g6.xlarge   us-east-1   us-east-1b   33m
test-nf84w-worker-us-east-1a-vv5g2   Running   ecs.g6.large    us-east-1   us-east-1a   26m
test-nf84w-worker-us-east-1b-qxjsp   Running   ecs.g6.large    us-east-1   us-east-1b   26m
test-nf84w-worker-us-east-1b-zx4d2   Running   ecs.g6.large    us-east-1   us-east-1b   26m
INFO Install complete!                            
INFO To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/home/kwoodson/tmp/alibaba/cluster/auth/kubeconfig' 
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.test.alicloud-dev.devcluster.openshift.com 
INFO Login to the console with user: "kubeadmin", and password: "xxxxx" 
DEBUG Time elapsed per stage:                      
DEBUG            cluster: 2m52s                    
DEBUG          bootstrap: 1m10s                    
DEBUG Bootstrap Complete: 14m15s                   
DEBUG                API: 3m0s                     
DEBUG  Cluster Operators: 22m27s                   
INFO Time elapsed: 40m49s                         

@kwoodson
Copy link
Copy Markdown
Author

/retest

@mtulio
Copy link
Copy Markdown
Contributor

mtulio commented Dec 18, 2021

/retest-required

@jianli-wei
Copy link
Copy Markdown

jianli-wei commented Dec 20, 2021

/Lgtm

FYI using slack app "cluster-bot" to "build #2884,openshift/cluster-image-registry-operator#724", we can get successful IPI installation on Alibabacloud (with "credentialsMode: Manual"):
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.10.0-0.ci.test-2021-12-22-021122-ci-ln-x2b9shk-latest True False 34s Cluster version is 4.10.0-0.ci.test-2021-12-22-021122-ci-ln-x2b9shk-latest

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 20, 2021
@sinnykumari
Copy link
Copy Markdown
Contributor

Just an FYI, there is an open PR to update Kube and other libs to 1.23 #2880 and move to go 1.17.

@kwoodson
Copy link
Copy Markdown
Author

@sinnykumari Thanks, is it possible that #2880 could update to the latest openshift/API commit? We would like to include a recent change to the kubebuilder validation of a field? This commit openshift/api@8779abf is one we would like to include.

@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 20, 2021
@kwoodson
Copy link
Copy Markdown
Author

I believe the tests are failing because we need the CI images to move to golang 1.17. I have opened a PR here openshift/release#24783

@kwoodson
Copy link
Copy Markdown
Author

/retest

@kwoodson
Copy link
Copy Markdown
Author

/test unit

@kwoodson
Copy link
Copy Markdown
Author

/test bootstrap-unit

@sinnykumari
Copy link
Copy Markdown
Contributor

sinnykumari commented Dec 20, 2021

I will request to co-ordinate with author of PR #2880 and see what works best for both of you.

@sinnykumari
Copy link
Copy Markdown
Contributor

sinnykumari commented Dec 20, 2021

About unit and verify test failure, I have already worked earlier with author of PR#2880 to get fixed.
@eggfoobar please co-ordinate with @kwoodson

@sinnykumari
Copy link
Copy Markdown
Contributor

@kwoodson Sorry for the confusion, please ignore my previous comments.
As this is a valid bug, this PR is good to get reviewed and merged without co-ordination with #2880 (comment)

@sinnykumari
Copy link
Copy Markdown
Contributor

You may need to run make go-deps && make update if haven't already done

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 22, 2021
@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

this upgrade job is just a mess today :(

/test e2e-agnostic-upgrade

@wking
Copy link
Copy Markdown
Member

wking commented Dec 22, 2021

Update run:

: [sig-network] pods should successfully create sandboxes by not timing out | 0s
-- | --
24 failures to create the sandbox

That's currently considered a symptom of rhbz#2025967, so should be unrelated to this PR and safe to /override ci/prow/e2e-agnostic-upgrade.

@sinnykumari
Copy link
Copy Markdown
Contributor

LGTM
/assign @jianli-wei

@sinnykumari
Copy link
Copy Markdown
Contributor

adding lgtm to get required fix in.
/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 22, 2021
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Dec 22, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jianli-wei, kikisdeliveryservice, kwoodson, sinnykumari

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:
  • OWNERS [kikisdeliveryservice,sinnykumari]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kwoodson
Copy link
Copy Markdown
Author

/retest-required

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@kwoodson
Copy link
Copy Markdown
Author

/retest-required

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@sinnykumari
Copy link
Copy Markdown
Contributor

Since agnostic upgrade runs on Azure which is known to be failing due to multiple issues. Checking the upgrade status on gcp
/test e2e-gcp-upgrade

@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

IT PASSED!! 🎆

@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

/skip

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

/skip

@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

UGH now we got a flake in e2e-aws, which already passed 2 times recently.. one more time..

/retest-required

@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

kikisdeliveryservice commented Dec 22, 2021

Ok all required tests have now passed! Now please please just merge bot...

Add: Nooo.

@kwoodson
Copy link
Copy Markdown
Author

@kikisdeliveryservice Hmmm. I think something is off. The tide summary doesn't look encouraging. It says its still testing e2e-agnostic-upgrade and e2e-gcp-op even though everything has passed? Maybe (as @wking mentioned) override is necessary. WDYT?

@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

@kikisdeliveryservice Hmmm. I think something is off. The tide summary doesn't look encouraging. It says its still testing e2e-agnostic-upgrade and e2e-gcp-op even though everything has passed? Maybe (as @wking mentioned) override is necessary. WDYT?

Yeah, we got unlucky bc tide does sometimes do spontaneous retests.

I'm going to let them finish, then take it from there. This should merge today. 👍

@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

Given that the upgrade job just passed in a previous run and the current run hit a known bug

Overriding the upgrade test to unblock the the urgent BZ this pr addresses.

/override ci/prow/e2e-agnostic-upgrade

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Dec 23, 2021

@kikisdeliveryservice: Overrode contexts on behalf of kikisdeliveryservice: ci/prow/e2e-agnostic-upgrade

Details

In response to this:

Given that the upgrade job just passed in a previous run and the current run hit a known bug

Overriding the upgrade test to unblock the the urgent BZ this pr addresses.

/override ci/prow/e2e-agnostic-upgrade

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.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Dec 23, 2021

@kwoodson: 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-workers-rhel7 62474b0 link false /test e2e-aws-workers-rhel7
ci/prow/e2e-aws-disruptive 62474b0 link false /test e2e-aws-disruptive
ci/prow/e2e-aws-upgrade-single-node 62474b0 link false /test e2e-aws-upgrade-single-node
ci/prow/e2e-vsphere-upgrade 62474b0 link false /test e2e-vsphere-upgrade
ci/prow/e2e-aws-workers-rhel8 62474b0 link false /test e2e-aws-workers-rhel8
ci/prow/e2e-gcp-upgrade 62474b0 link false /test e2e-gcp-upgrade

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.

@openshift-merge-robot openshift-merge-robot merged commit f8249fc into openshift:master Dec 23, 2021
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Dec 23, 2021

@kwoodson: All pull requests linked via external trackers have merged:

Bugzilla bug 2033536 has been moved to the MODIFIED state.

Details

In response to this:

Bug 2033536: OpenShift Api update to fix Alibaba CRD validation

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.

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. bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants