RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1835168 - Allow split config file
Summary: Allow split config file
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: grafana
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Andreas Gerstmayr
QA Contact: Jan Kurik
URL:
Whiteboard:
Depends On:
Blocks: 1835177
TreeView+ depends on / blocked
 
Reported: 2020-05-13 09:55 UTC by Yedidyah Bar David
Modified: 2021-10-20 14:22 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-20 13:59:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yedidyah Bar David 2020-05-13 09:55:14 UTC
Description of problem:

For various reasons, both management/packaging and security, it's useful to be able to have the configuration split to separate files - e.g. to allow software to manage a specific file for its own configuration, for users to be able to add their stuff without having to update the main file (which can/should(?) be overwritten on upgrades), etc.

See also upstream issue about this [1], and in particular the comments I wrote there about how I think it should behave.

[1] https://github.com/grafana/grafana/issues/17653

Comment 1 Andreas Gerstmayr 2020-05-25 15:49:27 UTC
A change like this has to happen in upstream - I'll ping a Grafana maintainer next week (they are busy with GrafanaCon at the moment, which lasts until Friday) if they're willing to accept a PR for this feature.
If yes, I can work on a PR to implement this feature in the RHEL 8.4 timeline.

Comment 2 Andreas Gerstmayr 2020-09-16 13:00:14 UTC
fyi, no response from upstream so far: https://github.com/grafana/grafana/issues/17653#issuecomment-650284732

Comment 5 Andreas Gerstmayr 2021-10-20 13:59:12 UTC
As there is no response from upstream so far [1] whether they're interested in that feature and are willing to accept a PR, I'll close this ticket.
It's a big change, and we don't plan to deviate from upstream in that regard.

If this gets implemented upstream at some point, it'll land in RHEL via our regular rebases of Grafana.
In the meantime, I'd recommend using the Ansible ansible.builtin.assemble module [2] or something similar to merge multiple configuration files into one.


[1] https://github.com/grafana/grafana/issues/17653
[2] https://docs.ansible.com/ansible/latest/collections/ansible/builtin/assemble_module.html


Note You need to log in before you can comment on or make changes to this bug.