When the user tries to shrink a particular edge node from sddc manager , the workflow deletes bgp neighbor config, tier 0 interface, and enables t1 standby relocation as a part of workflow. VCF workflow puts the particular edge node in maintenance mode and shuts down the particular edge node. After this step when it tries to remove this edge node from edge cluster, NSX will give error something as shown below:
data = struct => {error_message=[Routing] Entity PolicyEdgeNode//infra/sites/default/enforcement-points/default/edge-clusters/########-####-####-####-########65fc/edge-nodes/2 can not be deleted as it is being referenced by entity(s): LrPort/########-####-####-####-########a722, LrPort/########-####-####-####-########d686, httpStatus=BAD_REQUEST, error_code=10026, module_name=ROUTING},
errorType = INVALID_REQUEST
"Lrport is in USE"