Skip to content
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

Can't run awx on ipv6 only host #572

Closed
ruben-herold opened this issue Nov 3, 2017 · 2 comments
Closed

Can't run awx on ipv6 only host #572

ruben-herold opened this issue Nov 3, 2017 · 2 comments

Comments

@ruben-herold
Copy link

ruben-herold commented Nov 3, 2017

hi,

I ask already in #504 if you have an installation method without containers. Now I have test an installation on an testhost.

Unfortunately our complete network is ipv6 only and uses nat64 for ipv4 connectivity. After running your installation I have some docker container running and can access the frontend via http.

But If I try to exec some jobs or get connectivity to some external hosts it failes. Cause it don't use the host dns servers configured on host (they are doing DNS64) / or try to connect via ipv4 and nat. But the host server has no ipv4 enabled, cause here is no ipv4.

How can I install it with native manual configured ipv6 addresses and custom dns servers for each container? Sorry ipv4 is dead...

@ruben-herold
Copy link
Author

Hi,

found a solution, seems it is a docker problem:

  1. you must activate ipv6 in docker (default off)

  2. you must give the network a fixed-cidr-v6 (Link local only don'T start...) see:
    17.04 / 17.05: The disappearance of the link-local & loopback ipv6 addresses moby/moby#33099

  3. configure nat / MASQUERADE on host for ipv6.

you can find information about it in :
https://docs.docker.com/engine/userguide/networking/default_network/ipv6/

You could also use routeable ip space but I'm not shure that the containers have propper secuirty settings for that...

@matburt
Copy link
Member

matburt commented Nov 6, 2017

Next time please fill out the issue template

@matburt matburt closed this as completed Nov 6, 2017
matburt pushed a commit to matburt/awx that referenced this issue Nov 16, 2017
add some useful tools for isolated connectivity debugging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants