Data Infrastructure Management Software Discussions

Harvest Snappmirror Replications dashboard datasource failed

Hello Community,

 

actually i am running a Harvest with the following versions:

 

NAbox 2.5 (2018-12-16).
NMSDK 9.6.
Harvest 1.6.

 

I want to use the Snapmirror Replications Dashboard, but the Grafana can't find the Datasource:

Datasource named ${DS_GRAPHITE} was not found

 

Does anybody have a clue how to solve this issue? I can't find the mentioned DataSource in Grphite as well.

 

Greetings Philip

15 REPLIES 15

Re: Harvest Snappmirror Replications dashboard datasource failed

@vachagan_gratian :-)

 

Yes that's a known bug, the workaround is to edit the JSON for the dashboard, in Grafana, and replace ${DS_GRAPHITE} by "default", I'm writing this from memory.

 

Be aware that in itself, this is not enough, you also need to enable the snapmirror plugin in harvest configuration (it's provided in standard distribution)

 

[EDIT]

Snapmirror extension is available in the extensions directory and enabled in the "template" directive of the config file, see IAG chapter 12

 

[my_controller]
hostname = 10.77.77.4
group = DEV
username = my_username
password = my_password
template = default, extensions.conf

 

Re: Harvest Snappmirror Replications dashboard datasource failed


@yannb  Thank you for your reply.
@yannb wrote:

Be aware that in itself, this is not enough, you also need to enable the snapmirror plugin in harvest configuration (it's provided in standard distribution)


Sorry maybe i have tomatos on my eyes but i can't find the mentioned plugin. Could you please send me a link to the mentioned document?

 

Greetings Philip

Re: Harvest Snappmirror Replications dashboard datasource failed

If you're using 1.6, it should be described in the Installation and Admin guide, let me know if you can't find it I'll dig that out for you.

Re: Harvest Snappmirror Replications dashboard datasource failed

There's a typo in the doc, you must write "extension" without an "s";

 

template = default,extension.conf

 

Re: Harvest Snappmirror Replications dashboard datasource failed

did you get this error?

 

[2019-09-20 12:26:00,736] [ERROR] [load_prereqs] Failed to import NaServer: No module named NaServer

 

cant figure out a solution or this. 

Re: Harvest Snappmirror Replications dashboard datasource failed

yes I do have the same error. Another user reported the issue in the following discution:

 

https://community.netapp.com/t5/Data-Infrastructure-Management-Software-Discussions/NetApp-Harvest-1-6-is-out/td-p/150671

 

I'm still waiting for a solution.

Re: Harvest Snappmirror Replications dashboard datasource failed

thanks, guess i will wait in line. 

Re: Harvest Snappmirror Replications dashboard datasource failed

so i got beyond this issue, i downloaded sdk96 and copied the files

DfmErrno.py
NaElement.py
NaElement.pyc
NaErrno.py
NaServer.py
NaServer.pyc

 to the lib dir

 

but know i get the following error. 

 

[2019-10-17 14:03:01,160] [ERROR] [poll_snapmirrors] ZAPI request failed: Insufficient privileges: user 'netapp-harvest' does not have read access to this resource

Re: Harvest Snappmirror Replications dashboard datasource failed

.py ? Oh interessting.  I only have .pm files in that folder (/opt/netapp-harvest/lib).

 

Unziping the SDK extract .pm files not .py, is that right ?.  Example from doc:

 

unzip -j netapp-manageability-sdk-9.6.zip netapp-manageability-sdk-9.6/lib/perl/NetApp/* -d /opt/netapp-harvest/lib
Archive: netapp-manageability-sdk-9.6.zip
inflating: /opt/netapp-harvest/lib/DfmErrno.pm
inflating: /opt/netapp-harvest/lib/NaElement.pm
inflating: /opt/netapp-harvest/lib/NaErrno.pm
inflating: /opt/netapp-harvest/lib/NaServer.pm

Forums