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

[DOC] Pipeline server fails since DS connection allowed empty/invalid bucket name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • RHODS_1.31.0_GA, RHODS_1.34.0_GA
    • None
    • False
    • None
    • False
    • Testable
    • No
    • No
    • No
    • Pending
    • None
    • Medium

      Description of problem:

      When creating DS project with an empty bucket name, there is no warning or input validation so that the user must enter a bucket name. Later when trying to create a new DS pipeline server, the pod fails with CrashLoopBackOff due to "Error: Bucket name cannot be empty".

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

      RHODS 1.31

      Steps to Reproduce

      1. Create DS Project
      2. Add new Data Connection without specifying a Bucket name
      3. Create new DS Pipeline Server

      Actual results:

      I0822 11:07:34.619465 1 client_manager.go:160] Initializing client manager
      I0822 11:07:34.619535 1 config.go:74] Config DBConfig.ExtraParams not specified, skipping
      F0822 11:07:34.697486 1 client_manager.go:411] Failed to check if Minio bucket exists. Error: Bucket name cannot be empty

       

      If creating a bucket name with spaces (e.g "my bucket") it will also fail on CrashLoopBackOff, with error: 

      I0822 11:41:01.548443 1 client_manager.go:160] Initializing client manager
      I0822 11:41:01.548540 1 config.go:74] Config DBConfig.ExtraParams not specified, skipping
      F0822 11:41:01.622001 1 client_manager.go:411] Failed to check if Minio bucket exists. Error: Bucket name contains invalid characters

      Expected results:

      Bucket name should not be empty or with invalid characters (e.g. spaces).

      This should be restricted in the Data connection creation dialog, by adding input validation to the "Bucket" field.

      More over, an actual Bucket should already exists (e.g "ods-ci-s3"), and this is not clear enough. Can you change the field to "Existing Bucket Name" ?

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Workaround:

      Additional info:

              bmccolga@redhat.com Breda McColgan
              nmanos@redhat.com Noam Manos
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: