R4.1.2-Build-18-RHOSP-Newton:analytics Database provisioning failed

Bug #1798696 reported by shajuvk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
Critical
alexey-mr
Trunk
Invalid
Critical
alexey-mr

Bug Description

Rhel-7.5 with RHOSP-Build-18 newton environment

package kafka name change fixed as per the bug: https://bugs.launchpad.net/juniperopenstack/r4.1/+bug/1797475

Now the puppet code failed while installing database.

kafka server.properties file is located in /etc/kafka but puppet code expected the file in /usr/share/

[root@overcloud-contrailanalyticsdatabase-0 share]# rpm -qa | grep kafka
puppet-kafka-2.1.0-5.061ef74git.el7ost.noarch
confluent-kafka-2.11-1.1.1-1.noarch

======
root@overcloud-contrailanalyticsdatabase-0 share]# rpm -ql confluent-kafka-2.11-1.1.1-1.noarch | grep server
/etc/kafka/server.properties
/usr/bin/kafka-server-start
/usr/bin/kafka-server-stop
/usr/bin/zookeeper-server-start
/usr/bin/zookeeper-server-stop
/usr/share/java/kafka/jersey-server-2.25.1.jar
/usr/share/java/kafka/jetty-server-9.2.24.v20180105.jar
[root@overcloud-contrailanalyticsdatabase-0 share]#

Analytics database error log:
=====================
Oct 18 15:24:26 overcloud-contrailanalyticsdatabase-0 os-collect-config: [2018-10-18 19:24:26,642] (heat-config) [INFO] {"deploy_stdout": "\u001b[mNotice: Compiled catalog for overcloud-contrailanalyticsdatabase-0.localdomain in environment production in 1.97 seconds\u001b[0m\n\u001b[mNotice: /Stage[main]/Main/Package_manifest[/var/lib/tripleo/installed-packages/overcloud_contrailanalyticsdatabase2]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Kernel/Kmod::Load[nf_conntrack_proto_sctp]/Exec[modprobe nf_conntrack_proto_sctp]/returns: executed successfully\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Install/Package[wget]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Install/Package[java-1.8.0-openjdk]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Install/Package[python-gevent]/ensure: ensure changed '1.0-3.el7' to '0:1.1rc5-1contrail1.el7'\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Install/Package[contrail-openstack-database]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/Ini_setting[/etc/contrail/contrail-database-nodemgr.conf [SANDESH] sandesh_keyfile]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/Ini_setting[/etc/contrail/contrail-database-nodemgr.conf [SANDESH] sandesh_ssl_enable]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/Ini_setting[/etc/contrail/vnc_api_lib.ini [auth] AUTHN_PORT]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka num.network.threads=3]: Dependency File[/usr/share/kafka/config/server.properties] has failures: true\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka num.io.threads=8]: Dependency File[/usr/share/kafka/config/server.properties] has failures: true\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka log.retention.bytes=268435456]: Dependency File[/usr/share/kafka/config/server.properties]

Tags: blocker rhosp
shajuvk (shajuvk)
information type: Proprietary → Public
summary: - R4.1.2-B-12-RHOSP-Newton:analytics Database provisioning failed
+ R4.1.2-Build-18-RHOSP-Newton:analytics Database provisioning failed
description: updated
shajuvk (shajuvk)
description: updated
description: updated
Jeba Paulaiyan (jebap)
tags: added: blocker
Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
importance: Undecided → Critical
assignee: nobody → alexey-mr (alexey-morlang)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/47175
Submitter: alexey-mr (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/47175
Committed: http://github.com/Juniper/puppet-contrail/commit/74f59a8666f0588464d8e8daddab7f5944dc4e6f
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 74f59a8666f0588464d8e8daddab7f5944dc4e6f
Author: alexey-mr <email address hidden>
Date: Sat Oct 20 16:05:22 2018 +0300

Use /etc/kafka/server.properties

Because of switching to confluent-kafka
https://bugs.launchpad.net/juniperopenstack/r4.1/+bug/1797475

Change-Id: Iaac98bedf8770c8b7ad72044fb5f00ae933ac5bd
Closes-Bug: #1798696

Revision history for this message
alexey-mr (alexey-morlang) wrote :

not applicable to master

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.