Symptoms:
Running check non-default-hostname
Running check eth0-ip
Running check single-aptr
make: *** [/opt/health/Makefile:38: single-aptr] Error 1
Upgrade Report
Summary -------------------------------------------------------------------------------------
Date: <Date & timestamp>
Duration: 41 minutes
Result: Upgrade Failure
Description: Upgrade failed and left the system in non-working state. Check the error report below to correct the problem. Once addressed, you can continue the upgrade by running 'vracli upgrade exec --resume'
Reference
-------------------------------------------------------------------------------------
Logs: /var/log/vmware/prelude
Backup: /data/restorepoint
Runtime: /var/vmware/prelude/upgrade
Some directories might not exist.
Errors
-------------------------------------------------------------------------------------
[ERROR][2022-05-12 15:25:01][<Appliance FQDN>] Upgrade failed on this node. Monitoring on this node will be deactivated.
+ /etc/bootstrap/firstboot.d/02-setup-kubernetes
+ export -f wait_health
+ timeout 300s bash -c wait_health
Running check non-default-hostname
Running check eth0-ip
Running check single-aptr
make: *** [/opt/health/Makefile:38: single-aptr] Error 1
Error Code: LCMVRAVACONFIG590095
Failed to check VMware Aria Automation nodes health status. Ensure VMware Aria Automation node is up and services are running
Aria Automation 8.x
Aria Automation Orchestrator 8.x
To resolve the issue, confirm the reverse lookup PTR record is created in DNS for the Aria Automation or Aria Orchestrator hostname.
VMware Aria Automation/VMware Aria Automation Orchestrator 8.7 and later use the dig command instead of host in order to validate the DNS service in the script /opt/health/Makefile "single-aptr".
single-aptr: eth0-ip
$(begin_check)
echo Check the ip address if eth0 resolves only to a single hostname
[ 1 -eq $$( host $$( host $$( iface-ip eth0 ) | wc -l ) ] $(end_check)
single-aptr: eth0-ip
$(begin_check)
echo Check the ip address if eth0 resolves only to a single hostname [ 1 -eq $$(/usr/bin/dig +noall +answer -x $$( iface-ip eth0 ) | grep "PTR" | wc - l ) ]
$(end_check)
Therefore, for these versions it is recommended to run the following commands:
/usr/bin/dig +noall +answer +nocookie -x $( iface-ip eth0 )
/usr/bin/dig +noall +answer +noedns -x $( iface-ip eth0 )
/usr/bin/dig +noall +answer -x $( iface-ip eth0 )
Scenarios:
If the answers are blank, it is required to create a PTR record.
If only the last command succeeds and a Microsoft AD DNS server is being used, please review this Microsoft Article Some DNS name queries are unsuccessful after you deploy a Windows-based DNS server.
Note
root@vra-01 [ ~ ]# /usr/bin/dig +noall +answer +nocookie -x $( iface-ip eth0 )
X.X.X.X.in-addr.arpa. 3600 IN PTR vra-01.X.X.
root@vra-01 [ ~ ]# /usr/bin/dig +noall +answer +noedns -x $( iface-ip eth0 )
X.X.X.X.in-addr.arpa. 3600 IN PTR vra-01.X.X.
root@vra-01 [ ~ ]# /usr/bin/dig +noall +answer -x $( iface-ip eth0 )
X.X.X.X.in-addr.arpa. 3600 IN PTR vra-01.X.X.
See Troubleshooting VMware Aria Automation 8.x (formerly vRealize Automation 8.x) upgrades and Troubleshooting VMware Aria Automation cloud proxies and On-Premises appliance deployments for additional troubleshooting guidance.