Hi,
We have been struggling to get OpsCenter running on FreeBSD 8.2. We've got the binary to run after installing some python modules; the web-address is browsable but is missing a lot of info...
Below the contents of the logfile.
Has anybody managed to get Opscenter running on FreeBSD systems (and resolved the issue we are running into as well?)?
Since the code is already compiled we can't have a look at what is causing this problem :(
Regards,
Ruben
====
2011-12-20 13:19:59+0100 [] INFO: Log opened.
2011-12-20 13:19:59+0100 [] INFO: twistd 10.1.0 (/usr/local/bin/python2.6 2.6.6) starting up.
2011-12-20 13:19:59+0100 [] INFO: reactor class: twisted.internet.selectreactor.SelectReactor.
2011-12-20 13:19:59+0100 [] INFO: Logging level set to 'debug'
2011-12-20 13:19:59+0100 [] INFO: OpsCenterdService startService
2011-12-20 13:19:59+0100 [] INFO: OpsCenter version: 1.3.1
2011-12-20 13:19:59+0100 [] INFO: Compatible agent version: 2.4
2011-12-20 13:19:59+0100 [] DEBUG: Logging user config options:
2011-12-20 13:19:59+0100 [] DEBUG: jmx : [('port', '7199')], logging : [('log_path', './log/opscenterd.log'), ('level', 'DEBUG')], stat_reporter : [('ssl_key', './ssl/stats.pem')], authentication : [], webserver : [('interface', '$ipaddress'), ('staticdir', './content'), ('port', '8888'), ('log_path', './log/http.log')], agents : [('ssl_certfile', './ssl/opscenter.pem'), ('tmp_dir', './tmp'), ('path_to_installscript', './bin/install_agent.sh'), ('path_to_sudowrap', './bin/sudo_with_pass.py'), ('agent_keyfile', './ssl/agentKeyStore'), ('path_to_deb', 'NONE'), ('ssl_keyfile', './ssl/opscenter.key'), ('agent_certfile', './ssl/agentKeyStore.pem'), ('path_to_rpm', 'NONE')], cassandra_metrics : [], cassandra : [('seed_hosts', '10.0.112.103, 10.0.112.104, 10.0.112.105')],
2011-12-20 13:19:59+0100 [] INFO: HTTP BASIC authentication disabled
2011-12-20 13:19:59+0100 [] DEBUG: Getting nodelist over thrift
2011-12-20 13:19:59+0100 [] INFO: agent_config items: {'metrics_enabled': 1, 'http_server_port': 61621, 'metrics_ignored_column_families': '', 'metrics_ignored_keyspaces': 'system, OpsCenter', 'jmx_port': 7199}
2011-12-20 13:19:59+0100 [] INFO: opscenterd.WebServer.OpsCenterdWebServer starting on 8888
2011-12-20 13:19:59+0100 [] INFO: Starting factory <opscenterd.WebServer.OpsCenterdWebServer instance at 0x804e77680>
2011-12-20 13:19:59+0100 [] DEBUG: Adding connection to <CassandraNode 10.0.112.105:9160 @0x804fab950>
2011-12-20 13:19:59+0100 [] DEBUG: Adding connection to <CassandraNode 10.0.112.104:9160 @0x804fab7e8>
2011-12-20 13:19:59+0100 [] DEBUG: Adding connection to <CassandraNode 10.0.112.103:9160 @0x804fabcf8>
2011-12-20 13:19:59+0100 [] DEBUG: Adding connection to <CassandraNode 10.0.112.105:9160 @0x804fab950>
2011-12-20 13:19:59+0100 [] DEBUG: Adding connection to <CassandraNode 10.0.112.104:9160 @0x804fab7e8>
2011-12-20 13:19:59+0100 [] DEBUG: Waiting for describe_version() results
2011-12-20 13:19:59+0100 [] INFO: Starting CassandraCluster service
2011-12-20 13:19:59+0100 [] INFO: morbid.morbid.StompFactory starting on 61619
2011-12-20 13:19:59+0100 [] INFO: Starting factory <morbid.morbid.StompFactory instance at 0x804e9b560>
2011-12-20 13:19:59+0100 [] INFO: morbid.morbid.StompFactory starting on 61620
2011-12-20 13:19:59+0100 [] INFO: Starting PushService
2011-12-20 13:19:59+0100 [] DEBUG: Waiting for a successful thrift call
2011-12-20 13:19:59+0100 [] DEBUG: Successfully added connection to <CassandraNode 10.0.112.104:9160 @0x804fab7e8> to the pool
2011-12-20 13:19:59+0100 [] DEBUG: Successfully added connection to <CassandraNode 10.0.112.104:9160 @0x804fab7e8> to the pool
2011-12-20 13:19:59+0100 [] DEBUG: Getting nodelist over thrift
2011-12-20 13:19:59+0100 [] DEBUG: Successfully added connection to <CassandraNode 10.0.112.105:9160 @0x804fab950> to the pool
2011-12-20 13:19:59+0100 [] DEBUG: Successfully added connection to <CassandraNode 10.0.112.105:9160 @0x804fab950> to the pool
2011-12-20 13:19:59+0100 [] DEBUG: Successfully added connection to <CassandraNode 10.0.112.103:9160 @0x804fabcf8> to the pool
2011-12-20 13:19:59+0100 [] INFO: Partitioner: org.apache.cassandra.dht.RandomPartitioner
2011-12-20 13:19:59+0100 [] INFO: Cluster Name: Test Cluster
2011-12-20 13:19:59+0100 [] INFO: Unhandled error in Deferred:
2011-12-20 13:19:59+0100 [] Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 345, in errback
self._startRunCallbacks(fail)
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
self._runCallbacks()
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 441, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 949, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 891, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/local/lib/python2.6/site-packages/twisted/python/failure.py", line 338, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "build/lib/python2.6/site-packages/opscenterd/Cluster.py", line 406, in startService
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 891, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/local/lib/python2.6/site-packages/twisted/python/failure.py", line 338, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "build/lib/python2.6/site-packages/opscenterd/Cluster.py", line 573, in collectNodeList
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
result = g.send(result)
File "build/lib/python2.6/site-packages/opscenterd/CassandraService.py", line 179, in getTokenList
File "build/lib/python2.6/site-packages/opscenterd/CassandraService.py", line 191, in processTokenLists
exceptions.IndexError: list index out of range
2011-12-20 13:19:59+0100 [] INFO: CPU Info: []
2011-12-20 13:19:59+0100 [] INFO: Done loading metric configuration.
2011-12-20 13:19:59+0100 [] INFO: Done preloading last rollup times.
2011-12-20 13:19:59+0100 [] INFO: Loading all persisted alert rules
2011-12-20 13:19:59+0100 [] DEBUG: Getting nodelist over thrift
2011-12-20 13:19:59+0100 [] INFO: Unhandled error in Deferred:
2011-12-20 13:19:59+0100 [] Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 345, in errback
self._startRunCallbacks(fail)
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
self._runCallbacks()
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 441, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 949, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 891, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/local/lib/python2.6/site-packages/twisted/python/failure.py", line 338, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "build/lib/python2.6/site-packages/opscenterd/Cluster.py", line 573, in collectNodeList
File "/usr/local/lib/python2.6/site-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
result = g.send(result)
File "build/lib/python2.6/site-packages/opscenterd/CassandraService.py", line 179, in getTokenList
File "build/lib/python2.6/site-packages/opscenterd/CassandraService.py", line 191, in processTokenLists
exceptions.IndexError: list index out of range
$Info text with keyspace info (decided not to include in this logcontent)
2011-12-20 13:19:59+0100 [] DEBUG: Error while collecting system info list index out of range
2011-12-20 13:20:59+0100 [] DEBUG: Average opscenterd CPU usage: 0.51%, max resident: 27 MB
2011-12-20 13:21:59+0100 [] DEBUG: Average opscenterd CPU usage: 0.09%, max resident: 27 MB
=======
