Bug 1467699

Summary: (degenerate) case of running "pcs cluster stop" on a single node cluster should either not complain about quorum loss, or suggest --all rather than --force
Product: Red Hat Enterprise Linux 9 Reporter: Jan Pokorný [poki] <jpokorny>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED WONTFIX QA Contact: cluster-qe <cluster-qe>
Severity: low Docs Contact:
Priority: low    
Version: 9.0CC: cluster-maint, idevat, mlisik, mpospisi, nhostako, omular, tojeline
Target Milestone: rcKeywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-24 07:27:46 UTC 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 Jan Pokorný [poki] 2017-07-04 16:30:35 UTC
There's no real notion of quorum in such a case, hence the warning

> Error: Stopping the node will cause a loss of the quorum, use --force
> to override

doesn't make much sense (at least without quorum devices at play).

Furthermore, it might be wise to suggest --all with an "if you indeed
want to stop whole cluster (X nodes) at once" subtext all the time,
because "cluster stop" may be the first choice when one wants to
achive exactly this objective :)

Comment 2 Tomas Jelinek 2017-07-10 15:21:01 UTC
(In reply to Jan Pokorný from comment #0)
> There's no real notion of quorum in such a case, hence the warning
> 
> > Error: Stopping the node will cause a loss of the quorum, use --force
> > to override
> 
> doesn't make much sense (at least without quorum devices at play).

Running a one-node cluster doesn't make much sense either as it's not really HA.


> Furthermore, it might be wise to suggest --all with an "if you indeed
> want to stop whole cluster (X nodes) at once" subtext all the time,
> because "cluster stop" may be the first choice when one wants to
> achieve exactly this objective :)

Fair point, we can add this. And I would also consider it a fix for the one-node cluster case.

Comment 3 Jan Pokorný [poki] 2017-07-11 19:49:59 UTC
Re [comment 2]:

> Running a one-node cluster doesn't make much sense either as it's
> not really HA.

That shifts discussion out of the scope -- can pcs bring you a single
node setup?  Certainly yes in the current shape.

Comment 5 RHEL Program Management 2021-01-15 07:39:17 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.

Comment 10 RHEL Program Management 2022-08-24 07:27:46 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.