VNI Pool with allocated IDs in failed state when range is updated.
search cancel

VNI Pool with allocated IDs in failed state when range is updated.

book

Article ID: 312548

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • EVPN VNI pool is configured and has allocated IDs.
  • You are trying to update or expand the pool range, changing both start and end values. Once you save the change below realization error pops up. "update/delete failed as it has allocated ids".
  • On further log analysis you see below in nsxapi.log

ERROR providerTaskExecutor-59 RangeServiceImpl 4960 POOL-MGMT [nsx@6876 comp="nsx-manager" error

Code="MP1" level="ERROR" subcomp="manager"] Pool ########-####-####-####-######## cannot be deleted/updated as it has

 allocated ids

java.lang.UnsupportedOperationException: Cannot delete Partition 97 as it has allocated Ids

        at com.vmware.nsx.platform.idas.lib.service.RangePartitionServiceImpl.delete(RangePartitionServiceImpl.java:103)

~[?:?]

        at com.vmware.nsx.platform.idas.lib.service.RangeServiceImpl.deletePartitions(RangeServiceImpl.java:757) ~[?:?]

        at com.vmware.nsx.platform.idas.lib.service.RangeServiceImpl.updateStart(RangeServiceImpl.java:778) ~[?:?]

        at com.vmware.nsx.platform.idas.lib.service.IdAllocationServiceImpl.updateRange(IdAllocationServiceImpl.java:262)

2023-11-01T10:12:40.029Z INFO providerTaskExecutor-59 AlarmServiceImpl 4960 POLICY [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Message returned [IDAS14] Pool update/delete failed as it has allocated ids.

  • Realization API shows below error for the VNI pool.

GET https://<NSX-MGR/policy/api/v1/infra/realized-state/realized-entities?intent_path=/infra/vni-pools/###

    "results": [

        {

            "entity_type": "RealizedVniPoolConfig",

            "intent_paths": [

                "/infra/vni-pools/###"

            ],

            "resource_type": "GenericPolicyRealizedResource",

            "id": "###",

            "display_name": "###",

            "path": "/infra/realized-state/enforcement-points/default/vni-pools/###",

            "relative_path": "###",

            "parent_path": "/infra/realized-state/enforcement-points/default",

  ****************snipped**********************

            "realization_specific_identifier": "########-####-####-####-############",

            "state": "ERROR",

            "alarms": [

                {

                    "message": "[IDAS14] Pool update/delete failed as it has allocated ids.",

***********************snipped******************************

  • This behavior is only seen when start field of the range is updated.

Environment

  • VMware NSX-T Data Center
  • NSX version is 3.x/4.x

Cause

  • When the start of a range is updated, all allocated ids must be remapped to new partitions. This remapping is not supported if the pool has allocated IDs. 

Resolution

  • This is an expected behavior in all NSX versions.