R4.1-144: Sanity: Fix contrail-status display of kakfa service: when confluent-kafka is deployed by systemd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
New
|
Undecided
|
Unassigned | ||
R4.1 |
Fix Committed
|
High
|
Ankit Jain |
Bug Description
Kafka need to renamed as per the following mail from Jack:
An issue with contrail-status display script is the reason for the behavior you have observed.
Please see the note below:
I have logged into ssh root@10.204.216.105 (nodem16) and validated a few things.
· Kafka is installed and functional. You can validate this by invoking the following
o apt list --installed | grep kafka
· Kafka installation is working as expected; a couple of ways to validated that are listed below:
o Check contrail-status on analytics node (collector and alarmgen show active status)
· Furthermore, you can manually check that Kafak is functional as follows:
o List kafka topics: /usr/bin/
o Create a kafka topic: /usr/bin/
o Write to the kafka topic: /usr/bin/
o Read from the kafka topic: /usr/bin/
· You can start and stop kafka service by invoking the following
o service confluent-kafka start (it is no longer service kafka stop)
o service confluent-kafka stop
· However, contrail-status command doesn’t work (this is the behavior you observed)
o I manually edited the file (on the analyticsdb docker) as follows:
§ Replace kafka with confluent-kafka in /usr/bin/
§ things start to look good
§ (this behavior is specific to systemd driven services)
· I posted the following review for R4.1 and this should fix the issue.
o https:/
Thanks,
Jack
summary: |
- R4.1-144: Sanity: Renaming kafka to confluent-kafka in test scripts + R4.1-144: Sanity: Fix contrail-status status display of kakfa: when + confluent-kafka is deployed by systemd |
summary: |
- R4.1-144: Sanity: Fix contrail-status status display of kakfa: when + R4.1-144: Sanity: Fix contrail-status display of kakfa service: when confluent-kafka is deployed by systemd |
Review in progress for https:/ /review. opencontrail. org/44187
Submitter: Ankit Jain (<email address hidden>)