Commit Graph

24 Commits

Author SHA1 Message Date
Michal Nasiadka e221ac8f27 Drop elasticsearch, kibana and logstash
Support has been dropped in kolla-ansible, the upgrade path is opensearch.

Change-Id: I6f32aacb4e0b7dd1eb7206e02425b16f5beae4f0
2022-12-06 15:57:51 +01:00
Tim Shearer 1d96a2bbe1 Adjust permissions on _extend_start files.
Explicitly set the permissions on the kolla-toolbox kolla_extend_start
file. Also, since all extend_start files are sourced rather than
executed, the executable bits are now cleared throughout the project.

Change-Id: I5c2deb4a2e33575d57c852089f856a9acc6818d0
2022-04-11 17:22:24 +02:00
Marcin Juszkiewicz a1510870e8 drop infra_image_prefix
We have one install_type only now so that infra stuff is not needed
anymore.

Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
2022-04-11 06:22:21 +00:00
Marcin Juszkiewicz 90adc2b851 introduce 'infra_image_prefix' for infra images
Defaults to 'image_prefix' for now but shows which images gets their
names changed soon.

Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
2020-07-09 23:31:42 +02:00
Marcin Juszkiewicz 345f0555bc kibana/debian: use upstream package on all architectures
Upstream kibana package ships x86_64 binaries of NodeJS. I usually
repacked package without them to have something for other architectures.

Instead let us install upstream. Then on non-x86 archs we add nodejs
from distribution and remove x86-64 binaries.

Change-Id: Ia9feac726a60250215b1bc78bf90dc68ac6f956a
2020-04-17 10:46:44 +02:00
Sylvain Baubeau bfb7e41ed0 Upgrade Elasticsearch and Kibana to 6.x
Start using oss tagged binaries. These binaries contain only features
that are available under the Apache 2.0 license.

Implements: blueprint elasticsearch-kibana-version-upgrade

Co-authored-by: Dincer Celik <hello@dincercelik.com>
Change-Id: I8b52b2630a72393bf4b9c7095fc67db6c36c27fa
2020-04-09 18:03:49 +03:00
Marcin Juszkiewicz 245992d37c kibana, nova-libvirt: handle it properly for non-x86
Upstream kibana package contains NodeJS x86-64 binaries so can not be
used directly on non-x86 architectures. I took upstream packages,
removed NodeJS binary from it and added 'nodejs' dependency.

Package is present in my Linaro OBS repository where I keep other
packages needed for aarch64 kolla run. Via APT pinning I mark them as
not wanted so they are not used on any architecture with two exceptions:

1. libvirt - we need fixed version to be able to use ThunderX servers
2. kibana - to be able to run it at all

For x86-64 upstream kibana package is used.

Closes-bug: #1867365

Change-Id: I456402849022100bde1fffdfbf6292b35690f0f2
2020-03-13 18:28:42 +00:00
Christian Berendt 861f55fbfd Add block labels to all Dockerfiles
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2020-03-01 17:25:58 +00:00
Marcin Juszkiewicz b050ef63e8 kibana: enable for non-x86 on Debian/Ubuntu
As upstream generated 'all' package as 'amd64' one I took some time and
repackaged it.

Change-Id: Ie84ed771ffa9ecd70b945673727895c8edad30eb
2020-02-14 09:01:01 +00:00
Marcin Juszkiewicz cf11cd6f3d Enable repos only when needed
Disable external repositories by default and enable only when needed.

Depends-on: https://review.opendev.org/696480

Implements: blueprint repos-off-by-default

Change-Id: Icf2a8397a8349e0fe849d88d160409fd234480a9
2019-11-29 11:38:06 +01:00
Paul Bourke 72945b0926 Remove path work around for kibana
Kibana 5 shares a common path across distros now, so this workaround is
no longer required.

