This is probably something simple.
Trying to get OpsCenter to work on my 12 node Brisk-b2 cluster in Amazon.
My Security Group has these ports open:
8888
9160
1024 - 65535 (source is the security group, so only traffic originating within the security group can talk via these ports)
(all of the other ports mentioned in the Brisk AMI on Amazon documentation on this website are also open)
OpsCenter was successfully installed on a Cassandra seed node and the cassandra-env.sh file was changed on all nodes with the updated EC2 public DNS name. Cassandra was also restarted on all nodes.
OpsCenter.conf file:
# opscenterd.conf
[jmx]
cassandra_classpath = /usr/share/opscenter/lib/*.jar
port = 8080
[webserver]
port = 8888
interface = 0.0.0.0
staticdir = /usr/share/opscenter/content
[cassandra]
forget_nodes_after = 2629800 ; average month
# a comma-separated list of places to try for a connection to your Cassandra
# cluster:
seed_hosts = 10.192.x.x
# the API (Thrift) port on your Cassandra cluster
api_port = 9160
[collection]
basic_info_period = 3600
node_poll_period = 120
[authentication]
# if this file does not exist, there will be no password protection. Use the
# set_passwd.py tool (included with OpsCenter) to set passwords.
passwd_file = /etc/opscenter/.passwd
- - - - - - -
When I go to the URL for OpsCenter now, I see Loading Opscenter... then an error:
Error loading cluster: No Cassandra connections available
Here is the Opscenter log (note, IP addresses have been cleaned with x.x):
2011-07-01 00:54:55+0000 [Uninitialized] Thrift pool connection to <CassandraNode 10.192.x.x:9160 @0x2eb66c8> failed
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
2011-07-01 00:54:55+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 180.96665978431702 left on connect blackout
2011-07-01 00:54:55+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 181.0 seconds.)
2011-07-01 00:54:55+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 180.96680474281311 left on connect blackout
2011-07-01 00:54:55+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 181.0 seconds.)
2011-07-01 00:54:55+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 180.96680688858032 left on connect blackout
2011-07-01 00:54:55+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 181.0 seconds.)
2011-07-01 00:54:55+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 180.96680688858032 left on connect blackout
2011-07-01 00:54:55+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 181.0 seconds.)
2011-07-01 00:54:55+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 180.96680569648743 left on connect blackout
2011-07-01 00:54:55+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 181.0 seconds.)
2011-07-01 00:55:32+0000 [HTTPChannel,10,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:55:32 +0000] "GET /hadoop/jobs HTTP/1.1" 404 72 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:56:32+0000 [HTTPChannel,10,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:56:32 +0000] "GET /hadoop/jobs HTTP/1.1" 404 72 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:32+0000 [HTTPChannel,10,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:32 +0000] "GET /hadoop/jobs HTTP/1.1" 404 72 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:39+0000 [HTTPChannel,10,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:39 +0000] "GET /opscenter/index.html HTTP/1.1" 200 2599 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:39+0000 [HTTPChannel,2,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:39 +0000] "GET /opscenter/js/dojotoolkit/dojox/grid/resources/Grid.css HTTP/1.1" 200 7125 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:39+0000 [HTTPChannel,9,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:39 +0000] "GET /opscenter/css/ripcord.css HTTP/1.1" 200 25573 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:39+0000 [HTTPChannel,14,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:39 +0000] "GET /opscenter/images/opsc-logo.png HTTP/1.1" 200 3052 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:40+0000 [HTTPChannel,10,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:39 +0000] "GET /opscenter/js/dojotoolkit/dijit/themes/tundra/tundra.css HTTP/1.1" 200 76329 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:40+0000 [HTTPChannel,8,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:40 +0000] "GET /opscenter/js/dojotoolkit/dojo/dojo.js HTTP/1.1" 200 90325 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:41+0000 [HTTPChannel,13,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:41 +0000] "GET /opscenter/js/ripcord/ripcord.js HTTP/1.1" 200 982295 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:42+0000 [HTTPChannel,13,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:41 +0000] "GET /opscenter/js/dojotoolkit/dojox/gfx/svg.js?1309481862161 HTTP/1.1" 200 39650 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:42+0000 [HTTPChannel,13,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:42 +0000] "GET /opscenter/js/dojotoolkit/dojo/nls/ripcorddojo_en-us.js?1309481862161 HTTP/1.1" 200 5540 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:42+0000 [HTTPChannel,13,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:42 +0000] "GET /opscenter/images/sidebar-line.png HTTP/1.1" 200 291 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:42+0000 [HTTPChannel,8,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:42 +0000] "GET /opscenter/images/sidebar-bg.png HTTP/1.1" 200 514 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:42+0000 [HTTPChannel,8,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:42 +0000] "GET /rc/userrole HTTP/1.1" 200 4 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:42+0000 [HTTPChannel,13,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:42 +0000] "GET /rc/version HTTP/1.1" 200 7 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:42+0000 [HTTPChannel,13,152.179.x.x] Problem while calling ClusterController
Traceback (most recent call last):
Failure: opscenterd.CassandraService.NoCassandraConnection: No Cassandra connections available
2011-07-01 00:57:42+0000 [HTTPChannel,13,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:42 +0000] "GET /cluster HTTP/1.1" 400 49 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:42+0000 [HTTPChannel,8,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:42 +0000] "GET /favicon.ico HTTP/1.1" 404 52 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:43+0000 [HTTPChannel,8,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:42 +0000] "GET /opscenter/images/closeicon.png HTTP/1.1" 200 1238 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:43+0000 [HTTPChannel,13,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:57:42 +0000] "GET /opscenter/js/dojotoolkit/dijit/themes/tundra/images/buttonEnabled.png HTTP/1.1" 200 120 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
2011-07-01 00:57:56+0000 [-] Adding connection to <CassandraNode 10.192.x.x:9160 @0x2eb66c8>
2011-07-01 00:57:56+0000 [-] Adding connection to <CassandraNode 10.192.x.x:9160 @0x2eb66c8>
2011-07-01 00:57:56+0000 [-] Adding connection to <CassandraNode 10.192.x.x:9160 @0x2eb66c8>
2011-07-01 00:57:56+0000 [-] Adding connection to <CassandraNode 10.192.x.x:9160 @0x2eb66c8>
2011-07-01 00:57:56+0000 [-] Adding connection to <CassandraNode 10.192.x.x:9160 @0x2eb66c8>
2011-07-01 00:57:56+0000 [Uninitialized] Thrift pool connection to <CassandraNode 10.192.x.x:9160 @0x2eb66c8> failed
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
2011-07-01 00:57:56+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 174.66835308074951 left on connect blackout
2011-07-01 00:57:56+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 174.7 seconds.)
2011-07-01 00:57:56+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 174.66850137710571 left on connect blackout
2011-07-01 00:57:56+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 174.7 seconds.)
2011-07-01 00:57:56+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 174.66850113868713 left on connect blackout
2011-07-01 00:57:56+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 174.7 seconds.)
2011-07-01 00:57:56+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 174.66850018501282 left on connect blackout
2011-07-01 00:57:56+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 174.7 seconds.)
2011-07-01 00:57:56+0000 [Uninitialized] not considering <CassandraNode 10.192.x.x:9160 @0x2eb66c8> for new connection; has 174.66850018501282 left on connect blackout
2011-07-01 00:57:56+0000 [Uninitialized] (No candidate nodes to expand pool to target size 5 from 0; there are 0 pending requests. Expected candidate node retry in 174.7 seconds.)
2011-07-01 00:58:03+0000 [HTTPChannel,13,152.179.x.x] 152.179.x.x - - [01/Jul/2011:00:58:03 +0000] "GET /opscenter/js/dojotoolkit/dijit/themes/tundra/images/buttonHover.png HTTP/1.1" 200 144 "http://ec2-174-129-x-x.compute-1.amazonaws.com:8888/opscenter/index.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.x.x Safari/534.30"
