vSphere is VMware's virtualization operating system.
Questions tagged [vsphere]
667 questions
9
votes
0 answers
PVC Events: waiting for a volume to be created, either by external provisioner "csi.vsphere.vmware.com" or manually created by system administrator
Tried to setup vsphere-CSI-driver following below documentation.
Documentation-followed: https://www.definit.co.uk/2019/06/lab-guide-kubernetes-and-storage-with-the-vsphere-cloud-provider-step-by-step/
User/Permissions associated to VSAN and VCenter…

Tanzeeb Samee
- 101
- 1
- 2
8
votes
3 answers
Kubernetes kubeadm init fails due to dial tcp 127.0.0.1:10248: connect: connection refused
I'm trying to setup a very simple 2 node k8s 1.13.3 cluster in a vSphere private cloud. The VMs are running Ubuntu 18.04. Firewalls are turned off for testing purposes. yet the initialization is failing due to a refused connection. Is there…

Stavros_S
- 2,145
- 7
- 31
- 75
7
votes
6 answers
vCenter REST API authentication
I am following this VMware documentation. What headers are to be provided to authenticate to vCenter Server while using REST API?

codec
- 7,978
- 26
- 71
- 127
7
votes
0 answers
The Javadoc of VimPortType of vSphere SDK
I'm currently learning the vSphere web service SDK, in their API reference, I have only found the methods and properties of all the managed objects and data objects. But I can't find the javadoc of the class VimPortType, which is the entrance of the…

vesontio
- 381
- 1
- 7
- 19
6
votes
2 answers
List VMs and their cluster
I'd like to be connected to multiple VIservers and list all the VMs + their respective clusters. Is this possible?
I've gotten as far as Get-VM | Select Name,VMHost. What property in place of VMHost would list the cluster?

rafvasq
- 1,512
- 3
- 18
- 48
6
votes
1 answer
Shared folders options for vmware in ESXi server
I am using ESXi server and run VMs using vSphere client. I was using shared folders options in VMware but I cannot find this option in these VMs now. How can I create a shared folder or how can I transfer files between VMware virtual machines…

snvngrc
- 177
- 2
- 4
- 12
5
votes
1 answer
Connect-VIServer doesn't connect due to invalid certificate disregarding PowerCLI's configuration
As the title suggests, I'm trying to login to a VMWare vSphere server using PowerCLI. Even though I ran Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false -Scope AllUsers, when I try to connect to the server this is what I'm…

Shay Nehmad
- 1,103
- 1
- 12
- 25
5
votes
0 answers
terraform vsphere provider hangs while creating vm
I'm trying to create a VM based on a template (ubuntu 18.04) using terraform and vsphere provider. The final error showed by terraform apply.. command is:
* vsphere_virtual_machine.vm: timeout waiting for an available IP address
However, the VM is…

Vitor Carvalho
- 335
- 1
- 5
- 11
5
votes
2 answers
Building vSphere DLLs fails with CS8078: An expression is too long or complex to compile
I am following the documentation here Setting Up for Microsoft C# Development and at this step Building the C# vSphere DLLs I get the following in Developer Command…

Wilhelmina Lohan
- 2,803
- 2
- 29
- 58
5
votes
1 answer
Interface use in golang for mocking third party libraries
I'm trying to create a simple mock for unit testing some code using the VMware vSphere API client - govmomi - but I'm having trouble finding a usable pattern.
A simple use case for the client library would be to retrieve the installed licenses for a…

cptino
- 51
- 3
5
votes
1 answer
Installing vagrant-vsphere plugin
so I recently installed the vagrant-aws plugin with vagrant plugin install vagrant-aws, after quite the adventure with ruby versions and dependencies. Anyway, for our deployment pipeline I need to find a way to spin up vSphere machines with vagrant,…

addicted2unix
- 517
- 1
- 7
- 12
4
votes
0 answers
Terraform selecting vsphere datastore based on free space
Is there any way with the terraform to determine which vmware vsphere datastore has the most free space?
When I'm provisioning I want to make sure my VMs end up on unique datastores (i.e. no two vms should end up on the same datastore) but also on…

Brad
- 1,979
- 7
- 35
- 47
4
votes
1 answer
What are customvalue objects in the Ansible vmware_guest module?
We use Ansible extensively in a VMware environment. I found the customvalues option in the Ansible documentation at https://docs.ansible.com/ansible/vmware_guest_module.html#options.
What are custom values in this module?
Does this use VMware…

Dennis
- 2,866
- 7
- 32
- 49
4
votes
1 answer
VMWare VIC (Photon OS + Docker) vs CoreOS + Docker
Could you pls help me to understand how VMWare VIC actually works?
I'm familiar with Docker, and has very basic overview of CoreOS. Docker is your environment container which increase your app portability, whereas CoreOS is very lightweight Linux…

VB_
- 45,112
- 42
- 145
- 293
4
votes
1 answer
Pyvmomi - How to get vm's IP without VMTools installed?
In general, my goal is to get the IP of a VM that doesn't have VMTools installed, by it's name.
The docs of FindByIp says
The IP address for a virtual machine is the one returned from VMware tools, ipAddress .
(from…

user5908639
- 51
- 2
- 6