On 10/15/19 11:06 AM, Andrei Borzenkov wrote: > On Tue, Oct 15, 2019 at 11:58 AM Yan Gao <y...@suse.com> wrote: >>> >>> Help for "move" still says: >>> resource# help move >>> Move a resource to another node >>> >>> Move a resource away from its current location. >> Looks like an issue in the version of crmsh. >> >> Xin, could you please take a look? >> >> "crm_resource --move -r <rsc>" is allowed to run without being specified >> a node. > > This is actually documented in crmsh manual. > > If the destination node is left out, the resource is migrated by > creating a constraint which prevents it from running on the current > node. For this type of constraint to be created, the force argument is > required. > > So at least this is not a bug, but intentional design decision. > > https://github.com/ClusterLabs/crmsh/commit/9f05d366d273239dc332f430548cb0f1edfacafc Alright then. It's likely for preventing unintentional "ban" of resources. Thanks for pointing out.
Regards, Yan _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/