Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-9373

hostname for model serving endpoint can be too long, causing the route to not be created

XMLWordPrintable

    • False
    • None
    • False
    • Testable
    • No
    • No
    • No
    • Pending
    • None

      Description of problem:

      Same issue as https://issues.redhat.com/browse/RHODS-6373 and https://issues.redhat.com/browse/RHODS-8921 , if the combined length of the project name and model name exceeds 63 characters, OCP will be unable to create the corresponding route for the inference endpoint (which takes the form of `<modelName>-<projectName>.xyz.foo.com`)

      Prerequisites (if any, like setup, operators/versions):

      any RHODS version with support for model serving

      Steps to Reproduce

      1. Create a DS Project
      2. Deploy a model through model serving (make sure model name + project name length > 63 characters)

      Actual results:

      The inference endpoint is not shown, and the route is not created

      Expected results:

      The user is prevented from creating a combination of project name + model name that breaks route creation, or some explicit feedback is given on what the issue is

      Reproducibility (Always/Intermittent/Only Once):

      always

      Build Details:

      Workaround:

      keep the combined length of the two names below 63 characters

      Additional info:

            Unassigned Unassigned
            rhn-support-lgiorgi Luca Giorgi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: