Finally I got this one resolved. I sent a feedback via Help->Feedback on OpsCenter page. Someone is actually reading those - imagine that. Big +1 to Datastax. Here is the fix:
first visit this URL: http://your_ip:your_port /Test_Cluster/rc/dashboard_presets/ you should get a response like this: {"838ef1a3-9d49-41ff-84e3-4d96440487e5": {}} Then visit another URL: curl -X "DELETE" http://http://your_ip:your_port /Test_Cluster/rc/dashboard_presets/838ef1a3-9d49-41ff-84e3-4d96440487e5 This will clear out the broken dashboard settings and allow you to reconfigure the dashboard again. On Thu, Nov 5, 2015 at 10:02 AM, Kai Wang <dep...@gmail.com> wrote: > It happens again after I reboot another node. This time I see errors in > agent.log. It seems to be related to the previous dead node. > > INFO [clojure-agent-send-off-pool-2] 2015-11-05 09:48:41,602 Attempting > to load stored metric values. > ERROR [clojure-agent-send-off-pool-2] 2015-11-05 09:48:41,613 There was > an error when attempting to load stored rollups. > com.datastax.driver.core.exceptions.DriverInternalError: Unexpected error > while processing response from /x.x.x.x:9042 > at > com.datastax.driver.core.exceptions.DriverInternalError.copy(DriverInternalError.java:42) > at > com.datastax.driver.core.exceptions.DriverInternalError.copy(DriverInternalError.java:24) > ... > Caused by: com.datastax.driver.core.exceptions.DriverInternalError: > Unexpected error while processing response from /x.x.x.x:9042 > at > com.datastax.driver.core.DefaultResultSetFuture.onSet(DefaultResultSetFuture.java:150) > at > com.datastax.driver.core.RequestHandler.setFinalResult(RequestHandler.java:183) > at > com.datastax.driver.core.RequestHandler.access$2300(RequestHandler.java:45) > ... > Caused by: java.lang.IllegalStateException: Can't use this cluster > instance because it was previously closed > at com.datastax.driver.core.Cluster.checkNotClosed(Cluster.java:493) > at com.datastax.driver.core.Cluster.access$400(Cluster.java:61) > at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1231) > ... > INFO [clojure-agent-send-off-pool-1] 2015-11-05 09:48:41,618 Attempting to > load stored metric values. > ERROR [clojure-agent-send-off-pool-1] 2015-11-05 09:48:41,622 There was > an error when attempting to load stored rollups. > com.datastax.driver.core.exceptions.InvalidQueryException: Invalid null > value for partition key part key > at > com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35) > at > com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:291) > > > On Wed, Nov 4, 2015 at 8:43 PM, qihuang.zheng < > qihuang.zh...@fraudmetrix.cn> wrote: > >> We have this problem with version 5.2.0. so we decide to update to 5.2.2 >> >> But this problem seems remain. We solve this by totally delele relate >> agent file and process and restart. just like first time install. >> >> >> sudo kill -9 `ps -ef|grep datastax_agent_monitor | head -1 |awk '{print >> $2}'` && \ >> >> sudo kill -9 `cat /var/run/datastax-agent/datastax-agent.pid` && \ >> >> sudo rm -rf /var/lib/datastax-agent && \ >> >> sudo rm -rf /usr/share/datastax-agent >> >> ------------------------------ >> qihuang.zheng >> >> 原始邮件 >> *发件人:* Kai Wang<dep...@gmail.com> >> *收件人:* user<user@cassandra.apache.org> >> *发送时间:* 2015年11月5日(周四) 04:39 >> *主题:* Can't save Opscenter Dashboard >> >> Hi, >> >> Today after one of the nodes is rebooted, OpsCenter dashboard doesn't >> save anymore. It starts with an empty dashboard with no widget or graph. If >> I add some graph/widget, they are being updated fine. But if I refresh the >> browser, the dashboard became empty again. >> >> Also there's no "DEFAULT" tab on the dashboard as the user guide shows. I >> am not sure if it was there before. >> > >