Bug 2032473
Summary: | corosync-qdevice not being automatically enabled when declaring a quorum device in a cluster | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Tomas Jelinek <tojeline> |
Component: | pcs | Assignee: | Tomas Jelinek <tojeline> |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 9.0 | CC: | cluster-maint, cluster-qe, gianluca.cecchi, idevat, jablanco, kmalyjur, mlisik, mmazoure, mpospisi, nhostako, omular, sbradley, svalasti, tojeline |
Target Milestone: | rc | Keywords: | EasyFix, Regression, Triaged |
Target Release: | 9.0 | Flags: | pm-rhel:
mirror+
|
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | pcs-0.11.1-7.el9 | Doc Type: | Bug Fix |
Doc Text: |
Cause:
User adds a quorum device into a cluster.
Consequence:
Pcs doesn't configure cluster nodes to start quorum device daemon on boot causing the nodes not to communicate with the quorum device.
Fix:
Fix a bug which prevented pcs to correctly detect if corosync is configured to start on boot.
Result:
When adding a quorum device to a cluster, nodes are properly configured to start quorum device on boot.
|
Story Points: | --- |
Clone Of: | 2028902 | Environment: | |
Last Closed: | 2022-05-17 12:19:34 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: | |||
Bug Depends On: | 2028902 | ||
Bug Blocks: |
Description
Tomas Jelinek
2021-12-14 14:43:58 UTC
Workaround: pcs cluster enable --all Upstream patch: https://github.com/ClusterLabs/pcs/commit/824c6552cea1b8d25ccff78bf54697657509b5f0 https://github.com/ClusterLabs/pcs/commit/9376a6c9dc0b3e070741617d8bfe26d40d34129f Test: see comment #0 DevTestResults: [root@r90-node-01 ~]# rpm -q pcs pcs-0.11.1-7.el9.x86_64 ### setup qdevice on a node which is not a cluster member [root@r8-node-03 ~]# dnf -yq install corosync-qnetd Installed: corosync-qnetd-3.0.1-1.el8.x86_64 nss-tools-3.67.0-7.el8_5.x86_64 [root@r8-node-03 ~]# pcs qdevice setup model net --enable --start Quorum device 'net' initialized quorum device enabled Starting quorum device... quorum device started [root@r8-node-03 ~]# systemctl show corosync-qnetd -p ActiveState -p UnitFileState ActiveState=active UnitFileState=enabled ### add qdevice to the enabled cluster root@r90-node-01 ~]# dnf -yq install corosync-qdevice Installed: corosync-qdevice-3.0.1-4.el9.x86_64 nss-tools-3.71.0-3.el9.x86_64 [root@r90-node-01 ~]# pcs cluster enable --all r90-node-01: Cluster Enabled r90-node-02: Cluster Enabled [root@r90-node-01 ~]# pcs host auth -u hacluster -p password r8-node-03 r8-node-03: Authorized [root@r90-node-01 ~]# pcs quorum device add model net host=r8-node-03 algorithm=lms Setting up qdevice certificates on nodes... r90-node-01: Succeeded r90-node-02: Succeeded Enabling corosync-qdevice... r90-node-01: corosync-qdevice enabled r90-node-02: corosync-qdevice enabled Sending updated corosync.conf to nodes... r90-node-01: Succeeded r90-node-02: Succeeded r90-node-01: Corosync configuration reloaded Starting corosync-qdevice... r90-node-01: corosync-qdevice started r90-node-02: corosync-qdevice started ### check corosync-qdevice is enabled [root@r90-node-01 ~]# systemctl show corosync-qdevice -p ActiveState -p UnitFileState ActiveState=active UnitFileState=enabled Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: pcs), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:2290 |