#Nabox 3.5 StorageGRID Dashboards missing

1 messages · Page 1 of 1 (latest)

frigid verge
#

Hello guys,
maybe i am missing something here. After having updated a customers nabox to version 3.5 from older versions we're still missing the included dashboards. When deploying a fresh 3.5 they show up. Is there any way to get the dashboards without redeploying the whole appliance?

mellow pine
#

@frigid verge Did you try Reset button as in attached screenshot?

frigid verge
#

Hi Rahul,
yes we tried to reset, unfortunately that does not change anything.

mellow pine
#

Can you try running below command from nabox root user in CLI

dc exec -w /conf nabox-harvest2 /netapp-harvest/bin/grafana import --multi -a http://grafana:3000/ --overwrite -f "StorageGRID" -d grafana/dashboards/storagegrid
#

@violet burrow Any idea why Reset may not be working?

frigid verge
#

The cli asks for an API-token, am i missing something?

mellow pine
#

This probably explains why reset is not working. Can you share output of below command

dc exec -w /conf nabox-harvest2 /netapp-harvest/bin/harvest doctor --print
violet burrow
#

mmm

#

What happens in dc logs nabox-harvest2 when you clic Reset ?

frigid verge
mellow pine
#

It seems that you are missing the grafana_api_token in the Harvest configuration. @violet burrow , is there a command to reinsert it into the file in NABox, or does it need to be done manually by generating from grafana UI?

violet burrow
#

It's weird that it's missing indeed. We can re-create a token in Grafana and configure it back in the yml

frigid verge
#

If that's easily fixable i'd do that with my customer, if it's more complex i'd go for a redeployment of the whole appliance as we won't loose anything effectively

mellow pine
#

@violet burrow Could you share those steps for NABox

frigid verge
#

Is it enough to just create the token in grafana or do i have to edit it in somewhere?

violet burrow
#

Actually, the key isn't stored in harvest.yml

#

It's possible grafana put an end to API tokens in 9.x.

frigid verge
#

Well, sounds like a redeployment would be an easier solution then 😉

violet burrow
#

We can have a call and fix it also

frigid verge
#

Customer is off duty until next week though, i do not have access to the vm myself

violet burrow
#

If you delete /opt/secrets/harvest-grafana and dc stop nabox-api it will recreate the key, but you have to set the admin password to Netapp01first

frigid verge
#

alright, let me try that with the customer and see if that fixes it

frigid verge
#

Hi @violet burrow i am currently in a remote session with the customer and dc stop nabox-api does not work because of permission denied ... if run under the root user we get dc: can't open 'stop': no such file or directory

violet burrow
#

You should log in as root, not admin

#

I can join if you want

frigid verge
#

we opted for a reinstall instead for a quick fix

violet burrow
#

Ok