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

update: root images #604

Merged
merged 2 commits into from
Jul 31, 2024
Merged

update: root images #604

merged 2 commits into from
Jul 31, 2024

Conversation

kkourt
Copy link
Collaborator

@kkourt kkourt commented 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. 🤞🏼

kkourt and others added 2 commits July 30, 2024 23:13
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 <[email protected]>
X-GHA-TAG: 20240730.211420
Copy link

👋
Here are the kernel versions for the images:

Image kernel version
quay.io/lvh-images/kind-ci:6.1-20240730.211420-amd64 6.1.102
quay.io/lvh-images/kind-ci:rhel8-20240730.211420-amd64 4.18.0
quay.io/lvh-images/kind-ci:4.19-20240730.211420-amd64 4.19.319
quay.io/lvh-images/kind-ci:bpf-next-20240730.211420-amd64 6.10.0-g1cbe8143fd2f
quay.io/lvh-images/kind-ci:6.6-20240730.211420-amd64 6.6.43
quay.io/lvh-images/kind-ci:bpf-20240730.211420-amd64 6.10.0-g7764b9622db4
quay.io/lvh-images/kind-ci:5.15-20240730.211420-amd64 5.15.164
quay.io/lvh-images/kind-ci:5.10-20240730.211420-amd64 5.10.223
quay.io/lvh-images/kind-ci:5.4-20240730.211420-amd64 5.4.281

Copy link

👋
Here are the kernel versions for the images:

Image kernel version
quay.io/lvh-images/kind-ci:bpf-20240730.211420-arm64 6.10.0-g7764b9622db4
quay.io/lvh-images/kind-ci:6.1-20240730.211420-arm64 6.1.102
quay.io/lvh-images/kind-ci:bpf-next-20240730.211420-arm64 6.10.0-g1cbe8143fd2f
quay.io/lvh-images/kind-ci:4.19-20240730.211420-arm64 4.19.319
quay.io/lvh-images/kind-ci:5.10-20240730.211420-arm64 5.10.223
quay.io/lvh-images/kind-ci:5.4-20240730.211420-arm64 5.4.281
quay.io/lvh-images/kind-ci:5.15-20240730.211420-arm64 5.15.164
quay.io/lvh-images/kind-ci:6.6-20240730.211420-arm64 6.6.43

@kkourt kkourt merged commit 46cf954 into main Jul 31, 2024
1 check passed
@kkourt kkourt deleted the pr/kkourt/lvhi-root branch July 31, 2024 05:23
kkourt added a commit to cilium/tetragon that referenced this pull request Oct 16, 2024
All tests are failing with:
 time="2024-10-15T15:35:54Z" level=warning msg="stderr> virt-customize: error: libguestfs error: passt exited with status 1\n"
time="2024-10-15T15:35:54Z" level=warning msg="stderr> \n"
time="2024-10-15T15:35:54Z" level=warning msg="stderr> If reporting bugs, run virt-customize with debugging enabled and include the complete output:\n"
time="2024-10-15T15:35:54Z" level=warning msg="stderr> \n"
time="2024-10-15T15:35:54Z" level=warning msg="stderr>   virt-customize -v -x [...]\n"
time="2024-10-15T15:35:54Z" level=error msg="error executing command" error="exit status 1" image=tetragon.qcow2
time="2024-10-15T15:35:54Z" level=warning msg="image file 'tests/vmtests/test-data/images/tetragon.qcow2' not deleted so that it can be inspected"
time="2024-10-15T15:35:54Z" level=warning msg="image build failed" image=tetragon.qcow2 queue= result="{Error:exit status 1 CachedImageUsed:false CachedImageDeleted:}"
Error: images errors:tetragon.qcow2: exit status 1

A potential culprit is missing dhclient (see
cilium/little-vm-helper-images#604).

Signed-off-by: Kornilios Kourtis <[email protected]>
kkourt added a commit to cilium/tetragon that referenced this pull request Oct 16, 2024
All tests are failing with:
 time="2024-10-15T15:35:54Z" level=warning msg="stderr> virt-customize: error: libguestfs error: passt exited with status 1\n"
time="2024-10-15T15:35:54Z" level=warning msg="stderr> \n"
time="2024-10-15T15:35:54Z" level=warning msg="stderr> If reporting bugs, run virt-customize with debugging enabled and include the complete output:\n"
time="2024-10-15T15:35:54Z" level=warning msg="stderr> \n"
time="2024-10-15T15:35:54Z" level=warning msg="stderr>   virt-customize -v -x [...]\n"
time="2024-10-15T15:35:54Z" level=error msg="error executing command" error="exit status 1" image=tetragon.qcow2
time="2024-10-15T15:35:54Z" level=warning msg="image file 'tests/vmtests/test-data/images/tetragon.qcow2' not deleted so that it can be inspected"
time="2024-10-15T15:35:54Z" level=warning msg="image build failed" image=tetragon.qcow2 queue= result="{Error:exit status 1 CachedImageUsed:false CachedImageDeleted:}"
Error: images errors:tetragon.qcow2: exit status 1

A potential culprit is missing dhclient (see
cilium/little-vm-helper-images#604).

Signed-off-by: Kornilios Kourtis <[email protected]>
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