Skip to content

cp-quickstart - start.sh hangs/blocks when run from terraform #1267

Description

When I run start.sh from an interactive shell it works fine. But when I run it from a script called from terraform, it stops on the first call to check_topic_exists().

I thought maybe it was strange characters causing an issue, so I added the following before calling start.sh:

export BUILDKIT_PROGRESS=plain
export COMPOSE_ANSI=never

But this has not helped so far. The last thing I see is "Waiting up to 30 seconds for topics (pageviews, users) to exist", but it then sits there until terraform times out

My assumption is this is the line that is blocking:
docker-compose exec $containerName kafka-topics --bootstrap-server $brokerConn --describe --topic $topic >/dev/null

Any ideas? Not sure if this qualifies as a bug.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions