[ClusterLabs] pcs property maintenance mode --wait not supported

Tomas Jelinek tojeline at redhat.com
Fri Jun 2 03:28:55 EDT 2023



Dne 02. 06. 23 v 3:33 Reid Wahl napsal(a):
> On Thu, Jun 1, 2023 at 6:38 AM S Sathish S via Users
> <users at clusterlabs.org> wrote:
>>
>> Hi Team,
>>
>> The ‘--wait’ option is not supported in pcs property maintenance mode which is working earlier in pcs-0.9.x version. To understand may I know, why --wait option got removed. Could you please help on this.
>>
>>   pcs property set maintenance-mode=true/false --wait=120
>>
>>   [root at node1 user]#  pcs property set maintenance-mode=false --wait=120
>> Error: Specified option '--wait' is not supported in this command
>> [root at node1 user]#
>>
>>   Below rpms we are using.
>> pcs-0.10.16-1.el8.x86_64
>> pacemaker-2.1.5-1.el8.x86_64
>> corosync-3.1.7-1.el8.x86_64
>> resource-agents-4.12.0-1.el8.x86_64
>> libknet1-1.25-1.el8.x86_64
>>
>> Thanks and Regards,
>> S Sathish S
> 
> I believe `--wait` was ignored for the property command in pcs-0.9 but
> didn't throw an error. It looks like the argument validation has
> improved in pcs-0.10. One of the pcs devs can correct me if I'm wrong.

That is correct, `--wait` was never implemented in `pcs property set` 
command. It's not even documented.

Regards,
Tomas

> 
>>
>> _______________________________________________
>> Manage your subscription:
>> https://lists.clusterlabs.org/mailman/listinfo/users
>>
>> ClusterLabs home: https://www.clusterlabs.org/
> 
> 
> 



More information about the Users mailing list