[Bug 1696800] Re: S3 upload of empty files fails
Bumping this. ** Tags added: server-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
Are we still planning on backporting the fix to bionic, focal, and impish? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
The Hirsute Hippo has reached End of Life, so this bug will not be fixed for that release. ** Changed in: python-s3transfer (Ubuntu Hirsute) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
** Changed in: python-s3transfer (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
Finally, the patch in https://github.com/boto/s3transfer/pull/102 should be backported to the affected series -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
This has been fixed in https://github.com/boto/s3transfer/pull/102 and released upstream in s3transfer 0.3.7. Note that Debian currently has version 0.5.0-1 in unstable. Therefore, once JJ is open for development and the syncs start, this should be fixed there. I am also updating the affected series to include the new ones and closing the ones whose standard support no longer applies. ** Also affects: python-s3transfer (Ubuntu Impish) Importance: Undecided Assignee: Kamal Mostafa (kamalmostafa) Status: Confirmed ** Also affects: python-s3transfer (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: python-s3transfer (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: python-s3transfer (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: python-s3transfer (Ubuntu Xenial) Status: Confirmed => Won't Fix ** Changed in: python-s3transfer (Ubuntu Yakkety) Status: Confirmed => Won't Fix ** Changed in: python-s3transfer (Ubuntu Zesty) Status: Confirmed => Won't Fix ** Changed in: python-s3transfer (Ubuntu Artful) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
I think this open bug has the same root cause https://bugs.launchpad.net/ubuntu/+source/python-botocore/+bug/1711737 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
@Christian, indeed I'm also just waiting on upstream. I've just added another comment to the github PR to ping the maintainer, kyleknap. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
This is still hanging on the GH review since ~a month. @Kamal are you still driving this actively or just waiting on upstream in this case? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
Proposed fix to upstream: https://github.com/boto/s3transfer/pull/88 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
** Patch added: "0001-Implement-seek-whence-param-for-zero-length-files.patch" https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+attachment/4894724/+files/0001-Implement-seek-whence-param-for-zero-length-files.patch ** Patch removed: "implement-seek-whence-param-for-zero-length-files" https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+attachment/4893294/+files/implement-seek-whence-param-for-zero-length-files -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
** Also affects: python-s3transfer (Ubuntu) Importance: Undecided Status: New ** No longer affects: awscli (Ubuntu) ** No longer affects: awscli (Ubuntu Xenial) ** No longer affects: awscli (Ubuntu Yakkety) ** No longer affects: awscli (Ubuntu Zesty) ** No longer affects: awscli (Ubuntu Artful) ** Changed in: python-s3transfer (Ubuntu Xenial) Status: New => Confirmed ** Changed in: python-s3transfer (Ubuntu Yakkety) Status: New => Confirmed ** Changed in: python-s3transfer (Ubuntu Zesty) Status: New => Confirmed ** Changed in: python-s3transfer (Ubuntu Artful) Status: New => Confirmed ** Changed in: python-s3transfer (Ubuntu Xenial) Assignee: (unassigned) => Kamal Mostafa (kamalmostafa) ** Changed in: python-s3transfer (Ubuntu Yakkety) Assignee: (unassigned) => Kamal Mostafa (kamalmostafa) ** Changed in: python-s3transfer (Ubuntu Zesty) Assignee: (unassigned) => Kamal Mostafa (kamalmostafa) ** Changed in: python-s3transfer (Ubuntu Artful) Assignee: (unassigned) => Kamal Mostafa (kamalmostafa) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-s3transfer/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
Hello Kamal, I can confirm that your proposed fix actually fixes the issue. Thank you for your fast response. Regards, Lienhart -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
The failure appears to be due to the incomplete implementation of seek() -- missing the optional 'whence' argument -- in python-s3transfer's ReadFileChunk method. The attached patch to python-s3transfer fixes it in my testing. Before submitting the patch to the Ubuntu and upstream, I'd like an additional verification that it resolves the problem. Here's a PPA for Xenial which provides python-s3tranfer with the patch applied: https://launchpad.net/~kamalmostafa/+archive/ubuntu/lp1696800 Please confirm that this PPA (installed along with the stock Ubuntu awscli package) fixes the problem for you. ** Attachment added: "implement-seek-whence-param-for-zero-length-files" https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1696800/+attachment/4893294/+files/implement-seek-whence-param-for-zero-length-files -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
This regression occurs in Xenial/Yakkety (1.11.13-1ubuntu1~16.*.0) and also in Zesty/Artful (1.11.44-1): $ aws --version aws-cli/1.11.44 Python/3.5.3 Linux/4.10.0-19-generic botocore/1.5.7 $ touch emptyfile $ aws s3 cp emptyfile s3://kamal-test-1 upload failed: ./emptyfile to s3://kamal-test-1/emptyfile seek() takes 2 positional arguments but 3 were given -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
** Also affects: awscli (Ubuntu Artful) Importance: High Assignee: Kamal Mostafa (kamalmostafa) Status: Confirmed ** Also affects: awscli (Ubuntu Zesty) Importance: Undecided Status: New ** Also affects: awscli (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: awscli (Ubuntu Yakkety) Importance: Undecided Status: New ** Changed in: awscli (Ubuntu Xenial) Status: New => Confirmed ** Changed in: awscli (Ubuntu Zesty) Status: New => Confirmed ** Changed in: awscli (Ubuntu Yakkety) Status: New => Confirmed ** Changed in: awscli (Ubuntu Xenial) Assignee: (unassigned) => Kamal Mostafa (kamalmostafa) ** Changed in: awscli (Ubuntu Yakkety) Assignee: (unassigned) => Kamal Mostafa (kamalmostafa) ** Changed in: awscli (Ubuntu Zesty) Assignee: (unassigned) => Kamal Mostafa (kamalmostafa) ** Changed in: awscli (Ubuntu Zesty) Importance: Undecided => High ** Changed in: awscli (Ubuntu Yakkety) Importance: Undecided => High ** Changed in: awscli (Ubuntu Xenial) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
** Changed in: awscli (Ubuntu) Status: New => Confirmed ** Changed in: awscli (Ubuntu) Importance: Undecided => High ** Changed in: awscli (Ubuntu) Assignee: (unassigned) => Kamal Mostafa (kamalmostafa) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1696800] Re: S3 upload of empty files fails
Thanks Lienhart for the report, I must admit I don't know the backgrounds what might have happened here in regard to the packaging that was referred to in the discussions of the issue you linked. Subscribing Kamal as he worked on the packaging to get his expertise on this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1696800 Title: S3 upload of empty files fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1696800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs