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

[all] Update to k/k v1.21.0 #1440

Merged
merged 1 commit into from
Apr 28, 2021
Merged

Conversation

ramineni
Copy link
Contributor

@ramineni ramineni commented Mar 12, 2021

What this PR does / why we need it:
This PR updates k/k to v1.21.0. Some of the test packages have been moved different location in latest k/k repo.
This PR is to sync with the same before adding any new tests.

Which issue this PR fixes(if applicable):
fixes #

Special notes for reviewers:

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 12, 2021
@k8s-ci-robot k8s-ci-robot requested review from adisky and dims March 12, 2021 05:30
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 12, 2021
@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@ramineni ramineni changed the title [all] Update to k/k v1.21.0-beta.0 WIP[all] Update to k/k v1.21.0-beta.0 Mar 12, 2021
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 12, 2021
@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build succeeded.

@ramineni ramineni changed the title WIP[all] Update to k/k v1.21.0-beta.0 [all] Update to k/k v1.21.0-beta.0 Mar 12, 2021
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 12, 2021
@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 12, 2021

Build succeeded.

@ramineni
Copy link
Contributor Author

/test cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.19

@k8s-ci-robot
Copy link
Contributor

@ramineni: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-cloud-provider-openstack-check
  • /test pull-cloud-provider-openstack-test

Use /test all to run all jobs.

In response to this:

/test cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.19

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.

@ramineni
Copy link
Contributor Author

/test cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.20

@k8s-ci-robot
Copy link
Contributor

@ramineni: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-cloud-provider-openstack-check
  • /test pull-cloud-provider-openstack-test

Use /test all to run all jobs.

In response to this:

/test cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.20

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.

@ramineni
Copy link
Contributor Author

/test cloud-provider-openstack-acceptance-test-lb-octavia

@k8s-ci-robot
Copy link
Contributor

@ramineni: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-cloud-provider-openstack-check
  • /test pull-cloud-provider-openstack-test

Use /test all to run all jobs.

In response to this:

/test cloud-provider-openstack-acceptance-test-lb-octavia

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.

@ramineni
Copy link
Contributor Author

/test cloud-provider-openstack-acceptance-test-keystone-authentication-authorization

@k8s-ci-robot
Copy link
Contributor

@ramineni: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-cloud-provider-openstack-check
  • /test pull-cloud-provider-openstack-test

Use /test all to run all jobs.

In response to this:

/test cloud-provider-openstack-acceptance-test-keystone-authentication-authorization

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.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 23, 2021

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 23, 2021

@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 23, 2021

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 23, 2021

Build succeeded.


fs.BoolVar(&versionFlag, "version", false, "Print version and exit")
fss := cliflag.NamedFlagSets{}
command := app.NewCloudControllerManagerCommand(ccmOptions, cloudInitializer, app.DefaultInitFuncConstructors, fss, wait.NeverStop)
Copy link
Member

Choose a reason for hiding this comment

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

is this going to change cobra.command from openstack-cloud-controller-manager to cloud-controller-manager? if yes, we should perhaps modify manifests also?

Copy link
Contributor

Choose a reason for hiding this comment

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

Nope, the command is not changed, but the help message will look weird as it's saying:

Usage:
  cloud-controller-manager [flags]

Copy link
Contributor

Choose a reason for hiding this comment

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

@ramineni I don't think we could resolved the --version issue perfectly as it's defined in NewCloudControllerManagerCommand method.

$ ./openstack-cloud-controller-manager --version
Kubernetes v0.0.0-master+$Format:%H$

One workaround I can think of is to define a different param (e.g. occm-version) to maintain our own version, or we leave it to k8s community to provide a mechanism for cloud providers. What do you think?

cc @jichenjc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ramineni I don't think we could resolved the --version issue perfectly as it's defined in NewCloudControllerManagerCommand method.

@lingxiankong right. From here it looked to me that it should take the values from ldflags , https://github.com/kubernetes/component-base/blob/master/version/version.go#L29 , but doesnt seem to work .

One workaround I can think of is to define a different param (e.g. occm-version) to maintain our own version, or we leave it to k8s community to provide a mechanism for cloud providers. What do you think?

@lingxiankong +1, I checked a lil bit on this before , couldnt get it working as not clean mechanism provided yet . Ill get to this option again . Let me also check with cloudprovider team if they have any other options. Thanks.
I'll raise a bug to track this issue in meantime

Copy link
Contributor

Choose a reason for hiding this comment

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

One workaround I can think of is to define a different param (e.g. occm-version) to maintain our own version, or we leave it to k8s community to provide a mechanism for cloud providers. What do you think?

+1 to me as well, we can provide some quick solution for now and overtime let's switch to cloud-provider way

@lingxiankong
Copy link
Contributor

The job cloud-provider-openstack-acceptance-test-keystone-authentication-authorization failed because the kube-apiserver complains about communication with the auth webhook which is not installed yet. The job should be refactored in the same way of how the job cloud-provider-openstack-acceptance-test-lb-octavia is defined.

At this stage, I will test manually in my v1.21 cluster and override the job if everything looks ok.

@lingxiankong
Copy link
Contributor

looking good

/override openlab/cloud-provider-openstack-acceptance-test-keystone-authentication-authorization

@k8s-ci-robot
Copy link
Contributor

@lingxiankong: Overrode contexts on behalf of lingxiankong: openlab/cloud-provider-openstack-acceptance-test-keystone-authentication-authorization

In response to this:

looking good

/override openlab/cloud-provider-openstack-acceptance-test-keystone-authentication-authorization

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.

@lingxiankong
Copy link
Contributor

lingxiankong commented Apr 27, 2021

also tested occm in my v1.21 cluster (in the similar way of the e2e test script)

/override openlab/cloud-provider-openstack-acceptance-test-lb-octavia

@k8s-ci-robot
Copy link
Contributor

@lingxiankong: Overrode contexts on behalf of lingxiankong: openlab/cloud-provider-openstack-acceptance-test-lb-octavia

In response to this:

also tested occm in my v1.21 cluster.

/override openlab/cloud-provider-openstack-acceptance-test-lb-octavia

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.

@lingxiankong
Copy link
Contributor

Now I'm looking at the occm version issue.

@lingxiankong
Copy link
Contributor

@ramineni we could merge this one and propose PR to fix the version stuff later on.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 27, 2021
@jichenjc
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jichenjc

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 28, 2021
@k8s-ci-robot k8s-ci-robot merged commit 0179682 into kubernetes:master Apr 28, 2021
powellchristoph pushed a commit to powellchristoph/cloud-provider-openstack that referenced this pull request Jan 19, 2022
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants