Edge upgrade fails with error code 73001 - Failed to reload haproxy
search cancel

Edge upgrade fails with error code 73001 - Failed to reload haproxy

book

Article ID: 312594

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • You are upgrading an Edge configured with HA 
  • The upgrade fails with error code 73001
  • In /logs/management-services/vsm.log you encounter an entry similar to the below in the logs:
    2021-04-21 20:34:35.703 UTC ERROR messagingTaskExecutor-9 VseRpcResponseHandler:281 - - [nsxv@6876 comp="nsx-manager" errorCode="MP10277" level="ERROR" subcomp="manager"] ******* Configuration Failed for request bf6f47c5-####-####-####-########156 on vm vm-#### *******

    errCode :73001

    errMsg :[256] Failed to start haproxy : Starting HA-Load-Balancer: vse-ha-lb
    .
    .
    .
    .
    2021-04-21 20:34:35.703 UTC ERROR messagingTaskExecutor-9 VseRpcResponseHandler:281 - - [nsxv@6876 comp="nsx-manager" errorCode="MP10277" level="ERROR" subcomp="manager"] ******* Configuration Failed for request bf6f47c5-####-####-####-########156 on vm vm-#### *******

    errCode :73001
    errMsg :[256] Failed to start haproxy : Starting HA-Load-Balancer: vse-ha-lb

 
  • In /logs/management-services/vsm.log you also encounter an entry similar to the below in the logs:
    2021-05-27 10:41:04.730 UTC ERROR messagingTaskExecutor-10 VseOutput:116 - - [nsxv@6876 comp="nsx-manager" errorCode="MP10277" level="ERROR" subcomp="manager"] ils.pm line 101

            Plugins::configurators::Utils::Utils::RunSystemCommand("/etc/rc.d/init.d/haproxy reload", 73001, "Failed to reload haproxy") called at /opt/vmware/vshield/Plugins/configurators/Utils/ServiceControl.pm line 396

            Plugins::configurators::Utils::ServiceControl::ReloadServer("haproxy") called at /opt/vmware/vshield/Plugins/configurators/Utils/ServiceControl.pm line 333

            Plugins::configurators::Utils::ServiceControl::UpdateServer("haproxy", "up", "/var/db/vmware/vshield/vse_one/") called at /opt/vmware/vshield/Plugins/configurators/haproxy/haproxy.pm line 649

        
​​​
NOTE: The preceding log excerpts are only examples. Date, time and environmental variables may vary depending on your environment.​​​​​



Environment

VMware NSX Data Center for vSphere 6.4

Cause

  • The issue is due to a whitespace at the end of the "Cookie Name" field in the Edge Application Profile
 

Resolution

This is a condition that may occur in a VMware NSX environment.

Workaround

Remove the whitespaces from the "Cookie Name" field in the Application Profile.