Change-Id: Ib922bb4b44a31ae41dcc405d5bdcc37b4011cfa5
2018-11-05 13:01:48 +00:00
Jorge Niedbalski ebf343e3ce [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 <jorge.niedbalski@linaro.org>
2018-05-22 18:53:16 -04:00
Jawon Choo 31259fa595 Override image's meta info.
centos based images have wrong label info,
these changes fix own image's name and build-date.

Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c
Closes-Bug: #1680341
2017-05-03 11:08:17 +09:00
Chen 8c463a47a9 Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2
Use LABEL instruction instead of MAINTAINER (deprecated) instruc-
tion as suggested by Docker's official dockerfile guide.
docs.docker.com/engine/reference/builder/#maintainer-deprecated

Closes-Bug: #1683652

Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-20 16:50:05 +09:00
Jeffrey Zhang e5903d5fa9 Remove include_header and include_footer in all Dockerfiles
include_header and include_footer parameter is already removed, remove
them in all Dockerfiles.
Add missing footer block.

Change-Id: I90da03eb9f95a3827361d5f5ede65fde7d6be2b3
2017-02-05 10:44:48 +08:00
zhubingbing 096d3ea467 Fix kibana dockerfile format
Change-Id: I50510e476db63ca08a88602a901d568bc3cf6aaf
2017-01-17 15:07:28 +00:00
Sam Yaple 58eee09c15 use static uid/gid in images
This centralizes all user and group creation into a single source. This
will fix any current and furture uid/gid mismatches (such as with
nova-libvirt).

In the process, we also unify users between the distros in a standard
way. The users in the following containers change from thier defaults:

Ubuntu: _chrony user is now chrony
Ubuntu: memcache user is now memcached
All: qemu user is used for ownership and socket permissions

All uid and gid numbers are customizable via kolla-build.conf

Co-Authored-By: Kris Lindgren <klindgren@godaddy.com>
Change-Id: I120f26ab0683dc87d69727c3df8d4707e52a4543
Partially-Implements: blueprint static-uid-gid
2017-01-17 09:02:21 -03:00
Jeffrey Zhang a5afa45f4e Configure log path for kibana
Closes-Bug: #1635989
Change-Id: I99402e54e7cc2f1ad972021bb1056966f5c08bff
2016-10-24 12:12:58 +00:00
Paul Bourke b41247c656 Add header blocks to all Dockerfiles
Change needed to add header blocks to all Dockerfiles, similar to the
base.

Use case is to easily run something before packages are installed, e.g.
to COPY a local rpm in that can be added to the package list.

Change-Id: I1bbfdf0b762da0a392aa8bf47781315b45377bee
Closes-Bug: 1618969
2016-09-13 16:53:31 +01:00
Duong Ha-Quang 92b2fd94c1 Fix Kibana image build error
TrivialFix
Closes-Bug: #1617877

Change-Id: I029e7589716b7d4fd29d4fc75bafc434ea275a9f
2016-08-29 18:44:43 +07:00
Ildar Iskhakov 2187125b13 Customizations for kibana
This patchset contains customization of Dockerfile of kibana
container

Change-Id: I0081cbcfeea7d0cd270116b61f009ea1a797c330
Partially-implements: blueprint third-party-plugin-support
2016-08-09 01:49:06 +02:00
Swapnil Kulkarni (coolsvap) 435b21b90d Update ubuntu dockerfiles for formatting
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe
Closes-Bug: #1569417
2016-05-26 04:09:22 +00:00
Vikram Hosakote ec3baf0428 Install Elasticsearch and Kibana packages using yum/apt-get
Test results of this patch set are at
http://paste.openstack.org/show/490450/.

Change-Id: I2957cc70fcca34706ec50a630d785f0630c3f5c0
Closes-Bug: #1553203
2016-03-18 04:05:30 +00:00
akwasniewska 3672152d9d Added Kibana and its deployment.
Part of ELK stack. Includes Dockerfiles for both Centos and Ubuntu.

Change-Id: I1d955a5c51e416cc572eb2c9b4c57982a1d6ab67
Partially-implements: blueprint central-logging-service
2016-01-26 15:53:13 +00:00