kubernetes/pkg/cloudprovider/providers
Kubernetes Submit Queue d40cd36513
Merge pull request #57978 from vmware/fix-vsphere-connection
Automatic merge from submit-queue (batch tested with PRs 57511, 57978). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Renews cached NodeInfo with new vSphere connection

**What this PR does / why we need it**:
This PR modifies two public functions of nodemanager.go- GetNodeInfo and GetNodeDetails. For both these functions NodeInfo object is renewed with new GoVmomiClient and new vclib VirtualMachine and Datacenter.

**Which issue(s) this PR fixes** :
Fixes vmware#404 

**Special notes for your reviewer**:
Code has been structured to minimize impact on existing 1.9 release code and any side-effects due to NodeInfo modification. This is a quick solution for vSphere connection renewal  problem. A more enhanced solution is target for upcoming major release.

Testing:

- [x] Successfully tried out pod creation, deletion with dynamic volume.
- [x] Successfully ran e2e tests.
 

**Release note**:
```release-note
Fixes authentication problem faced during various vSphere operations.
```
2018-01-09 15:19:32 -08:00
..
aws Merge pull request #56759 from aledbf/fix-nlb-icmp 2018-01-09 12:20:29 -08:00
azure Merge pull request #57991 from karataliu/azure_lb_exists 2018-01-09 07:31:31 -08:00
cloudstack Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
fake Remove unused ScrubDNS interface from cloudprovider 2017-12-08 16:03:56 +08:00
gce Use GA API for managing addresses 2017-12-27 11:27:43 -08:00
openstack Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
ovirt Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
photon Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
vsphere Renews cached NodeInfo with new vSphere connection 2018-01-08 11:09:47 -08:00
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
providers.go remove rackspace related code 2017-09-22 18:06:50 +08:00