Bug 2058655
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 8 | Reporter: | Brian Smith <briasmit> | |
Component: | rhel-system-roles | Assignee: | Noriko Hosoi <nhosoi> | |
Status: | CLOSED ERRATA | QA Contact: | David Jež <djez> | |
Severity: | unspecified | Docs Contact: | Gabi Fialová <gfialova> | |
Priority: | unspecified | |||
Version: | 8.5 | CC: | djez, elpereir, gfialova, jharuda, lmiksik, nhosoi, rmeggins, spetrosi | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | role:metrics | |||
Fixed In Version: | rhel-system-roles-1.15.1-1.el8 | 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 2060377 (view as bug list) | Environment: | ||
Last Closed: | 2022-05-10 14:13:20 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: | ||||
Bug Blocks: | 2058777, 2060377, 2060523 |
Description
Brian Smith
2022-02-25 14:33:31 UTC
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/RHBA-2022:1896 |