On Thu, Jun 1, 2023 at 6:38 AM S Sathish S via Users <users@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@node1 user]# pcs property set maintenance-mode=false --wait=120 > Error: Specified option '--wait' is not supported in this command > [root@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. > > _______________________________________________ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ -- Regards, Reid Wahl (He/Him) Senior Software Engineer, Red Hat RHEL High Availability - Pacemaker _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/