aboutsummaryrefslogtreecommitdiff
path: root/docker/kafka
AgeCommit message (Collapse)AuthorFilesLines
2022-12-06Remove monasca, kafka, storm and zookeeper.Michal Nasiadka2-60/+0
Monasca, kafka, storm and zookeeper have been removed in kolla-ansible [1],[2]. [1]: https://review.opendev.org/c/openstack/kolla-ansible/+/861392 [2]: https://review.opendev.org/c/openstack/kolla-ansible/+/865029 Change-Id: I0958a9353bc4585c4f65a1d316328a0e80b0b8b7
2022-04-11Adjust permissions on _extend_start files.Tim Shearer1-1/+1
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-11drop infra_image_prefixMarcin Juszkiewicz1-1/+1
We have one install_type only now so that infra stuff is not needed anymore. Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
2022-03-11Unify curl use (customisation options)Maksim Malchuk1-4/+4
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>
2020-12-02Unify curl optionsMichał Nasiadka1-1/+1
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
2020-07-09introduce 'infra_image_prefix' for infra imagesMarcin Juszkiewicz1-1/+1
Defaults to 'image_prefix' for now but shows which images gets their names changed soon. Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
2020-03-01Add block labels to all DockerfilesChristian Berendt1-0/+2
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2020-01-14Upgrade Kafka to 2.0.1 releaseDoug Szumski1-2/+2
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
2019-06-17There is no Java 8 in Debian 'buster'Marcin Juszkiewicz1-1/+8
Debian 'buster' release contains Java 11 only. So kafka, logstash, storm images needed adjustments. Change-Id: I9f1e809d0ef1955b832dd384912f880088426306
2019-04-16Pin kafka java version to 8 on ubuntuErol Guzoglu1-1/+1
Ubuntu default-jre-headless is not working with kafka Change-Id: Ic6ab66128efa931277516e0cf5848a816ca676ad Closes-Bug: #1824847
2019-03-28Fix:kafka package not found by kafka package url白永君1-1/+1
INFO:kolla.common.utils.kafka:Step 9/12 : RUN curl -sSL -o /tmp/kafka.tgz ${kafka_url} && echo "${kafka_pkg_sha512sum} /tmp/kafka.tgz" | sha512sum -c && tar --strip 1 -xvf /tmp/kafka.tgz -C /opt/kafka && rm -f /tmp/kafka.tgz INFO:kolla.common.utils.kafka: ---> Running in 2b751bf5c975 INFO:kolla.common.utils.kafka:curl (http://apache.osuosl.org/kafka/1.0.2/kafka_2.12-1.0.2.tgz): response: 404, time: 0.198, size: 297 INFO:kolla.common.utils.kafka:/tmp/kafka.tgz: FAILED INFO:kolla.common.utils.kafka:[91msha512sum: WARNING: 1 computed checksum did NOT match Closes-bug: #1822030 Change-Id: Ib9a1bc5c0a69f7780e600404601ae875561450cd
2019-01-29Revert "Update kafka version to 2.1.0"Doug Szumski1-2/+2
This reverts commit e9f7fc33c5f1b97e6e71cb74ce9bac04f15572c3. Change-Id: I655841e3db4caddbc5dfd2ace8bffad468265c08
2019-01-19Update kafka version to 2.1.0Thomas Bechtold1-2/+2
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
2019-01-17Use base_package_typeAlex Schultz1-2/+2
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
2018-11-21Fix kafka buildEduardo Gonzalez1-2/+2
Kafka version 1.0.1 is not in repositories anymore, need to update to 1.0.2 Change-Id: I27ee1240a79223f2d2fcc7d311c8ac83126ca092
2018-07-10Switch to headless jreMartin André1-2/+2
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
2018-03-12Support configuration of Kafka packageDoug Szumski1-7/+13
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
2018-01-25Enable kafka for rhel distro derivativesAndrew Smith1-4/+3
Missing download of jre via openjdk package Change-Id: Icce1a92f9707b435e1d4a4a75453e21b541b2a22
2018-01-24Bump kafka version to 1.0.0Andrew Smith1-1/+1
Apache Kafka has gone to 1.0 release. Bump version from 0.11.0.2 to 1.0.0. Change-Id: I1ea1aa021824981998f1d2fec111cfeeda1823d2
2017-11-20Bump kafka version to 0.11.0.2Jeffrey Zhang1-1/+1
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
2017-11-02update kafka version.yanpeifei1-1/+1
The kafka version is not up to date,when i deploy kafka,today. Change-Id: I19e914d3d64443616cf83e83ce1a13d52b7d81a1
2017-05-03Override image's meta info.Jawon Choo1-1/+1
centos based images have wrong label info, these changes fix own image's name and build-date. Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c Closes-Bug: #1680341
2017-04-20Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2Chen1-1/+1
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-04debian: enable all images enabled for UbuntuMarcin Juszkiewicz1-1/+1
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
2017-01-17use static uid/gid in imagesSam Yaple1-3/+3
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
2016-12-19Download kafka binaries from within the containerMartin André1-3/+8
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
2016-12-12Add kafka imageSam Yaple2-0/+41
Change-Id: I6c9b8f8b0cf254c2c3333ca789c5da364c7d5c73 Partially-Implements: blueprint monasca-containers