-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module fails with TypeError: a bytes-like object is required, not 'str' #332
Comments
Files identified in the description: If these files are inaccurate, please update the |
The latest version of the collection includes a migration of ec2_vol to boto3 instead of boto. Please would you try version 1.4.0 of the collection. |
Files identified in the description:
If these files are inaccurate, please update the |
Upgrading to the latest ansible version 3.2.0 resolved the issue. Thanks |
ec2_eip tagging support SUMMARY Add support for tagging EIPs on creation. Todo: EIP Tagging Tests Retry decorator Note: While it's now possible to pass tagging information into the association call this was only added Dec 2020 so won't work for most folks. ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_eip ec2_eip_info ADDITIONAL INFORMATION fixes: ansible-collections#331 Reviewed-by: Rick Mendes <None> Reviewed-by: None <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@02836f3
ec2_eip tagging support SUMMARY Add support for tagging EIPs on creation. Todo: EIP Tagging Tests Retry decorator Note: While it's now possible to pass tagging information into the association call this was only added Dec 2020 so won't work for most folks. ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_eip ec2_eip_info ADDITIONAL INFORMATION fixes: ansible-collections#331 Reviewed-by: Rick Mendes <None> Reviewed-by: None <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@02836f3
ec2_eip tagging support SUMMARY Add support for tagging EIPs on creation. Todo: EIP Tagging Tests Retry decorator Note: While it's now possible to pass tagging information into the association call this was only added Dec 2020 so won't work for most folks. ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_eip ec2_eip_info ADDITIONAL INFORMATION fixes: ansible-collections#331 Reviewed-by: Rick Mendes <None> Reviewed-by: None <None>
ec2_eip tagging support SUMMARY Add support for tagging EIPs on creation. Todo: EIP Tagging Tests Retry decorator Note: While it's now possible to pass tagging information into the association call this was only added Dec 2020 so won't work for most folks. ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_eip ec2_eip_info ADDITIONAL INFORMATION fixes: ansible-collections#331 Reviewed-by: Rick Mendes <None> Reviewed-by: None <None>
ec2_eip tagging support SUMMARY Add support for tagging EIPs on creation. Todo: EIP Tagging Tests Retry decorator Note: While it's now possible to pass tagging information into the association call this was only added Dec 2020 so won't work for most folks. ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_eip ec2_eip_info ADDITIONAL INFORMATION fixes: ansible-collections#331 Reviewed-by: Rick Mendes <None> Reviewed-by: None <None>
SUMMARY
This issue is there for 2-3 years now I guess. There is an issue with Boto "connection.py" for SSL Proxy with string headers (suppose to be encoded). As "amazon.aws" uses boto and not boto3 (like community.aws) so its fails in env where SSL Proxy enabled.
Refer below issue links.
ansible-collections/community.aws#313
boto/boto#3699
boto/boto#2718
ISSUE TYPE
COMPONENT NAME
ec2_vol
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
RedHat UBI image for Docker "Linux 83b33a6a8c4c 4.18.0-240.15.1.el8_3.x86_64" running ansible 2.10
STEPS TO REPRODUCE
EXPECTED RESULTS
Volume attached
ACTUAL RESULTS
Module failing to connect via proxy with below message.
The text was updated successfully, but these errors were encountered: