[bug] Issues mounting extended disk in ppc64
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, gitlab, shell
- Domain
- ci-cd, infrastructure, networking
Research direction
Start with install-glrunner.sh and locate the generator for executor-containers.conf and the config.toml [runners.docker] section. Review how region-specific DNS values are selected, then validate the subnet, DNS, network mode, and MTU changes with concurrent nested podman jobs on the ppc64le runners; done means those jobs complete without DNS or routing failures.
Written by the indexing model from the issue text.
Description
mapt issue: ibm-power: fix podman networking for nested containers in GitLab runner builds
Background
The install-glrunner.sh script configures podman networking for the IBM Power (ppc64le)
GitLab runners. Several configuration bugs cause DNS failures inside build containers,
particularly in jobs that run nested podman run calls from within the gitlab-runner build
container (e.g. bootstrap_and_onboard.sh pattern).
Issues found
1. executor-containers.conf — wrong default_subnet causes routing conflict
File: whatever generates executor-containers.conf (mounted into build containers as
/etc/containers/containers.conf:ro)
The file currently sets:
[network]
default_subnet = "192.168.100.0/24"
With network_mode = "podman" in config.toml (see issue 3 below), all gitlab-runner build
containers are attached to the host's podman network at 192.168.100.0/24. When a build
container's job script runs a nested podman run, podman inside the build container reads
this containers.conf and tries to create a bridge at 192.168.100.1/24 inside the build
container's network namespace — the same subnet as the build container's own eth0.
This creates a conflicting route inside the build container, breaking all outbound traffic
from nested containers including DNS.
Fix: use a subnet that does not conflict with the host's podman network:
[network]
default_subnet = "172.20.0.0/24"
2. executor-containers.conf — no public DNS fallback
The file only lists IT-internal DNS resolvers:
dns_servers = ["10.130.98.132", "10.130.98.5", "10.130.98.69"]
dns_options = ["timeout:2", "attempts:5", "single-request"]
If the internal resolvers are temporarily unreachable (VPN/TGW hiccup), DNS fails
completely in nested containers with no fallback. attempts:5 also makes the worst-case
timeout 30 seconds before failure.
Fix:
dns_servers = ["10.130.98.132", "10.130.98.5", "10.130.98.69", "8.8.8.8"]
dns_options = ["timeout:2", "attempts:3", "single-request"]
3. config.toml — missing network_mode causes concurrent bridge race condition
With concurrent = 2, gitlab-runner creates two per-job bridge networks simultaneously.
The second bridge's nftables masquerade rules may not be applied before its containers
start sending traffic, causing intermittent DNS timeouts under concurrent load.
Fix: add to the [runners.docker] section:
network_mode = "podman"
This makes all job containers share the existing host podman network instead of creating
per-job bridges, eliminating the race condition entirely.
4. config.toml — missing explicit DNS for build containers
Without dns = in config.toml, gitlab-runner passes an empty DNS list via the Docker API,
which may override the host's containers.conf dns_servers setting for build containers.
Fix: add to [runners.docker]:
dns = ["10.130.98.132", "10.130.98.5", "10.130.98.69", "8.8.8.8"]
5. config.toml — missing MTU setting
PowerVS network interfaces have an MTU of 1450 (lower than the default 1500). Without
setting this, large packets (e.g. during image pulls) may be silently dropped.
Fix: add to [runners.docker]:
network_mtu = 1450
Required final configuration
executor-containers.conf
[containers]
log_driver = "journald"
pids_limit = -1
dns_servers = ["10.130.98.132", "10.130.98.5", "10.130.98.69", "8.8.8.8"]
dns_options = ["timeout:2", "attempts:3", "single-request"]
[network]
default_subnet = "172.20.0.0/24"
config.toml — [runners.docker] section
[runners.docker]
host = "unix:///run/podman/podman.sock"
privileged = true
network_mode = "podman"
network_mtu = 1450
dns = ["10.130.98.132", "10.130.98.5", "10.130.98.69", "8.8.8.8"]
volumes = ["/etc/containers/executor-containers.conf:/etc/containers/containers.conf:ro", "/cache"]
Notes
-
The IT DNS resolvers (
10.130.98.x) above are forus-south. Other regions use
different addresses — the install script should parameterise these per region:Region DNS resolvers us-east 10.130.64.4, 10.130.64.70, 10.130.64.134 us-south 10.130.98.5, 10.130.98.69, 10.130.98.132 eu-de 10.130.128.5, 10.130.128.69, 10.130.128.133 lon 10.130.129.4, 10.130.129.68, 10.130.129.132 -
The
172.20.0.0/24subnet forexecutor-containers.confmust not conflict with the
host's podman network (192.168.100.0/24), the PowerVS subnet, or the10.0.0.0/8
internal route. -
All fixes were validated on live
dal14ppc64le runners (aipcc-pro-gl-ppc64le-1..4).
Post-fix jobs ran successfully including nestedpodman runworkloads
(bootstrap-and-onboardjobs across all 4 runners, 2 confirmed successe
- Dominant language
- Go
- Stars
- 26
- Forks
- 41
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 27
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from redhat-developer/mapt
-
kind: v0.14.7 control-plane readiness block reads the wrong kubeconfig path (provision always fails)Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
redhat-developer/mapt#997 ·
Maintainers usually reply within 3 days
-
Host/username secret values contain trailing newlines, sanitization fix breaks SSH keyMay be free again @abdulazeem-tk4vr claimed this 167 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
redhat-developer/mapt#817 · 12 comments ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
redhat-developer/mapt#991 ·
Maintainers usually reply within 3 days
-
enhancement provider/AWS provider/IBMCLOUD target/openshift-snc
Difficulty 4/5 3-5 days Newbie friendliness 57/100
redhat-developer/mapt#990 ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
redhat-developer/mapt#974 ·
Maintainers usually reply within 3 days
All issues in redhat-developer/mapt
Similar issues
-
effort:s impact:low raised-by:reviewer risk:low
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
medici-finance/assay#8050 · 1 comment ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
factory:subtask
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
enhancement needs-triage service/licensemanager
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hashicorp/terraform-provider-aws#51503 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100