vCenter via a salt-proxy minion

Source code: https://github.com/saltstack/salt/blob/v3006.7/salt/proxy/vcenter.py Documentation: https://docs.saltproject.io/en/3007/ref/proxy/all/salt.proxy.vcenter.htmlmodule: https://docs.saltproject.io/en/3006/ref/modules/all/salt.modules.vsphere.html Depending on the version of vsphere, you must install pyvomi sample configs: version: proxy-minion config: start minion: Accept keys Test minion: Available module for vCenter:my-vcenter-proxy: ———- vsphere.: vsphere.add_capacity_to_diskgroup: Adds capacity disks to the disk group with the specified cache disk. cache_disk_id The canonical name of the cache disk. capacity_disk_ids […]

Delete Dead ALB from VCD

Alb records are normally stored in the below tables, Since in my case, my ALB env was unrecoverable, delete the below record from VCD be fore adding a new integration here’s the DB schema (from VCD10.6.1) vcloud=# \d load_balancer_controllersTable “public.load_balancer_controllers”Column | Type | Collation | Nullable | Default——————–+————————-+———–+———-+———id | uuid | | not null |name […]

IP ALLOCATE failed: Action run failed with the following error: (‘Error allocating in network or range: Failed to generate hostname. DNS suffix missing’, {})

Earlier this week, I was trying to integrate my test vRA deployment with Infoblox and all deployments failed with the error: When looking at the Extensibility tab > action runs > (filter) change from user runs to all runs and look for a failed action: Infoblox_AllocateIP. There are 2 ways to remediate this. Workaround 1: […]

VMware PowerCli installation fails

VMware powerCli installation fails with the below: Workaround: install PowerShell by skipping publisher checks: Cause: This is due to the fact that the certificate we used to sign the modules was replaced with a new one from a new publisher.