Hi Ulrich, In https://github.com/ClusterLabs/crmsh/pull/273/files, the 4.2.0 definitely already included this change.
In my clean environment(0 resources configured cluster): 1. crm configure primitive d Dummy (then resource d will started) 2. crm resource stop<TAB><TAB> (or <one space><TAB> after stop, then you will find d completed) 3. crm resource start<TAB><TAB> (or <one space><TAB> after start, then you got d completed) ________________________________ From: Users <users-boun...@clusterlabs.org> on behalf of Ulrich Windl <ulrich.wi...@rz.uni-regensburg.de> Sent: Wednesday, December 16, 2020 5:57 PM To: users@clusterlabs.org <users@clusterlabs.org> Subject: [ClusterLabs] Antw: [EXT] Re: Q: crm resource start/stop completion >>> Xin Liang <xli...@suse.com> schrieb am 15.12.2020 um 03:55 in Nachricht <he1pr04mb3209c9f526ecb88178e8b222b0...@he1pr04mb3209.eurprd04.prod.outlook.com> > Hi Ulrich, > > crmsh already could do this completion:) Hi! Since when? Mine (crmsh-4.2.0+git.1604052559.2a348644-5.26.1.noarch) seems unable: When I use "crm(live/h16)resource# start " and press TAB, I see resources that are running already. May be that they don't have a target-role (so they are started by default). Can you confirm? Regards, Ulrich > > Regards, > Xin > ________________________________ > From: Users <users‑boun...@clusterlabs.org> on behalf of Ulrich Windl > <ulrich.wi...@rz.uni‑regensburg.de> > Sent: Monday, December 14, 2020 6:51 PM > To: users@clusterlabs.org <users@clusterlabs.org> > Subject: [ClusterLabs] Q: crm resource start/stop completion > > Hi! > > I wonder: Would it be difficult and would it make sense to change crm shell > to: > Complete "resource start " with only those resources that aren't running > (per role) already > Complete "resource stopt " with only those resources that are running (per > role) > > I came to this after seeing "3 disabled resources" in crm_mon output. As > crm_mon itself cannot display just those disabled resources (yet? ;‑)), I used > crm shell... > > Regards, > Ulrich > > > > _______________________________________________ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
_______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/