Bug 2045096
Summary: | Unable to show metadata for "service" agents with "@" and "." in the name | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Markéta Smazová <msmazova> | |
Component: | pacemaker | Assignee: | Chris Lumens <clumens> | |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | 8.6 | CC: | cluster-maint, kgaillot, nwahl, sbradley | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | 8.7 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | pacemaker-2.1.3-1.el8 | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Pacemaker required a specifier after "@" in a systemd unit name in order to show meta-data.
Consequence: Meta-data could not be shown for a unit such as "chrony-dnssrv@.timer".
Fix: Pacemaker now allows @ to be used without a specifier for meta-data calls.
Result: Meta-data can be shown for all usable systemd units.
|
Story Points: | --- | |
Clone Of: | ||||
: | 2045110 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-08 09:42:25 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
Markéta Smazová
2022-01-25 15:28:36 UTC
Fixed upstream as of commit 13d00a74 after fix ---------- [root@virt-535 ~]# rpm -q pacemaker pacemaker-2.1.3-2.el8.x86_64 List "service" agents that have "@" and "." in the name: [root@virt-535 ~]# crm_resource --list-agents service | grep -E "@.\.*" chrony-dnssrv@.timer Show metadata: [root@virt-535 ~]# crm_resource --show-metadata service:chrony-dnssrv@.timer <?xml version="1.0"?> <!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd"> <resource-agent name="chrony-dnssrv@.timer" version="0.1"> <version>1.1</version> <longdesc lang="en"> Periodic DNS SRV lookup of pacemaker for chrony </longdesc> <shortdesc lang="en">systemd unit file for chrony-dnssrv@.timer</shortdesc> <parameters/> <actions> <action name="start" timeout="100" /> <action name="stop" timeout="100" /> <action name="status" timeout="100" /> <action name="monitor" timeout="100" interval="60"/> <action name="meta-data" timeout="5" /> </actions> <special tag="systemd"/> </resource-agent> Metadata are displayed, marking verified in pacemaker-2.1.3-2.el8 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 (pacemaker bug fix and enhancement update), 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:7573 |