Project

General

Profile

Actions

action #162635

open

[manual-testing] validate opensuse httpd's image

Added by mloviska 10 days ago. Updated 5 days ago.

Status:
Feedback
Priority:
High
Assignee:
Target version:
-
Start date:
2024-06-20
Due date:
% Done:

0%

Estimated time:

Description

As a QA engineer, I would like to reach a point that we use more of our own artefacts rather than pulling images from outside.

We should validate nginx image available in registry.opensuse.org/opensuse/httpd:latest. Ideally, take notes for further automated testing and file bug reports if needed.

For a test scenario inspiration, please have a look at official docs [1]

[1] https://hub.docker.com/_/httpd

Acceptance criteria

1) Container can be easily started
2) Works with ipv4 and ipv6
3) Exports/publishes ports
4) Customization


Related issues 1 (0 open1 closed)

Related to Containers - action #162623: test fails in podman_netavarkResolvedmloviska2024-06-20

Actions
Actions #2

Updated by mloviska 10 days ago

Actions #3

Updated by rbranco 10 days ago

  • Status changed from Workable to In Progress
  • Assignee set to rbranco
Actions #4

Updated by rbranco 10 days ago

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.178.150. Set the 'ServerName' directive globally to suppress this message
(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log
AH00014: Configuration check failed
[ricardo@fedora ~]$ podman rm -vf we

Actions #5

Updated by rbranco 5 days ago

registry.opensuse.org/opensuse/httpd fails with:

(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log
AH00014: Configuration check failed

I have to mount an empty dir like this: -v $PWD/empty:/var/log/apache2

Actions #6

Updated by rbranco 5 days ago

This image is problematic and is not maintained by BCI, unlike nginx. Both images are not customized to be container-native but rather reflect the SLES configuration, so IPv6 is turned off by default.

https://suse.slack.com/archives/C02AF8LALDA/p1719312099642439

Actions #7

Updated by rbranco 5 days ago

  • Status changed from In Progress to Feedback
Actions #8

Updated by rbranco 5 days ago

  • nginx image is maintained by BCI, unlike httpd: https://suse.slack.com/archives/C02AF8LALDA/p1719312099642439
  • Neither image is customized to be container-native, not deviating from the respective RPM configuration.
  • As a consequence of the above, neither image comes with IPv6 enabled by default.
  • I find nginx easier to work with as it only needs nginx.conf mounted as a volume. httpd has a potential bug of /var/log/apache2 not being present. The only workaround is passing an empty dir as volume mounted to this directory.
Actions

Also available in: Atom PDF