Skip to content

kafka role: systemd unit 'failed', port 9092 not listening #7

Description

@yakari007

Summary

Deployed a VM with the kafka service role attached (default/empty config

  • no version/node_id/heap_size override submitted), on the Ubuntu
    24.x "with PlusClouds Service" image. After SSH login succeeded, systemctl is-active kafka reported failed, and port 9092 (the default client port
    for the single combined broker+controller node this role describes)
    refused TCP connections outright. This role was given an extended 450s
    verification budget (vs the usual 300s, since it's a heavier JVM
    download+start) and still never came up.

Repro

POST /leo/iaas/virtual-machines/create-wizard with
service_roles: {"kafka": {"config": {}}} against the Ubuntu 24.x "with
PlusClouds Service" image, then after boot (waited up to 450s):

systemctl is-active kafka   # -> failed
exec 3<>/dev/tcp/127.0.0.1/9092   # -> Connection refused

The VM was deployed and torn down automatically as part of the test run,
so the live VM/journalctl -u kafka output is gone - filed from the
test's captured output, not a live inspection.

Found via leo4.tester's iaas-service-roles automated test scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions