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

updates #11

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

updates #11

wants to merge 3 commits into from

Conversation

kkourt
Copy link
Collaborator

@kkourt kkourt commented Aug 26, 2022

See commits.

Depends on: cilium/little-vm-helper#10

Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
This allow us to define additional kernel-specific images which require
the kernel images so we would need to build them elsewhere.

Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
@markpash markpash mentioned this pull request Sep 8, 2022
kkourt added a commit that referenced this pull request Jul 30, 2024
This reverts commit a740009.

The problem seems to be that we don't have access to the network when
are running libguest tools. For example:
> #11 351.4 time="2024-07-26T13:04:42Z" level=warning msg="stderr> ntpdig: lookup of pool.ntp.org failed, errno -3 = Temporary failure in name resolution\n"

I can reproduce this locally. The problem seems to be that passt, which
is used for networking, cannot create a user namespace inside docker.

libguestfs: command: run: passt
libguestfs: command: run: \ --one-off
libguestfs: command: run: \ --socket /tmp/libguestfsPYvwlq/passt.sock
libguestfs: command: run: \ --pid /tmp/libguestfsPYvwlq/passt1.pid
libguestfs: command: run: \ --address 169.254.2.15
libguestfs: command: run: \ --netmask 16
libguestfs: command: run: \ --mac-addr 52:56:00:00:00:02
libguestfs: command: run: \ --gateway 169.254.2.2
Failed to send 47 bytes to syslog
Don't run as root. Changing to nobody...
Failed to send 55 bytes to syslog
No routable interface for IPv6: IPv6 is disabled
Failed to send 62 bytes to syslog
Couldn't create user namespace: Operation not permitted

The previous patch, however, AFAIU configures buildkit to run on the
host. Let's see if it works...
kkourt added a commit that referenced this pull request Jul 30, 2024
This reverts commit a740009.

The problem seems to be that we don't have access to the network when
are running libguest tools. For example:
> #11 351.4 time="2024-07-26T13:04:42Z" level=warning msg="stderr> ntpdig: lookup of pool.ntp.org failed, errno -3 = Temporary failure in name resolution\n"

I can reproduce this locally. The problem seems to be that passt, which
is used for networking, cannot create a user namespace inside docker.

libguestfs: command: run: passt
libguestfs: command: run: \ --one-off
libguestfs: command: run: \ --socket /tmp/libguestfsPYvwlq/passt.sock
libguestfs: command: run: \ --pid /tmp/libguestfsPYvwlq/passt1.pid
libguestfs: command: run: \ --address 169.254.2.15
libguestfs: command: run: \ --netmask 16
libguestfs: command: run: \ --mac-addr 52:56:00:00:00:02
libguestfs: command: run: \ --gateway 169.254.2.2
Failed to send 47 bytes to syslog
Don't run as root. Changing to nobody...
Failed to send 55 bytes to syslog
No routable interface for IPv6: IPv6 is disabled
Failed to send 62 bytes to syslog
Couldn't create user namespace: Operation not permitted

The previous patch, however, AFAIU configures buildkit to run on the
host. Let's see if it works...
kkourt added a commit that referenced this pull request Jul 30, 2024
This reverts commit a740009.

The problem seems to be that we don't have access to the network when
are running libguest tools. For example:
> #11 351.4 time="2024-07-26T13:04:42Z" level=warning msg="stderr> ntpdig: lookup of pool.ntp.org failed, errno -3 = Temporary failure in name resolution\n"

I can reproduce this locally. The problem seems to be that passt, which
is used for networking, cannot create a user namespace inside docker.

libguestfs: command: run: passt
libguestfs: command: run: \ --one-off
libguestfs: command: run: \ --socket /tmp/libguestfsPYvwlq/passt.sock
libguestfs: command: run: \ --pid /tmp/libguestfsPYvwlq/passt1.pid
libguestfs: command: run: \ --address 169.254.2.15
libguestfs: command: run: \ --netmask 16
libguestfs: command: run: \ --mac-addr 52:56:00:00:00:02
libguestfs: command: run: \ --gateway 169.254.2.2
Failed to send 47 bytes to syslog
Don't run as root. Changing to nobody...
Failed to send 55 bytes to syslog
No routable interface for IPv6: IPv6 is disabled
Failed to send 62 bytes to syslog
Couldn't create user namespace: Operation not permitted

The previous patch, however, AFAIU configures buildkit to run on the
host. Let's see if it works...

Signed-off-by: Kornilios Kourtis <kornilios@gmail.com>
kkourt added a commit that referenced this pull request Jul 30, 2024
The problem seems to be that we don't have access to the network when
are running libguest tools. For example:
> #11 351.4 time="2024-07-26T13:04:42Z" level=warning msg="stderr> ntpdig: lookup of pool.ntp.org failed, errno -3 = Temporary failure in name resolution\n"

After some local testing, it seems that the missing piece was installing
dhclient. :fingerscrossed:

Signed-off-by: Kornilios Kourtis <kornilios@gmail.com>
@kkourt kkourt mentioned this pull request Jul 30, 2024
kkourt added a commit that referenced this pull request Jul 31, 2024
The problem seems to be that we don't have access to the network when
are running libguest tools. For example:
> #11 351.4 time="2024-07-26T13:04:42Z" level=warning msg="stderr> ntpdig: lookup of pool.ntp.org failed, errno -3 = Temporary failure in name resolution\n"

After some local testing, it seems that the missing piece was installing
dhclient. :fingerscrossed:

Signed-off-by: Kornilios Kourtis <kornilios@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant