Symptom:
In a scaled NSX-T Cloud environment, it may be observed that the VS may take a few minutes to be marked OPER_UP after a disable/enable.
In the VS Events, it can be seen that the CC_DETACH_IP_SUCCESS takes several minutes since the VS was disabled. Same behavior may be seen for CC_ATTACH_IP_SUCCESS Event. (See example below)
NSX-T Cloud in 22.1.x versions
This is an expected outcome in a scaled environment. The reconcile task takes several minutes blocking other tasks from running (Attach/Detach IP tasks). This is because AVI creates the following NS Service and NS Groups in the NSX-T. This may consume significant amount of time to finish up delaying the Attach/Detach IP tasks.
In 30.2.2, a flag called "automate_dfw_objects" is introduced which can be turned off to disable the creation of the above objects by AVI. This can significantly reduce the reconcile thereby leading to faster IP Attach/Detach.
If the DFW objects are needed, then please follow the recommended configuration for reconcile and discovery as per the following documents.
> configure cloud <cloud-name>
> autoscale_polling_interval 600
> nsxt_configuration
> no automate_dfw_objects
> save
> save
> configure controller properties
> cloud_reconcile_interval 1440
> cloud_discovery_interval 30
> save
Doc: https://docs.vmware.com/en/VMware-Avi-Load-Balancer/30.2/Installation-Guide/GUID-C62EAFC3-7966-4B8B-AA44-F38F428DAA1E.html#one-arm-mode-with-overlay-vip-segment--single-tier-1-1