VCF Operations deployment or High Availability configuration fails with "[Errno 97] Address family not supported by protocol" when upstream DNS returns IPv6 responses
search cancel

VCF Operations deployment or High Availability configuration fails with "[Errno 97] Address family not supported by protocol" when upstream DNS returns IPv6 responses

book

Article ID: 461477

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • During VMware Cloud Foundation (VCF) deployment or VCF Operations cluster deployment (specifically during the High Availability / HA role configuration phase), the deployment task in SDDC Manager fails or times out.One or more of the following symptoms may be present:

    1. SDDC Manager Task Failure:  In SDDC Manager sddcbuild/console-log-*.log or task execution logs:

      ERROR sddc-build-service ... [c.b.v.o.casa.service.OpsCasaService] - Failed to create VCF Operations cluster
      org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 500 on POST request for "https://<vcf-ops-fqdn>:443/casa/cluster": "{"error_message_key":"general.failure","error_arguments":[],"error_message":"Operation failed"}"

    2. CASA Web Application Error: In /storage/log/vcops/subsystems/casa/casa.log on the primary VCF Operations node:

      ERROR casa ... [com.vmware.vcops.casa.appconfig.AppConfigService.internalEnableHighAvailability] - Failed to enable High Availability: com.vmware.vcops.casa.exception.CasaException: Role state configuration failed: {}
      Caused by: org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 500 on POST request for "https://<vcf-ops-replica-fqdn>/casa/deployment/slice/role": "{"error_message_key":"general.failure","error_arguments":[],"error_message":"Operation failed"}"

    3. Role Configuration Failure: In /storage/vcops/log/vcopsConfigureRoles.log on the replica or cluster node:

      DEBUG ... [root - vc_ops_utilities - retrieve_all_local_machine_aliases] - Entering return machine alias set
      ERROR ... [root - vc_ops_utilities - logError] - An unhandled exception occurred, exiting with exit code: 1,
       ...
      OSError: [Errno 97] Address family not supported by protocol

(Note: The log entry OSError: [Errno 97] Address family not supported by protocol in vcopsConfigureRoles.log is the definitive indicator of this issue.)

Environment

VCF Operations 9.0.x
VCF Operations 9.1.x

Cause

During cluster deployment and High Availability (HA) configuration, VCF Operations performs network validation that queries DNS for local machine domain aliases, including localhost.localdom.

If the user's internal DNS forwards queries for this unmanaged domain to upstream DNS security or filtering services, the security DNS server may respond with an IPv6 sinkhole or block address. Because IPv6 is disabled on the appliance, receiving an unexpected IPv6 response or block address causes the network lookup to fail, which halts the High Availability configuration and causes the deployment workflow to fail.

Resolution

Broadcom is aware of this issue and this iwill be resolved in future release of VMware Cloud Foundation Operations.

Workaround:

Configure internal DNS server(s) to authoritatively resolve queries for localhost.localdom locally so they do not get forwarded to upstream security DNS servers:

  • Configure an authoritative zone or rule for localhost.localdom to return NXDOMAIN, OR
  • Create a static DNS A record resolving localhost.localdom to 127.0.0.1.

Once the DNS configuration is in place, retry the failed VCF Operations High Availability activation workflow from SDDC Manager.

Additional Information

Prevents initial deployment of VCF Operations clusters and HA/CA enablement in environments utilizing upstream DNS security inspection.