The action failed because there is a connected remote cluster. The upgrade cannot be applied because it would render the remote cluster at a different code level to the remote cluster.
Ensure that the cluster partnership is unconfigured before resubmitting the command. Ensure that you unconfigure the remote cluster and upgrade the code on it before reconfiguring the cluster partnership.