Has there been any resolution on this issue? I am running into the same
problem and uploading the files as single part versus mulitpart to S3 is
not really an option.
Thanks,
Chris
On Thursday, October 24, 2013 11:17:06 PM UTC-4, Ben Hood wrote:
>
> Hi James,
>
> Please find the -vvv output from ansible below.
>
> Cheers,
>
> Ben
>
> TASK: [Get all of the packages from S3 onto the box]
> **************************
>
> <cdr1.aws.acme.com> ESTABLISH CONNECTION FOR USER: root
>
> <cdr1.aws.acme.com> EXEC ['ssh', '-tt', '-q', '-o',
> 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o',
> 'ControlPath=/Users/0x6e6562/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
> 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o',
> 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
>
> '-o', 'PasswordAuthentication=no', '-o', 'User=root', '-o',
> 'ConnectTimeout=10', 'cdr1.aws.acme.com', "/bin/sh -c 'mkdir -p
> $HOME/.ansible/tmp/ansible-1382670810.23-62877702454141 && echo
> $HOME/.ansible/tmp/ansible-1382670810.23-62877702454141'"]
>
> <cdr1.aws.acme.com> REMOTE_MODULE s3 bucket=cdr-deployment
> object=/3rd-party/jdk-7u45-linux-x64.gz aws_access_key=xxx
> aws_secret_key=xxx dest=/opt/downloads/jdk-7u45-linux-x64.gz mode=get
>
> <cdr1.aws.acme.com> PUT
> /var/folders/z8/n1d02m0j26z6wv2p_793ls4m0000gn/T/tmpUDmKUP TO
> /root/.ansible/tmp/ansible-1382670810.23-62877702454141/s3
>
> <cdr1.aws.acme.com> EXEC ['ssh', '-tt', '-q', '-o',
> 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o',
> 'ControlPath=/Users/0x6e6562/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
> 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o',
> 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
>
> '-o', 'PasswordAuthentication=no', '-o', 'User=root', '-o',
> 'ConnectTimeout=10', 'cdr1.aws.acme.com', "/bin/sh -c
> '/usr/bin/python2
> /root/.ansible/tmp/ansible-1382670810.23-62877702454141/s3; rm -rf
> /root/.ansible/tmp/ansible-1382670810.23-62877702454141/ >/dev/null
> 2>&1'"]
>
> failed: [cdr1.aws.acme.com] => (item=jdk-7u45-linux-x64.gz) =>
> {"failed": true, "item": "jdk-7u45-linux-x64.gz"}
>
> msg: Files uploaded with multipart of s3 are not supported with
> checksum, unable to compute checksum.
>
> On Thu, Oct 24, 2013 at 6:10 PM, James Cammarata
> <[email protected] <javascript:>> wrote:
> > Can you share what the error your receiving back is?
> >
> >
> > On Thu, Oct 24, 2013 at 2:39 AM, Ben Hood <[email protected]<javascript:>>
> wrote:
> >>
> >> Hi,
> >>
> >> I'm having an issue with the s3 module in ansible 1.3.3:
> >>
> >> "Files uploaded with multipart of s3 are not supported with checksum,
> >> unable to compute checksum."
> >>
> >> The task definition looks like this:
> >>
> >> action: s3 bucket=my_bucket
> >> object=/foo/bar.txt
> >> aws_access_key=xxxx
> >> aws_secret_key="yyyy"
> >> dest=/opt/bar.txt
> >> mode=get
> >>
> >> So the initial GET works, but any subsequent get fails, presumably due
> >> to the checksum issue. Am I maybe doing something wrong?
> >>
> >> Cheers,
> >>
> >> Ben
> >>
> >> $ ansible --version
> >> ansible 1.3.3 (release1.3.3 291649c15d) last updated 2013/10/23
> >> 10:06:59 (GMT +100)
> >>
> >> --
> >> 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 [email protected] <javascript:>.
> >> For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
> >
> >
> > --
> >
> > James Cammarata <[email protected] <javascript:>>
> > Sr. Software Engineer, AnsibleWorks, Inc.
> > http://www.ansibleworks.com/
> >
> > --
> > 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 [email protected] <javascript:>.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/85154e99-1024-4895-8517-eeafe71062cb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.