This guide will help you to diagnose common issues with VIC appliance deployment and operation and determine what information to collect for further debugging.
This information about the environment and events that occurred leading to the failure should be included in every support request to assist in debugging.
- vCenter Server version
- Embedded or external PSC?
- Filename of the OVA you deployed
- Hash (MD5, SHA-1, or SHA-256) of the OVA you deployed
- IP address of VIC appliance
- Hostname of VIC appliance
- IP address of vCenter Server
- Hostname of vCenter Server
- What stage of the Appliance Lifecycle is the VIC appliance in?
- What operation was being performed when the failure was noticed?
IMPORTANT
If you are using VIC appliance version 1.3.1 or greater and are able to SSH into the appliance, please run /etc/vmware/support/get_vic_appliance_logs.sh
and provide the resulting file to support. This script gathers appliance state and log information and is the best tool for gathering comprehensive support information.
It is important to determine what stage in the appliance lifecycle you are at when encountering issues so that targeted troubleshooting steps can be followed. Please use the following names to describe what stage the failure is in, to apply the appropriate troubleshooting steps, and to provide the appropriate troubleshooting information to support.
Deployment involves deploying the VIC appliance OVA using either the Flash/Flex client or ovftool
. The HTML5 client is not supported at this time.
During Deployment, the user provides customizations such as configuring the root password and other optional configurations such as providing TLS certificates. If the version is 1.3.1 or less, TLS certificates must be provided in a specific format Certificate Reference. Errors related to this will not appear until the Boot or Running Stage.
We have not experienced many failures during Deployment. If any issues occur, provide the Support Information from below.
Provide the following information to support if encountering Deployment failures:
- Deployment method:
- Flash/Flex client
- Screenshot of the failure screen
- Copy paste the failed Task details
- Copy paste any other error messages
ovftool
- The entire
ovftool
command executed to deploy - Copy paste the failed Task details if present
- Copy paste any error messages
- The entire
- Flash/Flex client
- Deployment environment
- Verify that the targeted datastore has enough space
- Provide details about the targeted vCenter compute, storage, and networking
After the VIC appliance is deployed, it is powered on and boots. During this time the appliance applies user provided configuration, starts an SSH server, and starts certain services. Soon after the network interface comes up, SSH will become available on the appliance and a server on port 80 will display a message that appliance services are starting. In version 1.3.0, there may be a significant delay before the web page is available on port 80.
Failures during the operating system boot are rare. The most common boot failure involves changes to attached hard disks, especially during upgrade operations. Failures that occur after the OS is booted but before the Initialization Stage are usually related to user customizations.
Provide the following information to support if encountering Boot failures:
- Is this a fresh deploy of the VIC appliance or an upgrade?
- If upgrading, what version is the old VIC appliance?
- Were any changes made to the disk configuration of the VIC appliance?
- If yes, what changes?
- Are you able to SSH into the VIC appliance?
- If the version is 1.3.1 or greater and able to SSH, please run
/etc/vmware/support/get_vic_appliance_logs.sh
and provide the resulting file to support - If the version is 1.3.0 or less and able to SSH
- Run
journalctl -u fileserver
and provide the entire resulting output to support
- Run
- If the version is 1.3.0
- Run
systemctl status vic-appliance-load-docker-images.service
- If this unit is still in progress, system required images are being loaded. Continue waiting until this unit is finished.
- Run
- If the version is 1.3.1 or greater and able to SSH, please run
- Are you able to view the web page at http://<appliance_ip or FQDN>?
- If no, did you provide custom TLS certificates during the Deployment Stage?
- If yes, verify the format is correct Certificate Reference
- Run
journalctl -u fileserver
and provide the entire resulting output to support
- If no, did you provide custom TLS certificates during the Deployment Stage?
Reaching the Initialization Stage means that you can successfully view the Getting Started page at http://<appliance_ip or FQDN>. The VIC appliance is ready to accept initialization information.
Initializing the VIC appliance means providing the appliance with the vCenter IP/hostname, vSphere Administrator credentials, and PSC information if using an external PSC. This can be done through either the Getting Started Page or the a HTTP request.
After a successful initialization on the Getting Started Page, a green bar showing a success message will appear at the top of the Getting Started Page.
If the initialization was not successful, a red bar will appear at the top of the Getting Started Page. If the page is reloaded, this bar will disappear, but it does not mean that the appliance has been successfully initialized.
After credentials are provided, the VIC appliance registers with the specified vCenter, authenticates with the specified PSC to obtain authentication tokens, and starts Admiral and Harbor.
Failures during initialization are most often related to PSC authentication and networking. It is important to determine whether PSC registration was successfully completed.
Provide the following information to support if encountering Initialization failures:
- Are you able to view the web page at http://<appliance_ip or FQDN>?
- If no, continue with SSH based steps below
- Did you attempt to initialize the VIC appliance by entering information in the Getting Started page?
- If yes:
- Did you see a green bar at the top of the Getting Started Page?
- If yes, continue with SSH based steps below
- If no, initialization has not been completed. If repeated attempts do not display a green bar, continue with SSH based steps below
- Did you see a green bar at the top of the Getting Started Page?
- If no:
- Enter the appropriate information as prompted
- Ensure that a green bar showing a success message appears at the top of the Getting Started Page
- If yes:
- Did you attempt to initialize the VIC appliance by using the initialization API?
- If yes:
- Provide the entire
curl
command attempted - Provide the response received when executing the command
- Provide the entire
- If yes:
- Are you able to SSH into the VIC appliance?
- If you are using VIC appliance version 1.3.1 or greater and are able to SSH into the appliance, please run
/etc/vmware/support/get_vic_appliance_logs.sh
and provide the resulting file to support. - If using VIC appliance version 1.2.1 or 1.3.0:
- Run
journalctl -u fileserver
and provide the entire resulting output to support
- Run
- Run
systemctl status fileserver
- If the unit shows "Running" and you are not able to view the webserver in your browser:
- Check the network configuration between the VIC appliance and the client:
- Is the client or VIC appliance using a 172.16.0.0/16 IP address? (vmware#667)
- Check
journalctl -u fileserver
- You should see webserver logs from your client's requests to the Getting Started Page
- If there are TLS handshake errors, use a browser that supports modern TLS ciphers
- Check the network configuration between the VIC appliance and the client:
- If the unit shows "Running" and you are not able to view the webserver in your browser:
- If you are using VIC appliance version 1.3.1 or greater and are able to SSH into the appliance, please run
- If there are PSC registration errors, follow Admiral Troubleshooting Guide
Reaching the Running Stage means that the VIC appliance was successfully initialized and received a green bar at the top of the Getting Started Page. Admiral and Harbor will start shortly after the green bar is completed and the user can follow links on the Getting Started Page to access the Admiral web interface.
Once the VIC appliance shows that initialization has succeeded and that Admiral and Harbor are started, troubleshooting must move to the application.
Failures during running that are related to Admiral and Harbor functionality are outside the scope of this document. After verifying that Admiral and Harbor services are running, proceed with application specific troubleshooting steps.
Provide the following information to support if encountering Initialization failures:
- Are Admiral and Harbor running?
- Run
systemctl status admiral
- Run
journalctl -u admiral
and provide the entire resulting output to support - Run
systemctl status harbor
- Run
journalctl -u harbor
and provide the entire resulting output to support - If the version is 1.3.1 or less, run
journalctl -u admiral_startup
and provide the entire resulting output to support - If the version is 1.3.1 or less, run
journalctl -u harbor_startup
and provide the entire resulting output to support
- Run
- If the Admiral web interface shows an error
SsoManager has not been initialized at runtime
, see Admiral Troubleshooting Guide. - If Admiral is not running, did you provide custom TLS certificates during the Deployment Stage?
- If yes, verify the format is correct Certificate Reference
- Run
journalctl -u admiral
and provide the entire resulting output to support - If the version is 1.3.1 or less, run
journalctl -u admiral_startup
and provide the entire resulting output to support
- Run
- If yes, verify the format is correct Certificate Reference
TODO
TODO
TODO