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

Adding a check to make sure Metadata is read only if flag value is true. #74936

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

rjaini
Copy link
Contributor

@rjaini rjaini commented Mar 5, 2019

What type of PR is this?
/kind bug
What this PR does / why we need it:
Fix kubelet start issue on Azure Stack.

Which issue(s) this PR fixes:
Fixes #74785
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Fix kubelet start failure issue on Azure Stack due to InstanceMetadata setting

/kind bug
/assign @feiskyer
cc @hongbin

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 5, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @rjaini. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


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.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Mar 5, 2019
@k8s-ci-robot k8s-ci-robot added sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Mar 5, 2019
@andyzhangx
Copy link
Member

andyzhangx commented Mar 5, 2019

/ok-to-test
/sig azure
/priority important-soon

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. sig/azure priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Mar 5, 2019
@andyzhangx
Copy link
Member

andyzhangx commented Mar 5, 2019

/release-note "Fix kubelet start failure issue on Azure Stack due to InstanceMetadata setting"

@andyzhangx
Copy link
Member

Hi @rjaini , would you sign the CLA first? we are close to code freeze time on k8s 1.14 soon.

@feiskyer
Copy link
Member

feiskyer commented Mar 5, 2019

Please also fix the panic in unit tests.

@feiskyer
Copy link
Member

feiskyer commented Mar 5, 2019

Let's add this into v1.14 milestone since it's a critical fix for AzureStack.

/milestone v1.14

@rjaini
Copy link
Contributor Author

rjaini commented Mar 5, 2019

/test pull-kubernetes-bazel-test

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Mar 5, 2019
@feiskyer feiskyer added this to Needs Review in Provider Azure Mar 5, 2019
Copy link
Member

@andyzhangx andyzhangx left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 6, 2019
@andyzhangx
Copy link
Member

@feiskyer PTAL, also. I can cherry pick this PR to older version when it's merged.

@andyzhangx
Copy link
Member

@rjaini thanks for your contribution, just let us know if there is sth broken on Azure stack in the future.

Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

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

lgtm, please squash the commits.

@justaugustus
Copy link
Member

@rjaini -- Please add a release note to this PR. You can see how to do that here: https://git.k8s.io/community/contributors/guide/release-notes.md

@andyzhangx suggested the following: Fix kubelet start failure issue on Azure Stack due to InstanceMetadata setting.

Please also squash your commits.

@andyzhangx
Copy link
Member

andyzhangx commented Mar 6, 2019

/release-note "Fix kubelet start failure issue on Azure Stack due to InstanceMetadata setting"

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 6, 2019
@rjaini
Copy link
Contributor Author

rjaini commented Mar 6, 2019

Squash all commits.
@andyzhangx You can merge the commit.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Mar 7, 2019
Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: feiskyer, rjaini

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 Mar 7, 2019
@feiskyer
Copy link
Member

feiskyer commented Mar 7, 2019

@rjaini Added the release note for you. The template in PR body should be used.

@justaugustus
Copy link
Member

justaugustus commented Mar 7, 2019

(waking up the bots)
/joke

@k8s-ci-robot
Copy link
Contributor

@justaugustus: A red and a blue ship have just collided in the Caribbean. Apparently the survivors are marooned.

In response to this:

(waking up the boots)
/joke

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.

@k8s-ci-robot k8s-ci-robot merged commit 2f93030 into kubernetes:master Mar 7, 2019
Provider Azure automation moved this from Needs Review to Done Mar 7, 2019
k8s-ci-robot added a commit that referenced this pull request Mar 8, 2019
…4936-upstream-release-1.12

Automated cherry pick of #74936: Adding a check to make sure UseInstanceMetadata flag is true
k8s-ci-robot added a commit that referenced this pull request Mar 19, 2019
…4936-upstream-release-1.13

Automated cherry pick of #74936: Adding a check to make sure UseInstanceMetadata flag is true
k8s-ci-robot added a commit that referenced this pull request Mar 21, 2019
…4936-upstream-release-1.11

Automated cherry pick of #74936: Adding a check to make sure UseInstanceMetadata flag is true
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. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
Development

Successfully merging this pull request may close these issues.

Kubelet failing to start on Azure stack
5 participants