Uploaded image for project: 'Red Hat OpenShift AI Engineering'
  1. Red Hat OpenShift AI Engineering
  2. RHOAIENG-3378

Internal Image Registry is an undeclared hard dependency for Jupyter Notebooks Spawn process

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Deploy, Release Notes
    • No
    • Hide
      The internal, integrated container image registry in OpenShift [1] must be enabled in order to start RHOAI Notebooks and Workbenches. Attempts to start Nodebooks or Workbenches when the image registry is not enabled will fail with an "InvalidImageName" error.

      1: https://docs.openshift.com/container-platform/4.14/registry/index.html
      Show
      The internal, integrated container image registry in OpenShift [1] must be enabled in order to start RHOAI Notebooks and Workbenches. Attempts to start Nodebooks or Workbenches when the image registry is not enabled will fail with an "InvalidImageName" error. 1: https://docs.openshift.com/container-platform/4.14/registry/index.html
    • Known Issue
    • Done
    • No
    • Testable

      Regardless of the number of nodes in the cluster, and its network condition (connected or disconnected), the internal image registry must be configured in order to allow Jupyter Notebooks be spawned from RHOAI dashboard.

      If internal image registry is not configured, the following error will appear:

      Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 3m48s default-scheduler Successfully assigned rhods-notebooks/jupyter-nb-kube-3aadmin-0 to rnoriega-edge-sno.ogloknet.local Normal AddedInterface 3m48s multus Add eth0 [10.128.0.200/23] from ovn-kubernetes Normal Pulling 3m48s kubelet Pulling image "registry.redhat.io/openshift4/ose-oauth-proxy@sha256:4bef31eb993feb6f1096b51b4876c65a6fb1f4401fee97fa4f4542b6b7c9bc46" Normal Pulled 3m47s kubelet Successfully pulled image "registry.redhat.io/openshift4/ose-oauth-proxy@sha256:4bef31eb993feb6f1096b51b4876c65a6fb1f4401fee97fa4f4542b6b7c9bc46" in 586.573417ms (586.588447ms including waiting) Normal Created 3m46s
      kubelet Created container oauth-proxy Normal Started 3m46s kubelet Started container oauth-proxy Warning Failed 2m39s (x10 over 3m48s) kubelet Error: InvalidImageName Warning InspectFailed 2m25s (x11 over 3m48s) kubelet Failed to apply default image tag ":2023.2": couldn't parse image reference ":2023.2": invalid reference format

       

      It will happen with all available notebook images, even with custom ones.

      Some kind of dependency warning should be raised when spawning notebooks, plus documentation reference (unless this dependency has to be removed).

       

      After configuring the internal image registry, spawning jupyter notebooks work.
      https://docs.openshift.com/container-platform/4.9/registry/configuring-registry-operator.html

            Unassigned Unassigned
            rnoriega@redhat.com Ricardo Noriega De Soto
            RHOAI IDE
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: