Upgrading from NSX for vSphere 6.1.x to 6.2.x fails
search cancel

Upgrading from NSX for vSphere 6.1.x to 6.2.x fails

book

Article ID: 342292

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

Symptoms:
  • Cannot upgrade from VMware NSX for vSphere 6.1.x to 6.2.x.
  • Upgrading from VMware NSX for vSphere 6.1.x to 6.2.x fails
  • You see the error:

    Internal server error occurred.
  • Running the show log command on the NSX Manager console reports entries similar to:

    2015-12-21 16:12:08.010 CET INFO http-nio-127.0.0.1-7441-exec-16 AuditingServiceImpl:147 - [AuditLog] UserName:'vsphere.local\administrator', ModuleName:'NSX Edge Gateway', Operation:'UPGRADE', Resource:'vse-xxxx vCNS (636dfdda-3eaa-4948-8c7c-66cfdfe4dbe6)', Time:'Mon Dec 21 16:12:08.005 CET 2015', Status:'FAILURE', Universal Object:'false'
    2015-12-21 16:12:08.013 CET WARN http-nio-127.0.0.1-7441-exec-16 RemoteInvocationTraceInterceptor:87 - Processing of VsmHttpInvokerServiceExporter remote call resulted in fatal exception: com.vmware.vshield.edge.facade.EdgeFacade.upgradeEdge java.lang.NullPointerException
    at com.vmware.vshield.edge.utils.EdgeSystemControlUtils.handleSysctlOnEdgeUpgradeto62(EdgeSystemControlUtils.java:417)
    at com.vmware.vshield.edge.service.EdgeUpgradeManager.updateV61xConfigToV62(EdgeUpgradeManager.java:125)
    at com.vmware.vshield.edge.service.EdgeUpgradeManager.updateConfigToLatest_aroundBody2(EdgeUpgradeManager.java:219)
    at com.vmware.vshield.edge.service.EdgeUpgradeManager$AjcClosure3.run(EdgeUpgradeManager.java:1)


    For more information, see Collecting diagnostic information for VMware NSX for vSphere 6.x (2074678).

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


Environment

VMware NSX for vSphere 6.2.x
VMware vCloud Networking and Security 5.5.x

Cause

This issue occurs when the configured sysctl parameters are not part of the allowlist file.

NSX Manager supports system control APIs or sysctl keys to tune system control configuration parameters on an NSX Edge. In NSX for vSphere 6.2.0, these APIs are documented in an allowlist file and validated by the Edge. Other sysctl keys that are not documented in the allowlist are not validated and considered as invalid and NSX Edge upgrade to 6.2.0 or later fails.

Resolution

To resolve this issue, contact VMware Support and reference this Knowledge Base article (2135295) in the problem description of your support request. For more information, see How to File a Support Request.