<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Lejeczek,</p>
<p>Thanks for raising this. We'll improve the error message to make
it clear that the cluster needs to be stopped in order to proceed.</p>
<p>Tomas</p>
<p><br>
</p>
<div class="moz-cite-prefix">Dne 24. 07. 23 v 14:22 Michal Pospíšil
(he / him) napsal(a):<br>
</div>
<blockquote type="cite"
cite="mid:CAGd5o6Qtwwf1WXOKxrTAKKpCNnW6DG5P2GYKuhunPxg7si7zRw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hello all,<br>
</div>
<div><br>
</div>
<div>One more useful link that I forgot to include in my
original reply - list of corosync options and when it is
possible to update them: <a
href="https://github.com/corosync/corosync/wiki/Config-file-values"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/corosync/corosync/wiki/Config-file-values</a></div>
<div><br>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Michal<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, 24 Jul 2023 at 13:04,
Michal Pospíšil (he / him) <<a
href="mailto:mpospisi@redhat.com" moz-do-not-send="true"
class="moz-txt-link-freetext">mpospisi@redhat.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Hi lejeczek,</div>
<div><br>
</div>
<div>Unfortunately, that command shouldn't work in this
situation. The problem is that the cluster (corosync)
is running. From the man page:</div>
<div><br>
</div>
<div>update [auto_tie_breaker=[0|1]]
[last_man_standing=[0|1]]
[last_man_standing_window=[<time in ms>]]
[wait_for_all=[0|1]]<br>
Add, remove or change quorum options. At
least one option must be specified. Unspecified
options will be kept unchanged. If you wish to remove
an option, set it to empty value, i.e.<br>
'option_name='. Options are documented in
corosync's votequorum(5) man page. <b>Requires the
cluster to be stopped.</b><span
style="font-family:monospace"><br>
</span></div>
<div><br>
</div>
<div>The output looks correct. More inline...<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, 22 Jul 2023 at
13:44, lejeczek via Users <<a
href="mailto:users@clusterlabs.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">users@clusterlabs.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> <font size="2"><font face="Courier 10 Pitch">Hi
guys.<br>
<br>
That below should work, right?<br>
<br>
-> $ pcs quorum update last_man_standing=1
--skip-offline<br>
Checking corosync is not running on nodes...<br>
</font></font></div>
</blockquote>
<div><br>
</div>
<div>Corosync cannot be running to perform the requested
corosync.conf update.<br>
</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div><font size="2"><font face="Courier 10 Pitch">
Warning: Unable to connect to dzien (Failed to
connect to dzien port 2224: No route to host)</font></font>
<br>
</div>
</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div><font size="2"><font face="Courier 10 Pitch">
Warning: dzien: Unable to check if corosync is
not running<br>
</font></font></div>
</blockquote>
<div><br>
</div>
<div>Because of `--skip-offline`, these two messages are
warnings, not errors. <br>
</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div><font size="2"><font face="Courier 10 Pitch">
Error: swir: corosync is running<br>
Error: whale: corosync is running<br>
</font></font></div>
</blockquote>
<div><br>
</div>
<div>Turns out corosync is running on two other nodes,
this is why pcs refuses to continue. You have to stop
the cluster, unfortunately.<br>
</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div><font size="2"><font face="Courier 10 Pitch">
Error: Errors have occurred, therefore pcs is
unable to continue<br>
<br>
if it should, why does it not or what else am I
missing?<br>
<br>
many thanks, L<br>
<br>
</font></font> </div>
_______________________________________________<br>
Manage your subscription:<br>
<a
href="https://lists.clusterlabs.org/mailman/listinfo/users"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a
href="https://www.clusterlabs.org/" rel="noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://www.clusterlabs.org/</a><br>
</blockquote>
</div>
</div>
<div><br>
</div>
<div><br clear="all">
</div>
<div>Cheers,</div>
<div>Michal<br>
</div>
<div>
<div><span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<p
style="font-weight:bold;margin:0px;padding:0px;font-size:14px;font-family:"RedHatText",sans-serif">
<font size="2"><span>MICHAL POSPISIL</span><span></span></font><span
style="color:rgb(170,170,170);margin:0px"></span><br>
<span style="font-weight:normal"><font
size="2">He / Him / His</font></span></p>
<p
style="font-size:12px;margin:0px;font-family:"RedHatText",sans-serif">
<font size="2">Associate Software Engineer</font></p>
<p
style="font-size:12px;margin:0px;font-family:"RedHatText",sans-serif"><font
size="2">RHEL HA Cluster - PCS</font></p>
<p
style="font-size:12px;margin:0px;font-family:"RedHatText",sans-serif"><font
size="2"><a
style="color:rgb(0,136,206);margin:0px;text-decoration:none;font-family:"RedHatText",sans-serif"
href="https://www.redhat.com"
target="_blank" moz-do-not-send="true">Red
Hat <span>Czech, s.r.o.</span></a></font><font
size="2"><br>
Purkyňova 97b, 612 00 Brno</font></p>
<div style="margin-bottom:4px"><span></span><span>
</span> </div>
<p
style="font-weight:normal;margin:0px;font-size:12px;font-family:"RedHatText",sans-serif">
<span style="margin:0px;padding:0px"><a
style="color:rgb(0,0,0);font-size:12px;margin:0px;text-decoration:none;font-family:"RedHatText",sans-serif"
href="mailto:mpospisi@redhat.com"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">mpospisi@redhat.com</a>
</span><span><span>IRC: mpospisi</span></span>
</p>
<div style="margin-top:12px">
<table border="0">
<tbody>
<tr>
<td width="100px"><a
href="https://www.redhat.com"
target="_blank"
moz-do-not-send="true"> <img
src="https://static.redhat.com/libs/redhat/brand-assets/2/corp/logo--200.png"
moz-do-not-send="true"
width="90" height="auto"></a> </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<br>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<p
style="font-weight:bold;margin:0px;padding:0px;font-size:14px;font-family:"RedHatText",sans-serif">
<font size="2"><span>MICHAL POSPISIL</span><span></span></font><span
style="color:rgb(170,170,170);margin:0px"></span><br>
<span style="font-weight:normal"><font size="2">He /
Him / His</font></span></p>
<p
style="font-size:12px;margin:0px;font-family:"RedHatText",sans-serif">
<font size="2">Associate Software Engineer</font></p>
<p
style="font-size:12px;margin:0px;font-family:"RedHatText",sans-serif"><font
size="2">RHEL HA Cluster - PCS</font></p>
<p
style="font-size:12px;margin:0px;font-family:"RedHatText",sans-serif"><font
size="2"><a
style="color:rgb(0,136,206);margin:0px;text-decoration:none;font-family:"RedHatText",sans-serif"
href="https://www.redhat.com" target="_blank"
moz-do-not-send="true">Red Hat <span>Czech,
s.r.o.</span></a></font><font size="2"><br>
Purkyňova 97b, 612 00 Brno</font></p>
<div style="margin-bottom:4px"><span></span><span> </span>
</div>
<p
style="font-weight:normal;margin:0px;font-size:12px;font-family:"RedHatText",sans-serif">
<span style="margin:0px;padding:0px"><a
style="color:rgb(0,0,0);font-size:12px;margin:0px;text-decoration:none;font-family:"RedHatText",sans-serif"
href="mailto:mpospisi@redhat.com" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">mpospisi@redhat.com</a>
</span><span><span>IRC: mpospisi</span></span> </p>
<div style="margin-top:12px">
<table border="0">
<tbody>
<tr>
<td width="100px"><a
href="https://www.redhat.com"
target="_blank" moz-do-not-send="true"> <img
src="https://static.redhat.com/libs/redhat/brand-assets/2/corp/logo--200.png"
moz-do-not-send="true" width="90"
height="auto"></a> </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Manage your subscription:
<a class="moz-txt-link-freetext" href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a>
ClusterLabs home: <a class="moz-txt-link-freetext" href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a>
</pre>
</blockquote>
</body>
</html>