Bug 1552666
Summary: | clufter does not filter out some corosync qdevice options (votes,tls) when it generates 'pcs quorum device add...' command | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Miroslav Lisik <mlisik> |
Component: | clufter | Assignee: | Tomas Jelinek <tojeline> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | cluster-qe <cluster-qe> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.5 | CC: | cfeist, tojeline |
Target Milestone: | rc | ||
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: | 2020-05-15 09:11:45 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
Miroslav Lisik
2018-03-07 13:52:42 UTC
Thanks for the report. Tomáš pointed out that "tls" in particular is enabled by default ([bug 1476862 comment 5]) and ability to disable it is planned. Fixed in upstream and going to hit planned v0.77.1: https://pagure.io/clufter/c/b1abb872edbf373d5d49c275cf4ea0cc7e2194fb?branch=next To test, add for instance "tls: required" under quorum.device.net.tls
section in corosync.conf, then rerun that "clufter pcs2pcscmd" and
observe:
- no 'tls=required" within any of the resulting pcs commands
- on stderr:
> [needleqdevicexml2pcscmd] xslt: WARNING: non-default
> `quorum.device.net.tls` value `required`
> specified, but current pcs not capable
> to set it
re [comment 3]: actually, forgot to reference this bug, hence the new valid "next" commit https://pagure.io/clufter/c/28a954072365dff33d2498bdd2bb115b7aa82350?branch=next Fixed in clufter-0.77.1-1.el7 # clufter pcs2pcscmd --silent --noguidance --quiet --text-width=-1 #!/usr/bin/sh # sequence generated on 2020-05-15 11:08:26 with: clufter 0.77.1 # invoked as: ['/usr/bin/clufter', 'pcs2pcscmd', '--silent', '--noguidance', '--quiet', '--text-width=-1'] # targeting system: ('linux', 'redhat', '7.8', 'Maipo') # using interpreter: CPython 2.7.5 pcs cluster auth virt-005 virt-006 <> /dev/tty pcs cluster setup --name HAcluster virt-005 virt-006 --transport udpu pcs cluster start --all --wait=60 pcs quorum device add model net algorithm=ffsplit host=virt-007 ...{snipped} # cat /etc/corosync/corosync.conf totem { version: 2 cluster_name: HAcluster secauth: off transport: udpu } nodelist { node { ring0_addr: virt-005 nodeid: 1 } node { ring0_addr: virt-006 nodeid: 2 } } quorum { provider: corosync_votequorum device { model: net votes: 1 net { algorithm: ffsplit host: virt-007 tls: on } } } logging { to_logfile: yes logfile: /var/log/cluster/corosync.log to_syslog: yes } |