cloudalchemy / ansible-node-exporter

Provision basic metrics exporter for prometheus monitoring tool
MIT License
501 stars 270 forks source link

Unable to find required 'zipinfo' binary in the path #250

Closed XDavidT closed 2 years ago

XDavidT commented 2 years ago

What did you do? Run this:

  roles:
    - cloudalchemy.node_exporter

Environment

Running from container holding ansible (cytopia/ansible:latest-tools)

TASK [cloudalchemy.node_exporter : Unpack node_exporter binary] *******************************************************************************************************************
fatal: [node1 -> localhost]: FAILED! => {"changed": false, "msg": "Failed to find handler for \"/root/.ansible/tmp/ansible-tmp-1637763606.7593231-407-110424608309905/source\". Make sure the required command to extract the file is installed. Command \"/bin/tar\" detected as tar type None. GNU tar required. Unable to find required 'zipinfo' binary in the path."}
fatal: [node2 -> localhost]: FAILED! => {"changed": false, "msg": "Failed to find handler for \"/root/.ansible/tmp/ansible-tmp-1637763606.7787824-408-246859972208640/source\". Make sure the required command to extract the file is installed. Command \"/bin/tar\" detected as tar type None. GNU tar required. Unable to find required 'zipinfo' binary in the path."}
fatal: [node3 -> localhost]: FAILED! => {"changed": false, "msg": "Failed to find handler for \"/root/.ansible/tmp/ansible-tmp-1637763606.7996552-418-52614231439616/source\". Make sure the required command to extract the file is installed. Unable to find required 'zipinfo' binary in the path. Command \"/bin/tar\" detected as tar type None. GNU tar required."}

Anything else we need to know?: I just run this command over 3 ubuntu machines to install and test it work, but got this error. didn't found anything about that in closed issues or anywhere else..

LunkRat commented 2 years ago

Same error here when using willhallonline/docker-ansible to run cloudalchemy.node_exporter. I do not see the error when using my local Ubuntu (non-docker) install of Ansible. So it seems to be isolated to running ansible-playbook from a docker container.

@XDavidT did you solve this in your case?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.