[grafana] cannot find grafana executable under /opt/ directory

Bug #1772750 reported by Jorge Niedbalski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Unassigned

Bug Description

[Environment]

Kolla master

[Description]

Kolla-ansible expects for /opt/kibana/bin/kibana to exists as
the default path location, centos/redhat distros have this location
set, so it would be desirable for debian/ubuntu to at least symlink
the default executable to this location.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

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

commit ebf343e3cee3b84c987ecbebbae086f1bd1ac1a5
Author: Jorge Niedbalski <email address hidden>
Date: Tue May 22 17:45:52 2018 -0400

    [kibana] symlink to the kibana executable under /opt/ (debian)

    Kolla-ansible expects for /opt/kibana/bin/kibana to exists as
    the default path location, centos/redhat distros have this location
    set, so it would be desirable for debian to at least have a symlink
    to the executable under the /opt path.

    Closes-Bug: #1772750

    Change-Id: I1034ecb1d909dcc357ffa904569ca7c8358386b1
    Signed-off-by: Jorge Niedbalski <email address hidden>

Changed in kolla:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 7.0.0.0b2

This issue was fixed in the openstack/kolla 7.0.0.0b2 development milestone.

Revision history for this message
Kevin Tibi (ktibi) wrote :

User kibana is used by the kibana container and it can't create a directory in /opt. So the container fail with centos-binary

INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Copying service configuration files
INFO:__main__:Deleting /opt/kibana/config/kibana.yml
INFO:__main__:Copying /var/lib/kolla/config_files/kibana.yml to /opt/kibana/config/kibana.yml
INFO:__main__:Setting permission for /opt/kibana/config/kibana.yml
INFO:__main__:Writing out command to execute
INFO:__main__:Setting permission for /var/log/kolla/kibana
INFO:__main__:Setting permission for /var/log/kolla/kibana/kibana.log
mkdir: cannot create directory '/opt/kibana/bin': Permission denied
Running command: '/opt/kibana/bin/kibana'
/usr/local/bin/kolla_start: line 17: /opt/kibana/bin/kibana: No such file or directory

Maybe need to change the command in config.json for /usr/share/kibana/bin/kibana

and move kibana.yml in /etc/kibana/kibana.yml

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.