[ClusterLabs] What happened to "crm resource migrate"?

Yan Gao YGao at suse.com
Tue Oct 15 05:45:36 EDT 2019


On 10/15/19 11:06 AM, Andrei Borzenkov wrote:
> On Tue, Oct 15, 2019 at 11:58 AM Yan Gao <YGao at 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


More information about the Users mailing list