Skip to content

[BUG] Unable to build compute image with image-build:v0.1.2 on the aarch64 node #45

@balajikumaran-c-s

Description

@balajikumaran-c-s

Describe the bug
Unable to build compute image using image-build:v0.1.2 on the aarch64 node. The build fails during package installation and exits with a non-zero status. [ERROR - warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.]

To Reproduce
Steps to reproduce the behavior:
. Run the following command on an aarch64 node:
podman run --rm --device /dev/fuse --network host -e S3_ACCESS=admin -e S3_SECRET=Dell1234
--user 0 --privileged
-v /omnia/omnia/pulp/settings/certs/pulp_webserver.crt:/etc/pki/ca-trust/source/anchors/pulp_webserver.crt:z
-v /omnia/omnia/openchami/workdir/images/rhel-slurm_node_aarch64-10.0.yaml:/home/builder/config.yaml:z
--entrypoint /bin/bash ghcr.io/openchami/image-build:v0.1.2
-c "update-ca-trust extract && image-build --config /home/builder/config.yaml --log-level DEBUG"

Expected behavior
The compute image should build successfully using image-build without errors.

Screenshots

Image Image

Desktop (please complete the following information):

  • OS: Rhel10_aarch64

Additional context
I cloned the GitHub repository for the image builder and built the image locally using podman build. Using this locally built image, I am able to build the compute image successfully without any errors. However, when I pull the pre-built image directly from ghcr.io, the build fails with below error
ERROR - warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.

PFA for reference:
working_image output:
custom_ochami.out.txt

error_image_output
ochami_image.error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions