-
Notifications
You must be signed in to change notification settings - Fork 49
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
ubuntu:latest networking doesn't seem to work #136
Comments
I just tested centos:latest and yum update -y worked fine. I believe this is just something to do with the new ubuntu images. |
Alpine seems to work also:
|
Could you show "ip addr" output? Could you ping any host via IP address only (exclude DNS issue)? |
@ad-m :( Sadly there are no net tools in the image, or ping :( . I think I can move over a binary from a different instance running 16:04 and see.... |
Looks like nothing :( |
@jasonbking from IRC stated the following:
|
@Smithx10 you should be able to use the native networking tools in A while back one of the cloud-init devs was working on some changes to cloud-init that were specific to lx. It could be something with that. I've not looked at how we normally plumb up networking for lx/docker, so it is quite possible that cloud-init is always out of the picture for lx networking. |
Yes, Looks like that is working. But the default behaviour of apt-get in the container isn't working. I'lll step through the newer versions from 16.04 and see when we hit the issue.
|
It seem's like this behaviour arrived in the docker image ubuntu:17.10 All the versions up until this ran apt-get update just fine.
|
So looking at this https://wiki.ubuntu.com/ArtfulAardvark/ReleaseNotes , it looks like there are a few things that stand out. Most likely being
@mgerdts I don't believe sdc-docker is using cloud-init... so the following probably doesn't apply... but I will note it here for easier reference.
|
While checking the docker-init process... the interface is definitely being plumbed correctly on the illumos side.... I don't see any issues.... and the fact that /native/ tools can route packets means this is most likely a ubuntu userspace issue.... probably DNS, if I had to guess. Log from 17.10
|
Look's like this may effect more than just Triton... |
For the record.... debian:latest is working just fine. So I believe this is only an ubuntu thing. [Mon 19/01/07 22:04 EST][pts/0][x86_64/linux-gnu/4.19.2-arch1-1-ARCH][5.6.2] |
Don't know if this is related or unrelated but andyf in irc mentioned the following issue in omnios. |
Just to state the obvious (for the search engine); this issue currently applies to 18.04 as well. |
It seems that DNS is broken inside the zone for the ubuntu tools. For a workaround, I hard coded the apt ip addresses:
which allowed
Native DNS is working correctly inside the zone:
Even if I run ldconfig, it crashes:
So it seems some internal library (or libraries) like |
Tim Classic from IRC ran into this issue in his NixOS and suggested to try the following. @tim:stoo.org Smithx10: Does it work if you put After doing this, DNS resolution worked. This should probably help pin point the issue. |
It's been a while since I figured this out, but IIRC the problem was IPv6-related, and I think |
These changes (committed to OmniOS) may well fix this issue: |
omniosorg/illumos-omnios#443 looks promising! Interestingly, I recently dug through my own deployment code and found that I left myself the following comment in a # The single-request option works around the lack of sendmmsg() syscall
# support in SmartOS's lx-brand ABI emulation--otherwise, getaddrinfo()
# would try to use it.
options single-request timeout:2 attempts:2 ndots:2 My apologies for not finding this the last time I commented here. |
I've opened OS-7754 to track this in Jira. |
Hi guys, Is there a fix to this problem? |
While attempting to use the ubuntu:latest docker image the following doesnt work. I believe something in the networking does not work. 16:04 does work.
The text was updated successfully, but these errors were encountered: