Skip to content

Commit 8f41973

Browse files
ramizpolicprees1
authored andcommitted
add vSphere troubleshooting docs
1 parent 89a9ebf commit 8f41973

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

pages/tidal tools/vsphere.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,32 @@ Another alternative is to set the following environment variables with the neede
157157
- VSPHERE_SERVER
158158
- VSPHERE_TLS
159159
- VSPHERE_INSECURE
160+
161+
## Troubleshooting
162+
163+
### Login failing with error `expected element type <Envelope> but have <html>`
164+
165+
The reason behind this behavior is that provided vSphere login data references [vCenter REST API](https://developer.vmware.com/apis/vsphere-automation/latest/vcenter/)
166+
service which is exposed on `/rest` (versions `<=6.5`) or `/api` (versions `>6.5`) endpoint.
167+
168+
Instead, Tidal Tools CLI uses [vSphere Web Services API](https://developer.vmware.com/apis/1355/vsphere) which is exposed on `/sdk`
169+
endpoint. This service is enabled by default on vSphere products for versions `>=v5.5`.
170+
If you have manually disabled this service, Tidal vSphere functionalities cannot be used.
171+
172+
#### How to login?
173+
```yaml
174+
vsphere.server: FQDN (or IP)
175+
vsphere.username: username@domain (or domain\username)
176+
vsphere.api_path: /sdk (default path to vSphere Web Services API)
177+
vsphere.tls: true (or false if using http)
178+
vsphere.insecure: true (or false to skip certificate checks)
179+
```
180+
181+
#### Additional context
182+
1. [vSphere Automation API](https://developer.vmware.com/apis/vsphere-automation/latest/) - provides REST API for
183+
managing and automating infrastructure operations of various vSphere services (includes _vCenter REST API_ among other APIs).
184+
2. [vSphere Web Services API](https://developer.vmware.com/apis/1192/vsphere) - provides SOAP API for
185+
centralized management of vSphere infrastructure components (virtual machines, datacenters,...).
186+
187+
The difference between the APIs is that Automation API provides access to underlying service management,
188+
while Web Service API provides access to the management of individual components.

0 commit comments

Comments
 (0)