Deploying OVF Template stuck "Validating..." for hours

 

Issue:

Deploying OVF Template stuck "Validating..." for hours



Solution:


This happen when you use linked mode Vcenter server and deploy OVA.

In this case login to the correct VCenter server where your esxi is residing and re-deploy OVA/OVF and the issue will resolve,

vSphere HA agent for this host has an error: The vSphere HA agent is not reachable from vCenter Server |Vsphere HA status error | vCenter server 7.0

When you enable Vcenter HA on vsphere7.0 esxi cluster if you see any of the below error:

vSphere HA agent for this host has an error: The vSphere HA agent is not reachable from vCenter Server

Vsphere HA status error

vSphere HA agent cannot be installed or configured 


Solution:

-Download latest Vmware tools VIB package from:

  https://my.vmware.com/group/vmware/downloads/details?downloadGroup=VMTOOLS1125&productId=974&rPId=58693

-winscp to ESXi host the zip file of VIB.

-Install the package:

 esxcli software vib install -d  "/tmp/VMware-Tools-11.2.5-core-offline-depot-ESXi-all-17337674.zip"

-Reboot the Esxi.

-Right click on the esxi to do "Reconfigure vSphere HA"

Change ESXi acceptane level of VIBs to community Supported

-When you install VIB bundles you may see issue like:

              'Could not find a trusted signer: self signed certificate 

For resolving this issue, we have to convert the ESXi to community supported acceptance level.


-To do that:

if  ESXI is a VM :

     Edit settings ->boot option ->disable secure boot.

if Physical ESXi:

     Edit UEFI


Now ssh to ESXi:


- Move the ESX machine to community-support

esxcli software acceptance set --level=CommunitySupported

- Install the bundle with no-sign-check
esxcli software vib install -d  VMware_bootbank_vmware-fdm_7.0.1-16478307.vib --no-sig-check

Set back PartnerSupported
esxcli software acceptance set --level=PartnerSupported

VCSA service not starting

 Error while starting VCSA service:

~ ]# service-control --start vpxd

Operation not cancellable. Please wait for it to finish...

Performing start operation on service vpxd...

Error executing start on service vpxd. Details {

    "detail": [

        {

            "id": "install.ciscommon.service.failstart",

            "translatable": "An error occurred while starting service '%(0)s'",

            "args": [

                "vpxd"

            ],

            "localized": "An error occurred while starting service 'vpxd'"

        }


Verify logs:

verify the /var/log/vmware/vpxd/vpxd.log and check any errors :

[Originator@6876 sub=HostPicker opID=sps-Main-407637-499-33] Couldn't find any candidate host that satisfies all constraints

error vpxd[47211 No hosts are compatible with provided version 6.7.2


Solution:

     1.Upgraded hardware version to 13 as your new esxi was 6.7.2.

     2.DNS issue resolved on host by changing hosts file on VCSA server.(make sure the IP and DNS names is mapped properly) after login to VCSA using root user.

     3.restarted Service on VCSA 




Create Datastore Cluster

 For creating datastore cluster

  • Enable HA cluster on Datacenter
  • right click on datacenter 
                  select Storage ->New datastore cluster
                  Provide datastore cluster Name
                  select/un select DRS option
                  Select Cluster/hosts 
                  Select datastores to add to cluster datastores.

Selenium firefox driver session fails with : Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location,

 Error: With Firefox driver /gecko driver Could not start a new session. Response code 500. Message: Expected browser binary location, but u...