Metaswitch / clearwater-docker

Docker integration for Project Clearwater
Other
41 stars 64 forks source link

homestead docker conainter running error ,sames can't connect cassandra #40

Open leader-us opened 7 years ago

leader-us commented 7 years ago

homestead docker conainter running error ,sames can't connect cassandra

17-10-2016 22:39:43.367 UTC Error dnscachedresolver.cpp:607: Failed to retrieve record for cassandra: Could not contact DNS servers 17-10-2016 22:40:51.998 UTC Status cassandra_store.cpp:181: Configuring store connection 17-10-2016 22:40:51.998 UTC Status cassandra_store.cpp:182: Hostname: cassandra 17-10-2016 22:40:51.998 UTC Status cassandra_store.cpp:183: Port: 9160 17-10-2016 22:40:51.998 UTC Status cassandra_store.cpp:211: Configuring store worker pool 17-10-2016 22:40:51.998 UTC Status cassandra_store.cpp:212: Threads: 10 17-10-2016 22:40:51.998 UTC Status cassandra_store.cpp:213: Max Queue: 0 17-10-2016 22:40:51.999 UTC Error dnscachedresolver.cpp:607: Failed to retrieve record for cassandra: Could not contact DNS servers 17-10-2016 22:42:01.164 UTC Status cassandra_store.cpp:181: Configuring store connection 17-10-2016 22:42:01.164 UTC Status cassandra_store.cpp:182: Hostname: cassandra 17-10-2016 22:42:01.164 UTC Status cassandra_store.cpp:183: Port: 9160 17-10-2016 22:42:01.164 UTC Status cassandra_store.cpp:211: Configuring store worker pool 17-10-2016 22:42:01.164 UTC Status cassandra_store.cpp:212: Threads: 10 17-10-2016 22:42:01.164 UTC Status cassandra_store.cpp:213: Max Queue: 0 17-10-2016 22:42:01.165 UTC Error dnscachedresolver.cpp:607: Failed to retrieve record for cassandra: Could not contact DNS servers

in container ,can connect it (kuberntes servivce name is cassandra )

root@clearwater-homestead:/# wget cassandra:9160 --2016-10-17 22:42:36-- http://cassandra:9160/ Resolving cassandra (cassandra)... 169.169.193.170 Connecting to cassandra (cassandra)|169.169.193.170|:9160... connected. HTTP request sent, awaiting response... No data received. Retrying.

leader-us commented 7 years ago

root@clearwater-homestead:/# supervisorctl status clearwater-group:homestead BACKOFF Exited too quickly (process log may have details) clearwater-group:homestead-prov RUNNING pid 238, uptime 0:48:30 clearwater-group:nginx RUNNING pid 239, uptime 0:48:30 clearwater-infrastructure EXITED Oct 17 10:01 PM sshd RUNNING pid 8, uptime 0:48:34

leader-us commented 7 years ago

root@clearwater-homestead:/# more /var/log/supervisor/clearwater-infrastructure-stdout---supervisor-qPBDSU.log

eleanor-merry commented 7 years ago

Ported to https://github.com/Metaswitch/project-clearwater-issues/issues/9