You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace ha_operation_would_break_failover_plan with constraint errors (#6666)
Now the HA shared SR and network constraint violations are used when
plugging and unplugging.
When unplugging a pbd or pif, enabling a host, or adding a vbd or vif,
the shared SR or network constraint violations could be violated, but
the error used in these cases was that the operation blocked the
failover planning. This was confusing because the main reason was not
mentioned in the error. Instead use the
shared constraint violation error, and log a more descriptive message in
the logs as info, because these can happen during normal operation and
there's nothing dodgy going on.
I previously wanted to know Tina's opinion on how we change the reason
in a way that can be better treated by clients and internationalized,
but saw that the error used was simply not the right one.
0 commit comments