Bug ID 1226210
Summary Container builds - separation of build environment and container content packages
Classification Internal Novell Products
Product openSUSE Build Service
Version master
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component build process
Assignee mls@suse.com
Reporter kkaempf@suse.com
QA Contact adrian.schroeter@suse.com
Target Milestone ---
Found By ---
Blocker ---

With the Elemental project, we build installable images as containers, esp.
including a kernel package.

This repeatedly leads to problems within the build service when setting up the
build environment, as it does not properly separate "kernel used for build
environment" from "kernel to be install _in_ the container"

Example: https://suse.slack.com/archives/C02BXKBMXNV/p1718181303880799

Typical error message

"[   59s] time="2024-06-11T17:06:13.281952797Z" level=warning msg="Running
modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module
bridge not found in directory /usr/lib/modules/6.9.3-1-default\nmodprobe:
WARNING: Module br_netfilter not found in directory
/usr/lib/modules/6.9.3-1-default\n, error: exit status 1"
[   59s] failed to start daemon: Error initializing network controller: error
obtaining controller instance: failed to register "bridge" driver: failed to
create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: modprobe:
FATAL: Module ip_tables not found in directory /usr/lib/modules/6.9.3-1-default
[   59s] iptables v1.8.10 (legacy): can't initialize iptables table `nat':
Table does not exist (do you need to insmod?)
[   59s] Perhaps iptables or your kernel needs to be upgraded.
[   59s]  (exit status 3)
[   69s] Docker is dead"


You are receiving this mail because: