Bug 1327984 - [cli] "pcs constraint show" should not produce futile labels
Summary: [cli] "pcs constraint show" should not produce futile labels
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pcs
Version: 9.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 9.4
Assignee: Ondrej Mular
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-18 08:13 UTC by Jan Pokorný [poki]
Modified: 2023-08-10 15:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 07:41:02 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-153555 0 None None None 2023-03-30 11:31:44 UTC

Description Jan Pokorný [poki] 2016-04-18 08:13:09 UTC
For instance see
http://oss.clusterlabs.org/pipermail/users/2016-April/002666.html

For posterity, quoting a relevant part:
> # pcs constraint show --full
> Location Constraints:
>   Resource: IPService
>     Enabled on: nodo1 (score:10) (id:location-IPService-nodo1-10)
>     Enabled on: nodo2 (score:9) (id:location-IPService-nodo2-9)
>     Enabled on: nodo1 (score:INFINITY) (role: Started) (id:cli-prefer-IPService)
> [...]
> Ordering Constraints:
> Colocation Constraints:
>   Web with IPService (score:INFINITY) (id:colocation-Web-IPService-INFINITY)
>   MTA with IPService (score:INFINITY) (id:colocation-MTA-IPService-INFINITY)
>   clusterdataClone with IPService (score:INFINITY) (rsc-role:Master)
> (with-rsc-role:Started)
> (id:colocation-clusterdataClone-IPService-INFINITY)

Emitting "Ordering Constraints" in this case has no meaning whatsoever,
it only clutters the output for others (at least the command originator)
to evaluate mentally as a spam.

Please, make pcs outputs as concise (spam-free) as possible to avoid
the needless mental strain.

I wouldn't worry about possible scripts relying on pcs output in this
case too much: you need a FSM only acting upon observing
> Ordering Constraints:
line, and when this won't show up, there is nothing to process in effect.

Comment 4 RHEL Program Management 2020-12-15 07:41:02 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.