Fetch error: "unable to calculate the md5 sum of the remote file"

472 views
Skip to first unread message

Kevin Lasenby

unread,
Jan 14, 2015, 3:08:38 PM1/14/15
to ansible...@googlegroups.com
When trying to fetch a file from a Synology NAS to my Ansible server (Ubuntu, using SSH keys) I get the error "unable to calculate the md5 sum of the remote file".

I don't get this error fetching from any other server and can't find any information on what's causing it.  Any ideas?


Kevin



Toshio Kuratomi

unread,
Jan 14, 2015, 6:53:36 PM1/14/15
to ansible...@googlegroups.com
In ansible 1.7.x and below, ansible looked for a program on the remote
machine to do an md5sum of the file for integrity checking. As of
1.8.0, ansible uses python itself to create a sha1 hash for integrity
checking. What this means is that on ansible-1.7.x and older you
needed to have /usr/bin/md5sum, /usr/bin/md5, or another of a few
known programs in order to use many file related modules. With
current ansible you'll only need python installed.

-Toshio
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/c20ba971-da8e-4442-9fb5-3c07d1c28d92%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Kevin Lasenby

unread,
Jan 14, 2015, 9:59:10 PM1/14/15
to ansible...@googlegroups.com
Thanks for the reply.  Looks like md5sum/md5 isn't available for Synology, at least I know why its failing and can work around the issue.


Kevin
Reply all
Reply to author
Forward
0 new messages