在Opscenter 5.0.1中,“磁盘容量”和“磁盘统计信息”不可用。
Cassandra数据和提交日志分别位于NFS挂载点:/ net / cassandra_data和/ net / cassandra_log。
我在opscenterd.log中发现了以下错误:
2014-12-09 14:27:19-0200 [] Unhandled Error
Traceback (most recent call last):
File "/usr/share/opscenter/lib/py/morbid/morbid.py", line 48, in dataReceived
getattr(self, 'read_%s' % self.state)(**msg)
File "/usr/share/opscenter/lib/py/morbid/morbid.py", line 102, in read_connected
d.addCallback(getattr(self, 'frame_%s' % cmd))
File "/usr/share/opscenter/lib/py-debian/2.7/amd64/twisted/internet/defer.py", line 297, in addCallback
callbackKeywords=kw)
File "/usr/share/opscenter/lib/py-debian/2.7/amd64/twisted/internet/defer.py", line 286, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/share/opscenter/lib/py-debian/2.7/amd64/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/share/opscenter/lib/py/morbid/morbid.py", line 122, in frame_send
self.factory.mqm.send_message(self, headers['destination'], (headers, body))
File "/usr/share/opscenter/lib/py/morbid/messagequeue.py", line 146, in send_message
self.message_queues[dest_name].send(message)
File "/usr/share/opscenter/lib/py/morbid/messagequeue.py", line 76, in send
proto.send(self.prep_message(message))
File "/usr/lib/python2.7/dist-packages/opscenterd/OrbitedService.py", line 265, in send
File "/usr/lib/python2.7/dist-packages/opscenterd/Agents.py", line 294, in routeIncoming
File "/usr/lib/python2.7/dist-packages/opscenterd/Agents.py", line 689, in processStorageInfo
File "/usr/lib/python2.7/dist-packages/opscenterd/Cluster.py", line 1107, in updateStorageInfo
File "/usr/lib/python2.7/dist-packages/opscenterd/Cluster.py", line 1096, in sumDiskSpace
exceptions.KeyError: u'netapp_nfs:/vol/nfs_metadata_application_3_1'
答案 0 :(得分:1)
这看起来像是OpsCenter中的一个错误。我创建了一张修理它的票证(内部票号为OPSC-4080)。希望它能在下一个补丁版本(5.1.x)中修复。
对此感到抱歉!
BTW我确定你以前见过这个页面,但如果没有:http://www.datastax.com/documentation/cassandra/2.1/cassandra/planning/architecturePlanningAntiPatterns_c.html?scroll=archPlanAntiPattern__shared-systems表明使用NFS(或NAS)是C *的反模式。