kafka container isn't working on Ubuntu with default-jre-headless
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Medium
|
Erol Guzoglu | ||
Rocky |
Fix Released
|
Medium
|
Unassigned | ||
Stein |
Fix Released
|
Medium
|
Unassigned | ||
Train |
Fix Released
|
Medium
|
Erol Guzoglu |
Bug Description
kolla-ansible version: rocky
container OS: ubuntu
image: source
openstack version: rocky
When I try to deploy kafka with k-a I faced with following error:
+ sudo -E kolla_set_configs
INFO:__
INFO:__
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
++ cat /run_command
+ CMD='/opt/
+ ARGS=
+ [[ ! -n '' ]]
+ . kolla_extend_start
++ [[ ! -d /var/log/
++ mkdir -p /var/log/
+++ stat -c %a /var/log/
++ [[ 755 != \7\5\5 ]]
Running command: '/opt/kafka/
+ echo 'Running command: '\''/opt/
+ exec /opt/kafka/
/opt/kafka/
[0.000s]
Unrecognized VM option 'PrintGCDateStamps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Kolla uses default-
$apt-cache show default-
Package: default-
Architecture: amd64
Version: 2:1.10-63ubuntu1~02
Priority: optional
Section: interpreters
Source: java-common (0.63ubuntu1~02)
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-
Bugs: https:/
Installed-Size: 20
Provides: java-runtime-
Depends: openjdk-
Suggests: default-jre
Replaces: openjdk-
Filename: pool/main/
Size: 3412
MD5sum: 984c0a0320aa050
SHA1: 589d67a211358cd
SHA256: 3da43dd59371424
Homepage: https:/
Description: Standard Java or Java compatible Runtime (headless)
Description-md5: 6a80f216cbac620
Task: kubuntu-desktop, kubuntu-full
Supported: 5y
Kafka has regex pattern bug in /opt/kafka/
They are fix it with the following PR: https:/
We need to upgrade Kafka version to 2.2.0 or downgrade Java to lower version of Java.
Changed in kolla: | |
assignee: | nobody → Erol Guzoglu (erolguzoglu) |
Changed in kolla: | |
importance: | Undecided → Medium |
Reviewed: https:/ /review. openstack. org/652944 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=cb8fa69407b fcbd32a1e40a10c 99a8fe53508d1e
Committed: https:/
Submitter: Zuul
Branch: master
commit cb8fa69407bfcbd 32a1e40a10c99a8 fe53508d1e
Author: Erol Guzoglu <email address hidden>
Date: Tue Apr 16 11:32:11 2019 +0300
Pin kafka java version to 8 on ubuntu
Ubuntu default- jre-headless is not working with kafka
Change-Id: Ic6ab66128efa93 1277516e0cf5848 a816ca676ad
Closes-Bug: #1824847