Bug 1679197
Summary: | Pcs should check for non-valid characters in corosync.conf keynames | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Tomas Jelinek <tojeline> | ||||
Component: | pcs | Assignee: | Tomas Jelinek <tojeline> | ||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 8.0 | CC: | cfeist, cluster-maint, cluster-qe, idevat, jpokorny, mlisik, nhostako, omular, rsteiger, tojeline | ||||
Target Milestone: | rc | Keywords: | EasyFix | ||||
Target Release: | --- | Flags: | pm-rhel:
mirror+
|
||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | pcs-0.10.1-8.el8 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause:
User puts special characters into heuristics name when configuring quorum device.
Consequence:
The heuristics are ignored by corosync / qdevice.
Fix:
Make pcs report an error when special characters are used.
Result:
Pcs does not allow to set up heuristics in a way they are ignored by corosync / qdevice.
|
Story Points: | --- | ||||
Clone Of: | 1551663 | Environment: | |||||
Last Closed: | 2019-11-05 20:40:02 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: | 1682129 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Tomas Jelinek
2019-02-20 15:11:44 UTC
Created attachment 1570052 [details] proposed fix Test according to comment 0. [ant8 ~] $ rpm -q pcs pcs-0.10.1-8.el8.x86_64 [ant8 ~] $ pcs quorum device add model net host="virt-139.cluster-qe.lab.eng.brq.redhat.com" algorithm="lms" heuristics mode="on" exec_čivava="/usr/bin/ping -c 1 127.0.0.1" Error: invalid heuristics option 'exec_čivava', exec_NAME may contain a-z A-Z 0-9 /_- characters only Error: Errors have occurred, therefore pcs is unable to continue 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, 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/RHEA-2019:3311 |