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
This change adds and unifies an ability to override hardcoded URLs for
air-gapped environments via the usual blocks mechanism. Also, this
change replaces ENV with ARG instruction for the variables used only
in building images, and uses bash variable expansion where it possible.
This change is a continuation of the I46b77978926fc2b578a68d1aaa944b2198af0685
Change-Id: I1fbad333b1bc95484e6f4c5145d5936a0e2db84f
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
Currently we use couple of curl options throughout Dockerfiles, this change
adds all common options to curlrc (-sSLf) and removes usage of those in
Dockerfiles.
Change-Id: I46b77978926fc2b578a68d1aaa944b2198af0685
We upgrade to 2.0.1 and not a newer version because Monasca currently
supports 2.0.1.
This also brings the Kafka release inline with the current Zookeeper
version for the 5.0.x Confluent platform [1].
[1] https://docs.confluent.io/current/installation/versions-interoperability.html
Change-Id: I835d10bfe3ac0ea7382387a27b222849afb84aa3
This is inline with the change[1] in monasca which also updates to
that version.
[1] https://review.openstack.org/#/c/629876/
Change-Id: I2f3038ac93271bb623528308e94f335478cbe23d
This change updates the docker files to use base_package_type instead
of doing specific distro checks for the rhel/deb generic cases. The
base_distro is still available and is used when a specific distro needs
a customization but if the differences are purely rpm vs deb, then the
base_package_type can be used.
Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
Prefer the headless JRE wherever possible. This may be becessary to
adjust the override files for the customization of the containers where
java is installed.
Change-Id: I3479ac9e74aa9e860cf01db20bd7ab5f5cfc9c1a
This change makes it easier to configure the Kafka package. This
is useful, for example, when installing Monasca which currently
requires an older version of Kafka than that installed here.
The change also fixes an issue with circular symlinks, updates
kafka and verifies the sha512sum of the package. The sha512sum
was taken from here:
https://www.apache.org/dist/kafka/1.0.1/kafka_2.12-1.0.1.tgz.sha512
Change-Id: I79a5a32ee8e5edd915fa88fbc00d0d4ac08b8ebd
Partially-Implements: blueprint monasca-roles
Bump kafka version from 0.11.0.1 to 0.11.0.2. The old version is removed
on the download site already.
Change-Id: Ia6638313a060e52246ebbf833a9af1efc78907cf
Closes-Bug: #1733188
centos based images have wrong label info,
these changes fix own image's name and build-date.
Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c
Closes-Bug: #1680341
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
Debian support is not maintained in Kolla so it got a bit behind Ubuntu
one. This changeset enables Debian for all images. Jessie (even with
backports) may be too old for some images though.
Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order
like it is done for RPM distributions.
Partially-Implements: blueprint multiarch-and-arm64-containers
Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
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
By pulling kafka tgz this way rather than downloading it via the source
build mechanism, we can offer binary builds for kafka image.
Change-Id: I852049a4f86dba7181db25f149205add187071ab