Deploying VIO Heat stack fails intermittently for VMware NSX for the vSphere 6.x Edge and reports the error: Cannot allocate memory
search cancel

Deploying VIO Heat stack fails intermittently for VMware NSX for the vSphere 6.x Edge and reports the error: Cannot allocate memory

book

Article ID: 339064

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

Symptoms:
  • During Edge Services Gateway deployment, adding a virtual NIC interface fails
  • Configuring a virtual NIC interface manually on the NSX for vSphere 6.x Edge fails
  • In the VIO log file of the ESXi hosts, you see memory allocation failure similar to:

    https://172.30.7.50/api/4.0/edges/edge-65/vnics/4 is Bad, response {"details":"Configuration failed on NSX Edge vm vm-1439.","errorCode":10014,"rootCauseString":"[65280] /sbin/ifconfig vNic_4 up failed : SIOCSIFFLAGS: Cannot allocate memory\n","moduleName":"vShield Edge"}#0122015-09-09 08:30:22.348 31192 TRACE neutron.api.v2.resource
  • In the NSX Edge support logs, you see memory allocation failure similar to.

    2015-09-09T08:30:54+00:00 vShield-edge-65-0 config: [daemon.err] ERROR :: C_UTILS :: [73001] [65280] /sbin/ifconfig vNic_4 up failed : SIOCSIFFLAGS: Cannot allocate memory
    2015-09-09T08:30:54+00:00 vShield-edge-65-0 [user.notice]
    2015-09-09T08:30:54+00:00 vShield-edge-65-0 config: [daemon.err] ERROR :: VseCommandHandler :: Configuration request failed eventually. Error: [C_UTILS][73001][65280] /sbin/ifconfig vNic_4 up failed : SIOCSIFFLAGS: Cannot allocate memory


    For more information on Edge logs, see Collecting diagnostic information for VMware NSX Edge (2079380).

    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 NSX for vSphere 6.1.x

Cause

This issue occurs because of a memory leak caused by the VMGuestAppMonitor process on the NSX Edge appliance.

Resolution

This issue is resolved in VMware NSX for vSphere 6.2.1, available at VMware Downloads. For more information, see the NSX for vSphere 6.2.1 Release Notes.

If you are unable to upgrade at this time, follow the workaround.

To work around the issue, reboot the NSX Edge appliance.

Additional Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box.
Collecting diagnostic information for VMware NSX Edge