2

I installed Datastax Opscenter‎ and everything seemed fine initially.

After some time all Widgets and Graphs disappeared from the Dashboard. I can added them, but each time I refresh the browser they all disappear and Dashboard is empty.

Anyone face similar issue?

Tomas
  • 675
  • 1
  • 9
  • 18
  • Sounds like you have a corrupted preset. What version of OpsC are you running? – phact Nov 12 '15 at 04:56
  • 1
    Can you try running http://:8888//rc/dashboard_presets/ and post the output. – phact Nov 12 '15 at 04:58
  • {"message": "Resource not found.", "type": "NoSuchResource", "brief": "error"} – Tomas Nov 12 '15 at 09:00
  • I was running 5.2.1 and upgraded to 5.2.2 yesterday. The problem is still were. Some corruption is likely as we had the disk where commit logs stored be filled to 100% and after that I had couple of commit logs partially written on one member. I had to remove these commit logs in order to start Cassandra and then I ran noted repair operation. – Tomas Nov 12 '15 at 09:02
  • Anyone know how to fix it without removing OpsCenter and re-installing it from scratch? – Tomas Nov 12 '15 at 09:02
  • Hm, are you sure you got the cluster name right? The message should be different. http://docs.datastax.com/en/opscenter/5.2/api/docs/ui.html?highlight=preset#method-get-dashboard-preset – phact Nov 12 '15 at 14:47
  • We should be able to fix it without re-installing. – phact Nov 12 '15 at 14:48
  • OK, I tried again, and I got this result now: {"6b2e0d68-dbd1-40e0-874a-a3703a452d88": {}} – Tomas Nov 12 '15 at 15:38
  • The difference between first request and second request is "/" at the end of URL. First time I didn't put "/" at the end. – Tomas Nov 12 '15 at 15:40

1 Answers1

3

I don't know if you ever figured it out, but you were halfway there. Deleting the broken preset will allow you to create a new one. Step 1 (As mentioned in comments on question):

curl http://:8888//rc/dashboard_presets/

This will return an id string for the preset in a {"id"{}} format.

Step 2: curl -X "DELETE" http://:8888//rc/dashboard_presets/id to remove the broken preset.

Note: A symptom of having to delete the preset is if the Default tab disappears from above the date selector.

Mr. Chimpanzee
  • 376
  • 1
  • 7