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
Ansible-galaxy (galaxy.ansible.com) is not usable for ipv6-only hosts #3002
Comments
IPv6 is enabled just fine on that endpoint on AWS - all that's needed is for them to modify the redirect. If they make their server forward to No need for any change on Amazon's side, the Ansible Galaxy team would just need to modify the redirect location. |
Just ran into this today, wild it's still not fixed. Simple DNS update |
@mkrizek Who can make the appropriate change to have this fixed? |
This was also filed as https://issues.redhat.com/browse/AAH-1873.
|
I am guessing this and the redhat issue can be closed now. |
Confirmed pulling However when trying a role, specifically
It isn't to say the IPv6 Galaxy doesn't work, it's just to point out that I think that will likely trip some people up thinking it's Galaxy when it's really GitHub I would agree with @miyurusankalpa that this issue/RedHat issue has been addressed though. |
x-mas miracle ;) |
Bug Report
On IPV6 only hosts, requests can be made to galaxy.ansible.com, for example to download a collection:
curl -v https://galaxy.ansible.com/download/ansible-posix-1.4.0.tar.gz
This results in a redirect to s3, to download the actual package:
< location: https://ansible-galaxy.s3.amazonaws.com/artifact/00/c58351eaee9c3697dcc4f8e23d1cfe4081314b1e142867d73de8d16e5cd5bb?response-content-disposition=attachment%3B%20filename%3Dansible-posix-1.4.0.tar.gz&AWSAccessKeyId=AKIAJZZ23S6M5JUH2EOA&Signature=oNNvhpfvUJb5gpNOzSznibKviEM%3D&Expires=1663257104
However, this s3-bucket is not configured to be available over ipv6:
$ host -t aaaa ansible-galaxy.s3.amazonaws.com
ansible-galaxy.s3.amazonaws.com is an alias for s3-1-w.amazonaws.com.
s3-1-w.amazonaws.com is an alias for s3-w.us-east-1.amazonaws.com.
$ host ansible-galaxy.s3.amazonaws.com
ansible-galaxy.s3.amazonaws.com is an alias for s3-1-w.amazonaws.com.
s3-1-w.amazonaws.com is an alias for s3-w.us-east-1.amazonaws.com.
s3-w.us-east-1.amazonaws.com has address 52.217.160.17
This in effect makes it impossible to download collections on ipv6-only hosts, unless they can use some proxy to connect to the ipv4 internet.
I'm quite sure amazon/s3 supports ipv6, but it seems it's not configured/enabled for the s3-buckets used by galaxy.
The text was updated successfully, but these errors were encountered: