Bug 2219554

Summary: Improve documentation and error messages of `pcs resource move` command
Product: Red Hat Enterprise Linux 9 Reporter: Ondrej Mular <omular>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: NEW --- QA Contact: cluster-qe <cluster-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.3CC: cluster-maint, idevat, mlisik, mpospisi, omular, tojeline
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ondrej Mular 2023-07-04 09:39:42 UTC
Documentation of `pcs resource move` command needs to better describe a case when command fails and a constraint used to move the resource is not removed by pcs afterwards. Error message produced by pcs in a such case may also be improved to suggest to use `pcs resource clear <resource> [<node>]` command in order to remove the constraint. However, the error message should be clear that removal of the constraint may cause the resource to move to another node.