#No Garfana Data Showing for My NetApp
1 messages · Page 1 of 1 (latest)
hi @royal olive did you also install Harvest after installing NAbox? If so, which version of Harvest did you install?
24.01.31-nightly
can you ssh to your nabox instance and check the log files? let's look at the last 50 lines dc logs --tail 50 nabox-harvest2
was this working in Jan and stopped recently or was it never working?
I'm just testing a system with it now.
Let me take a look sir
This looks interesting
nabox-harvest2 | 2024-02-23T20:14:17Z INF collector/collector.go:575 > Collected Poller= apiMs=481 calcMs=1 collecto r=ZapiPerf:WAFLCompBin exportMs=3 instances=610 instancesExported=268 metrics=7320 metricsExported=2977 parseMs=35 pluginMs= 1 pollMs=520 skips=0 zBegin=1708719257102
nabox-harvest2 | 2024-02-23T20:14:18Z ERR collector/collector.go:439 > error="Permission denied => Insufficient privileges: user 'netapp' does not have read access to this resource errNum="13003" statusCode="0"" Poller= collecto r=ZapiPerf:Disk plugin=Disk
It would appear I need to add some additional roles and I can check that from the NAbox website if that's still all correct.
Maybe?
Actually that appears to be maybe something else going on.
Yesm I edited this a little to remove the system name.
yep looks like a permissions problem - this is the full list https://netapp.github.io/harvest/nightly/prepare-cdot-clusters/#least-privilege-approach
Also feel free to send you log files and we can take a look https://netapp.github.io/harvest/nightly/help/log-collection/#nabox
Ok I will play around with the roles and update this post accordingly.
we released 24.02 a few days ago too so upgrade when you get a chance - it won't make a difference to this permission issue but mentioning in case you missed it
For sure, I saw that just now as well. Thanks
if you want to email the log files, the address is ng-harvest-files@netapp.com
Ok
Just curious, the logs won't tell me which role it's missing or failing on? Meaning this "errNum=13003" means nothing I presume.
sometimes it does, but not very directly 🙂 in the example above it's the ZapiPerf:Disk plugin which, looking at the code, means it is storage-shelf-info-get-iter , storage-disk-get-iter or aggr-get-iter
It's easy to send those ZAPIs from the CLI and tell if you want to know. When the 13003 happens at the collector level instead of the plugin level it's easier to tell. The 3 ZAPIs listed above are covered in the permissions link I pasted above https://netapp.github.io/harvest/nightly/prepare-cdot-clusters/#least-privilege-approach
@proven vigil I'm going to send the log files because it would appear I have the roles needed for the user.
@proven vigil Logs were rejected for size, any other method I can get these to you?