Service gateway configuration fails with "host_tn_min_os_version" error when enabling EVPN-VXLAN advanced services
search cancel

Service gateway configuration fails with "host_tn_min_os_version" error when enabling EVPN-VXLAN advanced services

book

Article ID: 457100

calendar_today

Updated On:

Products

VMware NSX VMware Cloud Foundation

Issue/Introduction

When configuring a service gateway with a distributed VXLAN connection, the configuration fails and triggers a host_tn_min_os_version error message if the minimum required host transport node version is not met.

In version 9.1.1 and later, distributed VXLAN connectivity supports advanced networking services such as network address translation (NAT), load balancing, and DHCP relay.
To enable support for these features alongside the EVPN-VXLAN external connection, you must explicitly configure the host_tn_min_os_version value for your NSX deployment.

Environment

VMware NSX 9.1.1 and later
VMware Cloud Foundation (VCF) 9.1.1 and later

Cause

This error occurs because the host transport nodes must meet the minimum required ESX version of 9.1.1.0 to enable advanced services for EVPN-VXLAN.

The system requires an explicit opt-in via the NSX API to set this minimum version.

Resolution

To remediate this issue, you must use the NSX API to configure the host_tn_min_os_version value.

  1. Verify Prerequisites:
    Verify that each host transport node in your NSX environment is running ESX 9.1.1.0 or later.
  2. Set the Opt-In Value:
    Use the following API call and request payload to set the host_tn_min_os_version value:
    PUT https://<nsx-mgr>/policy/api/v1/infra/sites/default/enforcement-points/default/host-transport-nodes/feature-opt-in
    {
       "host_tn_min_os_version": "9.1.1.0"
    }
  3. Verify the Configuration:
    You can use the following API to verify if the feature has been enabled post-updating the host_tn_min_version:
    GET https://<nsx-mgr>/policy/api/v1/infra/sites/default/enforcement-points/default/host-transport-nodes/feature-opt-in/state

    Note: Ensure the response shows "permitted": true against the feature to confirm it is successfully enabled.

    Sample Response:

    {
      "results": [
        {
          "feature_switch_name": "EvpnVxlanWithAdvancedServiceAS",
          "permitted": true,
          "tn_minimum_version": "9.1.1.0",
          "description": "Enables Advanced Services along with EVPN-VXLAN external interface."
        }
      ],
      "result_count": 1
    }

Important Warning:

Enabling this option has strict implications.
It is a hard flag that must only be enabled once all hosts are upgraded to the required version (9.1.1.0).
Once enabled, hosts with older versions can no longer be registered, and once the host_tn_min_os_version is set to a higher version, it cannot be reverted back.

Additional Information