Rocky8.5 not supported to run DAOS in Docker images
Description
Attachments
- 04 Mar 2022, 08:44 AM
- 04 Mar 2022, 08:44 AM
is related to
Activity
Cedric Koch-Hofer October 19, 2022 at 1:50 PM
Should be reoponed if needed.
Ashley M Pittman April 19, 2022 at 1:04 PM
We’re running very few actual tests in github actions, and these are on Ubuntu, CentOS 7 and Alma, all of which are currently working. I fairly regularly run NLT in docker, and am using the el8 dockerfile and haven’t seen any issues. This is all NLT however, and a recent change has NLT set nr_hugepages to -1 which daos_server treats as “do not use” so a lot of code-paths that might be relevant to this bug are not taken.
Brian Murrell April 19, 2022 at 12:15 PM
If the CI team is using Rocky 8.5 (not just to build rpms) and the spdk library, I will be more than interested how they have fixed this.
I don’t think we are using Docker for anything except build. Maybe @Ashley M Pittman has better information about what we might be doing with Docker in GHA.
Cedric Koch-Hofer April 19, 2022 at 6:07 AMEdited
Sadly, the issue is still valid from my side. The issue happens when we want to use the spdk library. The issue seems to be related to the setup script of the spdk library which is not able to properly configure the huge pages with some linux distribution when run over a docker container. If the CI team is using Rocky 8.5 (not just to build rpms) and the spdk library, I will be more than interested how they have fixed this.
Kelsey Prantis April 18, 2022 at 4:04 PM
@Cedric Koch-Hofer Could you please confirm if this is no longer an issue then?
Docker image of Rocky8.5 distribution could not be used as base image for the DAOS docker virtual cluster. Indeed, when this first docker image is used the SPDK library could not be initialized by the engine. More details of the errors could be found in the attached log file.
Reproducer:
Create a vcluster following the docker.md QSG
Start the cluster with daos-cm.sh following the docker.md QSG
Workaround: Use Rocky8.4 as base docker image