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

vSphere Cloud Provider Implementation #24703

Merged
merged 8 commits into from
May 11, 2016

Conversation

dagnello
Copy link
Contributor

This is the first PR towards implementation for vSphere cloud provider support in Kubernetes (ref. issue #23932).

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

@k8s-bot
Copy link

k8s-bot commented Apr 23, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in hack/jenkins/job-configs/kubernetes-jenkins-pull/ instead.)

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

2 similar comments
@k8s-bot
Copy link

k8s-bot commented Apr 23, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in hack/jenkins/job-configs/kubernetes-jenkins-pull/ instead.)

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@k8s-bot
Copy link

k8s-bot commented Apr 23, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in hack/jenkins/job-configs/kubernetes-jenkins-pull/ instead.)

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note-label-needed labels Apr 23, 2016
@lavalamp
Copy link
Member

Hi, it's great to see more cloud providers!

Can you take a look at making CLA bot happy with all of the committers?

@dagnello
Copy link
Contributor Author

Hello @lavalamp!

@vipulsabhaya @abithap need Google's CLA signed (https://cla.developers.google.com/clas)

@vipulsabhaya
Copy link

I do have a corporate CLA signed. Maybe an email address issue?

@lavalamp
Copy link
Member

Looks like @abithap needs to sign a CLA.

@lavalamp
Copy link
Member

Can you add to this PR a file pkg/cloudprovider/providers/vsphere/OWNERS and add appropriate entries? (look at e.g. pkg/OWNERS for an example) This is so change PRs can be assigned to you, and so we know who to direct people to if they have questions or file bugs etc.

@abithap
Copy link

abithap commented Apr 26, 2016

@lavalamp I have signed the CLA. Can you please re-run the CLA test when you get a chance and see if it passes now? thanks

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@lavalamp lavalamp added cla: human-approved release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed cla: no labels Apr 26, 2016
@@ -148,7 +149,15 @@ func (vs *VSphere) LoadBalancer() (cloudprovider.LoadBalancer, bool) {

// Zones returns an implementation of Zones for Google vSphere.
func (vs *VSphere) Zones() (cloudprovider.Zones, bool) {
return nil, true
glog.V(1).Info("Claiming to support Zones")
Copy link
Member

Choose a reason for hiding this comment

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

I would omit, bump to V(4), or clarify e.g. add "VSphere:" in front.

@@ -0,0 +1,4 @@
assignees:
Copy link
Member

Choose a reason for hiding this comment

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

Sorry I got this wrong previously-- actually we're asking maintainers to make this line say "maintainers:"

If you can make this change I'll LGTM :)

@dagnello dagnello force-pushed the hpe/vsphere-instance branch from 3755c37 to 72a527a Compare April 27, 2016 21:06
@dagnello
Copy link
Contributor Author

@lavalamp changes made, let me know if there is something else to update or change

@lavalamp
Copy link
Member

lavalamp commented May 2, 2016

ok to test

@eparis
Copy link
Contributor

eparis commented May 6, 2016

Its pretty simple. You'll see .drone.sec in https://github.com/vmware/govmomi/blob/master/.drone.sec but that file isn't being included in Godeps/_workspace/src/github.com/vmware/govmomi/

verify-godep is checking is the contents in Godeps are actually the ones that are supposedly referenced and in this case, they are not. that file is missing.

It seems the right solution is to just add that file to Godeps

@dagnello dagnello force-pushed the hpe/vsphere-instance branch from b7dd485 to 08195e3 Compare May 6, 2016 16:23
@dagnello
Copy link
Contributor Author

dagnello commented May 6, 2016

@karlkfi @eparis thank you, looks like that was the difference. .drone.sec was being skipped by .gitignore by default

@lavalamp
Copy link
Member

lavalamp commented May 6, 2016


=== RUN   TestReadConfig
--- PASS: TestReadConfig (0.00s)
=== RUN   TestNewVSphere
--- SKIP: TestNewVSphere (0.00s)
    vsphere_test.go:87: No config found in environment
=== RUN   TestVSphereLogin
--- SKIP: TestVSphereLogin (0.00s)
    vsphere_test.go:99: No config found in environment
=== RUN   TestZones
--- FAIL: TestZones (0.07s)
    vsphere_test.go:127: Failed to construct/authenticate vSphere: Post https://:/sdk: dial tcp :0: getsockopt: connection refused
=== RUN   TestInstances
--- SKIP: TestInstances (0.00s)
    vsphere_test.go:148: No config found in environment
FAIL
FAIL    k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere   0.253s

Looks like a more legit problem this time :)

@dagnello dagnello force-pushed the hpe/vsphere-instance branch from 08195e3 to bdf63d0 Compare May 6, 2016 18:38
@lavalamp lavalamp added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 6, 2016
@lavalamp
Copy link
Member

lavalamp commented May 6, 2016

LGTM assuming tests will pass :)

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 9, 2016
Abitha Palaniappan and others added 7 commits May 9, 2016 08:31
This patch includes implementation for the following Instance object
interfaces:
* NodeAddresses
* ExternalID
* InstanceID

Also minor refactoring in overall Instance implementation.
When vSphere cloud provider object is instantiated, the VM name of the
Node where this object is being create in needs to be set.  This patch
also includes vSphere as part of the cloud provider package.
@dagnello dagnello force-pushed the hpe/vsphere-instance branch from bdf63d0 to fbea382 Compare May 9, 2016 15:50
@k8s-github-robot k8s-github-robot removed lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels May 9, 2016
also updating license file for Govmomi library
@dagnello dagnello force-pushed the hpe/vsphere-instance branch from fbea382 to f7b3cf3 Compare May 9, 2016 15:55
@lavalamp lavalamp added lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels May 9, 2016
@dagnello
Copy link
Contributor Author

@lavalamp build failure details are not accessible, any way I can get that information?

@lavalamp
Copy link
Member

lavalamp commented May 10, 2016

@pwittrock or @ixdy-- can one of you tell us the correct node e2e status link? For the record, since I'm going to restart it, the link was https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/pull/24703/node-pull-build-e2e-test/5153/build-log.txt.

@lavalamp
Copy link
Member

@k8s-bot node test this issue #IGNORE

@k8s-bot
Copy link

k8s-bot commented May 11, 2016

GCE e2e build/test passed for commit f7b3cf3.

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented May 11, 2016

GCE e2e build/test passed for commit f7b3cf3.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit e1fa044 into kubernetes:master May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. 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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants