Bug 2060523
Summary: | Metrics role, with "metrics_from_mssql" option does not configure /var/lib/pcp/pmdas/mssql/mssql.conf on first run | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Rich Megginson <rmeggins> |
Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> |
Status: | CLOSED ERRATA | QA Contact: | Jakub Haruda <jharuda> |
Severity: | unspecified | Docs Contact: | Gabi Fialová <gfialova> |
Priority: | unspecified | ||
Version: | 9.1 | CC: | briasmit, bstinson, gfialova, jharuda, jwboyer, nathans, nhosoi, pgm-rhel-tools, pvlasin, rhel-cs-system-management-subsystem-qe, rmeggins, spetrosi |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 9.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | role:metrics | ||
Fixed In Version: | rhel-system-roles-1.18.0-1.el9 | Doc Type: | Bug Fix |
Doc Text: |
.Configuration by the `metrics` role now follows symbolic links correctly
When the `mssql pcp` package is installed, the `mssql.conf` file is located in `/etc/pcp/mssql/` and is targeted by the symbolic link `/var/lib/pcp/pmdas/mssql/mssql.conf`. Previously, however, the `metrics` role overwrote the symbolic link instead of following it and configuring `mssql.conf`.
Consequently, running the `metrics` role changed the symbolic link to a regular file and the configuration therefore only affected the `/var/lib/pcp/pmdas/mssql/mssql.conf` file. This resulted in a failed symbolic link, and the main configuration file `/etc/pcp/mssql/mssql.conf` was not affected by the configuration.
The issue is now fixed and the `follow: yes` option to follow the symbolic link has been added to the `metrics` role. As a result, the `metrics` role preserves the symbolic links and correctly configures the main configuration file.
|
Story Points: | --- |
Clone Of: | 2058777 | Environment: | |
Last Closed: | 2022-11-15 10:22:57 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: | 2058655, 2058777 | ||
Bug Blocks: |
Comment 3
Rich Megginson
2022-03-07 17:23:19 UTC
FEDORA-2022-2da3a47337 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2022-d6e6c7c37c has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2022-671a5d63e6 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. 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 (rhel-system-roles 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/RHEA-2022:8117 |