Bug 2127038
| Summary: | grafana pcp plugin is wiped from rpmostree /var during install in rhel edge | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Ilkka Tengvall <ikke> |
| Component: | grafana-pcp | Assignee: | Andreas Gerstmayr <agerstmayr> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Kurik <jkurik> |
| Severity: | unspecified | Docs Contact: | Jacob Taylor Valdez <jvaldez> |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | agerstmayr, fweimer, jkurik, nathans, obudai, walters |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | grafana-pcp-5.0.0-4.el9 | Doc Type: | No Doc Update |
| Doc Text: |
If this bug requires documentation, please select an appropriate Doc Type value.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-09 07:29:13 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: | 2116848 | ||
|
Description
Ilkka Tengvall
2022-09-15 07:19:00 UTC
If I'm not mistaken, /usr is mounted read-only on edge images, so making /usr/share/grafana/plugins writeable is not possible. My current plan is to leave the plugin dir to the default of /var/lib/grafana/plugins, so that custom plugins can be installed with the GUI. I'll install the grafana-pcp files in /usr/share/grafana-pcp, and use systemd-tmpfiles to create a symlink from /var/lib/grafana/plugins to that folder in /usr. > If I'm not mistaken, /usr is mounted read-only on edge images, so making /usr/share/grafana/plugins writeable is not possible.
It's writable at image build time, that's where data that is shipped as part of the ostree commit (image) should go.
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 (Moderate: grafana-pcp security 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/RHSA-2023:2177 |