Bug 2032031
| Summary: | Pacemaker lists 'service' agents ending in '@' but is unable to provide metadata for them | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Ken Gaillot <kgaillot> |
| Component: | pacemaker | Assignee: | Ken Gaillot <kgaillot> |
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9.0 | CC: | clumens, cluster-maint, cluster-qe, kgaillot, msmazova, tojeline |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 9.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | pacemaker-2.1.2-2.el9 | Doc Type: | Bug Fix |
| Doc Text: |
This affects a very small subset of users, and is mainly for pcs, so a release note is not needed.
Cause: Pacemaker did not recognize systemd service names ending in "@" when resolving a "service:" resource specification.
Consequence: Attempting to show meta-data for such a resource would show an error.
Fix: Pacemaker now recognizes systemd service names ending in "@".
Result: Meta-data queries for such resources succeed.
|
Story Points: | --- |
| Clone Of: | 2003151 | Environment: | |
| Last Closed: | 2022-05-17 12:20:40 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: | 2003151 | ||
| Bug Blocks: | |||
|
Description
Ken Gaillot
2021-12-13 21:57:29 UTC
before fix ------------- See bz2003151#c10 after fix ---------- > [root@virt-029 ~]# rpm -q pacemaker > pacemaker-2.1.2-2.el9.x86_64 List "service" agents with "@" in name: > [root@virt-029 ~]# crm_resource --list-agents service | grep @ > autovt@ > container-getty@ > getty@ > modprobe@ > qarshd@ > serial-getty@ > sshd-keygen@ > sshd@ > systemd-backlight@ > systemd-coredump@ > systemd-fsck@ > systemd-hibernate-resume@ > systemd-journald-varlink@.socket > systemd-journald@ > systemd-journald@.socket > teamd@ > user-runtime-dir@ > user@ Try to show metadata: > [root@virt-029 ~]# crm_resource --show-metadata service:container-getty@ > <?xml version="1.0"?> > <!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd"> > <resource-agent name="container-getty@" version="0.1"> > <version>1.1</version> > <longdesc lang="en"> > Container Getty on /dev/pts/x > </longdesc> > <shortdesc lang="en">systemd unit file for container-getty@</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> > [root@virt-029 ~]# crm_resource --show-metadata service:sshd@ > <?xml version="1.0"?> > <!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd"> > <resource-agent name="sshd@" version="0.1"> > <version>1.1</version> > <longdesc lang="en"> > OpenSSH per-connection server daemon > </longdesc> > <shortdesc lang="en">systemd unit file for sshd@</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 for "service" agent `service:systemd-journald-varlink@.socket` can't be fetched. This has been reported as bug2045110 > [root@virt-029 ~]# crm_resource --show-metadata service:systemd-journald-varlink@.socket > crm_resource: Metadata query for service:systemd-journald-varlink@.socket failed: No such device or address > Error performing operation: No such object verified in pacemaker-2.1.2-2.el9, one issue has been found and reported as bug2045110 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: pacemaker), 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:2293 |