Skip to content

Warning in output log for contrail command line application #93

Description

@damianoneill

Working through the README.

Run the following command

$ contrail -c sample/contrail.yml run

Output log contains a warning

...
INFO[0000] Started Worker 3
INFO[0000] Started Worker 4
DEBU[0000] Setting MessageIndex to 0 (if not exists)     logger=intent-compiler

WARN[0000] gocql: unable to create session: unable to discover protocol version: dial tcp 127.0.0.1:9042: connect: connection refused 

DEBU[0000] Starting handle loop
...

There is nothing running on this port

$ netstat -an | grep 9042

Also noted the following log

DEBU[0000] Cassandra watcher enabled for cache

Looking at the previous step where third parties are started with docker images, there is no cassandra image started.

$ docker ps
CONTAINER ID        IMAGE                                 COMMAND                  CREATED              STATUS              PORTS                               NAMES
6e720a7055a3        gcr.io/etcd-development/etcd:v3.3.2   "etcd --advertise-cl…"   About a minute ago   Up About a minute   0.0.0.0:2379->2379/tcp, 2380/tcp    contrail_etcd
86a267684c3c        circleci/mysql:5.7                    "docker-entrypoint.s…"   2 minutes ago        Up 2 minutes        0.0.0.0:3306->3306/tcp, 33060/tcp   contrail_mysql
f0dd907c4409        circleci/postgres:10.3-alpine         "docker-entrypoint.s…"   2 minutes ago        Up 2 minutes        0.0.0.0:5432->5432/tcp              contrail_postgres

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions