Skip to content

gsc build fails for redhat distro #242

@uwe-albert-ibm

Description

@uwe-albert-ibm

we are calling "gsc build " using configuration "Distro:auto" (since "Distro:redat/ubi9.4" failed) and gsc fails with the error:

Downloading metadata...
error: cannot update repo 'rhel-9-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Curl error (60): SSL peer certificate or SSH remote key was not OK for https://cdn.redhat.com/customer/Library/content/dist/rhel9/9/x86_64/baseos/os/repodata/repomd.xml [SSL certificate problem: self-signed certificate in certificate chain]

(here is full log
Building unsigned graminized Docker image gsc-idbroker-nevisauth-unsigned from original application image idbroker-nevisauth...
Warning: Duplicate key loader.env.PATH. Concatenating values from <merged ./manifest.properties and redhat/ubi-minimal/entrypoint.manifest.template> and <idbroker-nevisauth image env>.
Step 1/30 : FROM redhat/ubi9-minimal:9.6 AS gramine

---> e43c1a24fb37
Step 2/30 : COPY redhat.repo /etc/yum.repos.d/

---> ea5155221acc
Step 3/30 : COPY pki/entitlement/ /etc/pki/entitlement/

---> c5a9e2467396
Step 4/30 : COPY redhat-uep.pem /etc/rhsm/ca/

---> afdea01efec8
Step 5/30 : RUN rm -rf /etc/rhsm-host && microdnf install -y subscription-manager && rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms && microdnf install -y autoconf bison cmake elfutils-libelf-devel flex gawk gcc-c++ git httpd kernel-headers libevent-devel make nasm ncurses-devel ninja-build openssl-devel patch pkg-config protobuf-c-compiler protobuf-c-devel protobuf-compiler protobuf-devel python3 python3-cryptography python3-pip python3-protobuf python3-voluptuous rpm-build && /usr/bin/python3 -B -m pip install 'tomli>=1.1.0' 'tomli-w>=0.4.0' 'meson>=0.56,!=1.2.*'

---> Running in 7f4c9e7b66ff
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
error: cannot update repo 'rhel-9-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Curl error (60): SSL peer certificate or SSH remote key was not OK for https://cdn.redhat.com/customer/Library/content/dist/rhel9/9/x86_64/baseos/os/repodata/repomd.xml [SSL certificate problem: self-signed certificate in certificate chain]

Failed to build unsigned graminized Docker image gsc-idbroker-nevisauth-unsigned.
)

Can you please help us ?
Many thanks in advance !

Uwe Albert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions