#Missing user role in Harvest for NABox

1 messages · Page 1 of 1 (latest)

tawdry epoch
#

Dear all,

I am using URL https://nabox.org/documentation/configuration/ to install "NAbox 3.1.2 (2022-08-27) - Alpine Linux 3.15.6" for a NetApp FAS2552 system in 7-Mode system running ONTAP 8.2.5P5. The OVA for NABox is installed on vCenter 7 and I can sign in into the user interface using the credentials mentioned in the URL.
I successfully added my FAS2552 array and after some hours the dashboard shows a graph with IOPS and latency data. Next I updated NABox with "NAbox-3.1.2.update".
The NABox Settings -> Maintenance page shows these versions for the embedded software:

Grafana 8.4.6
Graphite 1.2.0-dev
NetApp Harvest 22.08.0-1
Prometheus 2.38.0

The Harvest version looks like a button but it's not. I clicked the link in front of it, downloaded harvest-22.08.0-1_linux_amd64.tar.gz and installed it successfully from the Maintenance page
There seems to be no need to install NMSDK.
Next, I opened a terminal window to one of the NetApp controllers and ran the long command 'useradmin role modify harvest2-role ...' for 7-Mode as described in the URL.
But get the message that the mentioned role does not exist. How can I fix that? What step did I miss?

Marc.

pseudo imp
#

try doing "useradmin role list"probably the role itself is not there on the controller

chilly stump
#

looks like role does not exist, you can try below command
useradmin role add harvest2-role -a login-http-admin,api-system-get-version,api-system-get-info,api-perf-object-*,api-ems-autosupport-log,api-diagnosis-status-get,api-lun-list-info,api-diagnosis-subsystem-config-get-iter,api-disk-list-info,api-diagnosis-config-get-iter,api-aggr-list-info,api-volume-list-info,api-storage-shelf-environment-list-info,api-qtree-list,api-quota-report

tawdry epoch
#

That role did indeed not exist. I was assuming it was already present. I ran your command successfully on both controllers of my FAS2552. Thanks for the help.

#

My next problem is accessing the Grafana interface in NABox to view the graphs. Clicking the Grafana button opens a new tab in my browser (Chrome) and prompts me for a username/password. Do you have the credentials for it?

chilly stump
#

try admin/Netapp01

tawdry epoch
#

You are the man. That works. I had to be more creative ...

chilly stump
#

Awesome!