Open ps-jay opened 6 years ago
Also, this is a problem in S3, as reported here: #3561
Actually, here is the fix: https://github.com/boto/boto/pull/3699 It just needs to be merged.
@ansibot Is there any commuity module available for ec2_vol? Getting same error for ec2_vol - TypeError: a bytes-like object is required, not 'str'
SUMMARY
When using the route53 module (as included by Ansible) on Python3 with:
... and I have proxies defined, then I experience a traceback
TypeError: a bytes-like object is required, not 'str'
.DETAIL
I have reported this in Ansible issue #44613, and it has been determined that this is a boto issue.
The stack trace is from the Ansible run, but it should be illustrative of the issue in boto:
Eventually we hit the issue when setting the proxy here:
Route53 is marked as Python3 compatible, but I understand that using proxies would be an edge-case not necessarily tested for.