opendatahub-io / notebooks

Notebook images for ODH
Apache License 2.0
15 stars 51 forks source link

The 9.4 rhel version is not available on intel repository #520

Closed atheo89 closed 2 months ago

atheo89 commented 2 months ago

What steps did you take and what happened: [A clear and concise description of what the bug is.]

The intel-base-gpu-ubi9-python-3.9 image build is failing on OCP-CI with the following error:

Adding repo from: https://repositories.intel.com/gpu/rhel/9.4/lts/2350/unified/intel-gpu-9.4.repo
Status code: 403 for https://repositories.intel.com/gpu/rhel/9.4/lts/2350/unified/intel-gpu-9.4.repo (IP: 18.239.225.69)
push_pin
Error: Configuration of repo failed
error: build error: building at STEP "RUN . /etc/os-release &&     dnf install -y 'dnf-command(config-manager)' &&     dnf config-manager --add-repo         https://repositories.intel.com/gpu/rhel/${VERSION_ID}/lts/2350/unified/intel-gpu-${VERSION_ID}.repo  &&     dnf install -y         intel-opencl         level-zero intel-level-zero-gpu level-zero-devel         intel-metrics-discovery         intel-metrics-library  &&     dnf clean all -y &&     rm -rf /var/cache/dnf/*": while running runtime: exit status 1

Ref link

This bug was discovered during the end-to-end tests running on the open pull requests.

What did you expect to happen:

To be executed without issues

Anything else you would like to add:

A temporary solution until these binaries included on the 9.4 version is to specify the $VERSION_ID to 9.3 inside https://github.com/opendatahub-io/notebooks/blob/main/intel/base/gpu/ubi9-python-3.9/Dockerfile#L20

harshad16 commented 2 months ago

This is already worked on https://github.com/opendatahub-io/notebooks/pull/519 Closing the issue