Add template override for grafana plugins

Bug #1827025 reported by Arnaud PARENT
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Arnaud PARENT
Train
Fix Released
Medium
Arnaud PARENT

Bug Description

Currently, we cannot customize grafana plugins installation which cause issue during grafana container build when you don't have access to internet.

in docker/grafana/Dockerfile.j2:

RUN grafana-cli plugins install gnocchixyz-gnocchi-datasource \
    && grafana-cli plugins install grafana-influxdb-08-datasource \
    && chmod 750 /etc/sudoers.d/ \
    && chmod 440 /etc/sudoers.d/kolla_grafana_sudoers \
    && chmod 755 /usr/local/bin/kolla_extend_start

I suggest to add a template override block to customize the installation using template override feature.

Revision history for this message
Mark Goddard (mgoddard) wrote :

Seems like a good idea. Please propose a patch.

Changed in kolla:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Mark Goddard (mgoddard) wrote :
Changed in kolla:
assignee: nobody → Arnaud PARENT (pandarouxbsd)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/656502
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=a873677392f1736a73726d3f25a01c2f7cb1ade9
Submitter: Zuul
Branch: master

commit a873677392f1736a73726d3f25a01c2f7cb1ade9
Author: Arnaud PARENT <email address hidden>
Date: Tue Apr 30 11:31:50 2019 +0000

    Add template override for grafana plugins

    Change-Id: I209c3c60d5c2edb6856e81eb374fbcad648e3904
    Closes-Bug: #1827025

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 9.0.0.0rc1

This issue was fixed in the openstack/kolla 9.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.