You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also tried to manually execute the command the module is triggering: /sbin/grafana-cli --pluginUrl /tmp/alexanderzobnin-grafana-zabbix-v3.10.5-1-g2219691.zip plugins install alexanderzobnin-grafana-zabbix
as the plugin is correctly installing the plugin it should report a success.
ACTUAL RESULTS
Module error:
The full traceback is:
WARNING: The below traceback may *not* be related to the actual failure.
File "/tmp/ansible_grafana_plugin_payload_39EwDA/ansible_grafana_plugin_payload.zip/ansible/modules/monitoring/grafana_plugin.py", line 236, in main
File "/tmp/ansible_grafana_plugin_payload_39EwDA/ansible_grafana_plugin_payload.zip/ansible/modules/monitoring/grafana_plugin.py", line 210, in grafana_plugin
fatal: [****]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"grafana_plugin_url": "/tmp/alexanderzobnin-grafana-zabbix-v3.10.5-1-g2219691.zip",
"grafana_plugins_dir": null,
"grafana_repo": null,
"name": "alexanderzobnin-grafana-zabbix",
"state": "present",
"version": null
}
},
"msg": "<type 'exceptions.ValueError'> : need more than 1 value to unpack "
}
The text was updated successfully, but these errors were encountered:
rockaut
added a commit
to rockaut/grafana
that referenced
this issue
Feb 4, 2020
SUMMARY
If using an offline .zip package for plugin installation the command fails while the plugin is actually installed correctly.
See ansible issue ansible/ansible#67042
ISSUE TYPE
COMPONENT NAME
grafana_plugin
ANSIBLE VERSION
OS / ENVIRONMENT
Grafana 6.6.0 on RHEL7
STEPS TO REPRODUCE
Running this task results in the error seen below while
grafana-cli ls
reports:Also tried to manually execute the command the module is triggering:
/sbin/grafana-cli --pluginUrl /tmp/alexanderzobnin-grafana-zabbix-v3.10.5-1-g2219691.zip plugins install alexanderzobnin-grafana-zabbix
Which results in:
EXPECTED RESULTS
as the plugin is correctly installing the plugin it should report a success.
ACTUAL RESULTS
Module error:
The text was updated successfully, but these errors were encountered: