Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning in output log for contrail command line application #93

Open
damianoneill opened this issue Nov 9, 2018 · 1 comment
Open

Comments

@damianoneill
Copy link
Contributor

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
@damianoneill
Copy link
Contributor Author

I see the same warning issue when running the go tests.

make test
...
DEBU[0020] Index: 970, oper: 0, Got Message /contrail/endpoint/endpoint_clusterB_neutron1_uuid: {"uuid":"endpoint_clusterB_neutron1_uuid","name":"clusterB_neutron1","parent_uuid":"clusterB_uuid","parent_type":"contrail-cluster","fq_name":["default-global-system-config","clusterB","clusterB_neutron1"],"id_perms":{"enable":true,"uuid":{"uuid_mslong":9757750814211570197,"uuid_lslong":12362509709171351855}},"display_name":"clusterB_neutron1","perms2":{"owner":"admin","owner_access":7},"prefix":"neutron","private_url":"http://127.0.0.1:63803","public_url":"http://127.0.0.1:63804"}
DEBU[0020] Update id map for key: endpoint_clusterB_neutron1_uuid,  event version: 0
DEBU[0020] node 17 updated
ERRO[0020] Failed to process etcd event                  error="dial tcp [::1]:5672: connect: connection refused"
ERRO[0020] Failed to process etcd event                  error="gocql: unable to create session: unable to discover protocol version: dial tcp 127.0.0.1:9042: connect: connection refused"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant