Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

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

Open
jenkins-clearwater opened this issue Mar 24, 2017 · 2 comments

Comments

@jenkins-clearwater
Copy link

[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
Copy link
Author

[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
Copy link
Author

[leader-us]

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

  • Restarting DNS forwarder and DHCP server dnsmasq
    ...fail!
    Configuring monit for only localhost access
    Joining cluster as proxy...
    homestead: ERROR (abnormal termination)
    homestead-prov: started
    nginx: started

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

No branches or pull requests

1 participant