Fresh Deployment of Aria Automation is getting failed with error " [/opt/health/Makefile:38: single-aptr] Error 1"
search cancel

Fresh Deployment of Aria Automation is getting failed with error " [/opt/health/Makefile:38: single-aptr] Error 1"

book

Article ID: 406158

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • Installation of Aria Automation  through LCM is getting failed with Error Code: LCMVRAVACONFIG590004
    First boot check failed on VMware Aria Automation. Check if all the network details provided are valid.
    VMware Aria Automation VA deployment failed at first boot check on host name < FQDN of VRA >. If first boot check failed due to NTP setting, ensure provided NTP server(s) - are valid. If invalid, retry the task with valid NTP server(s) in the retry parameter 'ntp' by setting 'deleteAlreadyCreatedVM' to 'true'. To configure more than one NTP server, provide comma(,) separated values for 'ntp'.
  • The /var/log/bootstrap/firstboot.log contains errors similar to
    Running check single-aptr
    make: *** [/opt/health/Makefile:38: single-aptr] Error 1
    make: Target 'firstboot' not remade because of errors.
    2023-07-19 21:43:32Z Script /etc/bootstrap/firstboot.d/02-setup-kubernetes failed, error status 124
  • When we try to validate the Forward and Reverse DNS for the Aria Automation Node IP/FQDN with below commands , we see that there was 2 FQDN's for the one IP. 

    /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 )

 

Environment

Aria Automation 8.xx

Cause

  • As part of installation & upgrades Aria Automation calls a health script located under /opt/health/Makefile.The relevant check for hostname resolution contained in this script is as follows:

    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 +noedns -x $$( iface-ip eth0 ) |  grep "PTR" | wc -l ) ]
            $(end_check)

  • This health check will fail if it does not receive the expected response from the DNS server:
  • The below commands should return a single PTR record. 

    /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 )

Resolution

Resolution scenario's:

  • If the responses are blank, you must create a PTR record.
  • if the responses are having duplicate records, delete the duplicate records. 
  • If you must update a record in DNS, follow the instructions located under Update the DNS assignment for VMware Aria Automation. Do not make manual changes to the DNS configuration.