-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-10.0
-
No
-
Low
-
rhel-ha
-
2
-
False
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
Although 'list' command for showing configuration being deprecated in new versions in favor of 'config', syntax for showing resource groups are still using 'list' and 'config' alias is not present. Also the 'list' word is compulsory, simple 'pcs resource group' won't show the configuration.
Please provide the package NVR for which the bug is seen:
pcs-0.12.0~b1-1.el10.x86_64
How reproducible is this bug?:
always
Steps to reproduce
[root@virt-488 ~]# pcs resource group list --help Usage: pcs resource group list... group list Show all currently configured resource groups and their resources.
[root@virt-488 ~]# pcs resource group list g1: d1 d2
[root@virt-488 ~]# pcs resource group config
Usage: pcs resource group ...
group list
Show all currently configured resource groups and their resources.
{... usage for resource group is written ...}
[root@virt-488 ~]# echo $?
1
[root@virt-488 ~]# pcs resource group
Usage: pcs resource group...
group list
Show all currently configured resource groups and their resources.
{... usage for resource group is written ...}
[root@virt-488 ~]# echo $?
1
Compared to other commands (e.g. tags):
[root@virt-488 ~]# pcs tag list Error: This command has been replaced with 'pcs tag config'. See 'man pcs' -> Changes in pcs-0.12.
[root@virt-488 ~]# pcs tag config t1 d1 [root@virt-488 ~]# pcs tag t1 d1
Expected results
Syntax of the commands showing configuration
pcs resource group
pcs resource group config
Actual results
The only working syntax for resource group is now
pcs resource group list