Metaswitch / project-clearwater-issues

Issue list for Project Clearwater
0 stars 1 forks source link

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

Open jenkins-clearwater opened 7 years ago

jenkins-clearwater commented 7 years ago

[leader-us]

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.

[Used to be https://github.com/Metaswitch/clearwater-docker/issues/40]

jenkins-clearwater commented 7 years ago

[leader-us]

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

jenkins-clearwater commented 7 years ago

[leader-us]

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