Project

General

Profile

Actions

action #129961

closed

podman_netavark fails in SLE Micro 5.1 with SELinux enabled

Added by jlausuch about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
Start date:
2023-05-28
Due date:
% Done:

100%

Estimated time:
Tags:

Description

The test fails when doing curl to port 80 of the apache container:

It only fails in this combination, in SLE Micro 5.3 for instance, this same thing works ok. Same for openSUSE MicroOS/TW.

The issue is when running the httpd container.
podman run --network simple:ip=10.90.0.8,mac=76:22:33:44:55:66 -d --name apache_ctr 3.71.98.16:5000/library/httpd
In normal cases, the container is started and you can curl and so, but in SLE Micro 5.1, after running this command, the container is stopped:

# podman run --network simple:ip=10.90.0.8,mac=76:22:33:44:55:66 -d --name apache_ctr 3.71.98.16:5000/library/httpd; echo SpNdV-$?-
Trying to pull 3.71.98.16:5000/library/httpd:latest...
Getting image source signatures
Copying blob 49d8a68fd903 [--------------------------------------] 0.0b / 299.0b (skipped: 0.0b = 0.00%)
...
WARN[0004] Path "/etc/SUSEConnect" from "/etc/containers/mounts.conf" doesn't exist, skipping 
6377172b89981a3f0099260f7cf0c9e3e79c4a64ed45b19031e386681e61ae67

# podman container inspect apache_ctr --format {{.NetworkSettings.Networks.simple.IPAddress}}; echo 8M2l2-$?-
10.90.0.8

# podman ps --all
CONTAINER ID  IMAGE                                 COMMAND           CREATED       STATUS                             PORTS       NAMES
6377172b8998  3.71.98.16:5000/library/httpd:latest  httpd-foreground  1 second ago  Exited (1) Less than a second ago              apache_ctr

Related issues 2 (0 open2 closed)

Related to Containers - action #129910: New podman_netavark test fails everywhere in aarch64 and s390xResolvedjlausuch2023-05-26

Actions
Related to Containers - action #124631: Usage of netavark and aardvark in podman networksResolvedmloviska2023-02-15

Actions
Actions

Also available in: Atom PDF