Summary|Logical Switch State "FAILED" = "FAILED".
GET https://<nsx-manager-fqdn>/api/v1/infra/segments/<segment-name>/state) or Corfu database (/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t LogicalSwitchState), specific segments report a state of "in_progress" or "CONFIG_STATUS_IN_PROGRESS".Aria Operations collects logical switch states via the NSX API. If the backend API reports a segment is not in a fully realized/success state (such as in_progress), Aria Operations interprets this as a failure and triggers an alert. This typically occurs when a backend task fails to update the Corfu database state after a network event (e.g., a core switch failure).
This will be fix in future release.
As a workaround, follow the below steps:
fix_dvpg_lsstate_stuck_in_progress.py/tmpList the affected LogicalSwitches using commandpython3 ./fix_dvpg_lsstate_stuck_in_progress.py --read_only
Fix the affected LogicalSwitches using command python3 ./fix_dvpg_lsstate_stuck_in_progress.py --cleanup
Confirm no more matches from the list again using python3 ./fix_dvpg_lsstate_stuck_in_progress.py --read_only
Notes:
--read_only first to confirm the affected LogicalSwitch Id(s) before --cleanup.