Troubleshooting Ops Manager for VMware vSphere
This guide provides help with diagnosing and resolving issues that are specific to Pivotal Cloud Foundry (PCF) deployments on VMware vSphere.
For infrastructure-agnostic troubleshooting help, refer to Diagnosing Problems in PCF.
The following sections list common issues you might encounter and possible resolutions.
If you modify the vCenter Statistics Interval Duration setting from its default setting of 5 minutes, the PCF installation might fail at the MicroBOSH deployment stage, and the logs might contain the following error message:
The specified parameter is not correct, interval. This failure happens because Ops Manager expects a default value of 5 minutes, and the call to this method fails when the retrieved value does not match the expected default value.
To resolve this issue, launch vCenter, navigate to Administration > vCenter Server Settings > Statistics, and reset the vCenter Statistics Interval Duration setting to 5 minutes.
Before starting an Pivotal Application Service (PAS) deployment, you must set up and configure a vSphere cluster.
If you enable vSphere DRS (Distributed Resource Scheduler) for the cluster, you must set the Automation level to Partially automated or Fully automated.
If you set the Automation level to Manual, the BOSH automated installation will fail with a
power_on_vm error when BOSH attempts to create virtual VMs.
Ops Manager can lose its IP address and use DHCP due to an issue in the open source version of VMware Tools. For more information to troubleshoot this issue, see IP is not Getting Assigned in vSphere after Ops Manager Restart in the Pivotal Support Knowledge Base.
If you deployed the OVF file but cannot connect to in a browser, check that the network settings you entered in the wizard are correct.
Access the PCF installation VM using the vSphere Console. If your network settings are configured incorrectly, you cannot SSH into the installation VM.
Log in using the private SSH key associated with the public SSH key that you provided when you imported the PCF
Confirm that the network settings are correct by checking that the ADDRESS, NETMASK, GATEWAY, and DNS-NAMESERVERS entries are correct in
If any of the settings are incorrect, run
sudo vi /etc/network/interfacesand correct the incorrect entries.
In vSphere, navigate to the Summary tab for the VM and confirm that the network name is correct.
If the network name is incorrect, right click on the VM, select Edit Settings > Network adapter 1, and select the correct network.
Reboot the installation VM.
If you experience a communication error while installing Ops Manager or MicroBOSH Director, check the following settings.
Ensure that the routes are not blocked. vSphere environments use NSX for firewall and NAT/SNAT translation and load balancing. All communication between PCF VMs and vCenter or ESXi hosts route through the NSX firewall and are blocked by default.
Open port 443. Ops Manager and MicroBOSH Director VMs require access to vCenter and all ESX through port 443.
Allocate more IP addresses. BOSH requires that you allocate a sufficient number of additional dynamic IP addresses when configuring a reserved IP address range during installation. BOSH uses these IP addresses during installation to compile and deploy VMs, install PAS, and connect to services. We recommend that you allocate at least 36 dynamic IP addresses when deploying Ops Manager and PAS.
Upgrade issues can be caused when the external database user used for the network policy DB is given insufficient permissions. To avoid this upgrade issue, ensure that the networkpolicyserver database user has the
ALL PRIVILEGES permission.