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

Automated cherry pick of #59519: Report InstanceID for vSphere Cloud Provider as UUID obtained from product_serial file #59602

Conversation

abrarshivani
Copy link
Contributor

Cherry pick of #59519 on release-1.9.

#59519: Report InstanceID for vSphere Cloud Provider as UUID obtained from product_serial file

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 9, 2018
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 9, 2018
@k8s-github-robot k8s-github-robot added the do-not-merge/cherry-pick-not-approved Indicates that a PR is not yet approved to merge into a release branch. label Feb 9, 2018
@abrarshivani
Copy link
Contributor Author

/assign @divyenpatel

@divyenpatel
Copy link
Member

/test pull-kubernetes-verify

@abrarshivani abrarshivani force-pushed the automated-cherry-pick-of-#59519-upstream-release-1.9 branch from fe793ce to dc7238a Compare February 9, 2018 20:07
@abrarshivani
Copy link
Contributor Author

/test pull-kubernetes-e2e-gce-device-plugin-gpu
/test pull-kubernetes-verify

@divyenpatel
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 9, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abrarshivani, divyenpatel

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 OWNERS Files:

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

@divyenpatel
Copy link
Member

@stttts @jsafrane Can you please help removing label do-not-merge/cherry-pick-not-approved from this PR?

We nee to cherry pick this PR to 1.9 branch. This PR is fixing the bug reported by customer - #58927

@sttts
Copy link
Contributor

sttts commented Feb 13, 2018

/assign @mbohlool

@sttts
Copy link
Contributor

sttts commented Feb 13, 2018

@mbohlool is the 1.9 release manager. He has to approve this.

@mbohlool
Copy link
Contributor

mbohlool commented Feb 13, 2018

How this is tested? i.e. is it possible to add some [unit] test?

@divyenpatel
Copy link
Member

@mbohlool This is tested with running vsphere e2e test cases. E2E test cases are modified to use provider ID, as part of this PR - #59761

@abrarshivani
Copy link
Contributor Author

@mbohlool This is manually tested e2e on vSphere Infrastructure.

Tested:

Launched K8s cluster using kubeadm (Used Ubuntu VM compatible with vSphere version 6.5.)
Note: Installed Ubuntu from ISO
Observed following:

Master
> cat /sys/class/dmi/id/product_uuid
743F0E42-84EA-A2F9-7736-6106BB5DBF6B

> cat /sys/class/dmi/id/product_serial
VMware-42 0e 3f 74 ea 84 f9 a2-77 36 61 06 bb 5d bf 6b

Node
> cat /sys/class/dmi/id/product_uuid
956E0E42-CC9D-3D89-9757-F27CEB539B76

> cat /sys/class/dmi/id/product_serial
VMware-42 0e 6e 95 9d cc 89 3d-97 57 f2 7c eb 53 9b 76

With this fix controller manager was able to find the nodes.

@mbohlool
Copy link
Contributor

can those tests be ported in 1.9 release branch too?

@divyenpatel
Copy link
Member

can those tests be ported in 1.9 release branch too?

@mbohlool in previous releases we were asked to not cherry pick test changes as guideline suggests "Patch releases should not contain new features, so ensure that cherry-picks are for bug/security fixes only." - https://github.com/kubernetes/sig-release/blob/master/ephemera/README.md#patch-release-manager

To cherry pick these tests to 1.9 branch we will have to cherry pick bunch of PRs

If test changes are allowed to be cherry picked then can we cherry pick them in separate PR?

@kubernetes/vmware

@mbohlool
Copy link
Contributor

I guess I am a little nervous to have a code in 1.9 branch with no test. If you guys feel the feature does not need a test here, I can live with that. I definitely don't want a loads of e2e tests to be added for this change. If you want to add test, thought, it should be in the same PR.

(btw, how did you infer from the documentation that we do not cherry pick test changes? we do that all the time actually. Any code change comes into the branch should come with its test code).

@abrarshivani
Copy link
Contributor Author

@mbohlool No test is required to test this issue. Since earlier all e2e tests were failing when VM Hardware version was 13. After this fix, the tests are passing.

@mbohlool mbohlool added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. and removed do-not-merge/cherry-pick-not-approved Indicates that a PR is not yet approved to merge into a release branch. labels Feb 21, 2018
@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

1 similar comment
@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@abrarshivani
Copy link
Contributor Author

/test pull-kubernetes-e2e-kops-aws

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

13 similar comments
@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@abrarshivani
Copy link
Contributor Author

abrarshivani commented Feb 23, 2018

@mbohlool Test pull-kubernetes-e2e-kops-aws is failing continuously, seems to be an environmental issue. Would like to you know whether something needs to be done from our side?

@abrarshivani
Copy link
Contributor Author

/test pull-kubernetes-e2e-kops-aws

@k8s-github-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

@k8s-github-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link

Automatic merge from submit-queue.

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. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. 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. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants