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

[DSG] S3 data connection overwrites previously S3 data connection if present (partial fix)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • RHODS_1.20.0_GA
    • RHODS_1.19.0_GA
    • UI
    • None
    • False
    • None
    • False
    • Hide

      only one data connection allowed in to be attached to a workbench

       

      Show
      only one data connection allowed in to be attached to a workbench  
    • Testable
    • No
    • 1.20.0-z
    • No
    • Hide
      == Data connection configuration details were overwritten
      When a data connection was added to a workbench, the configuration details for that data connection were saved in environment variables. When a second data connection was added, the configuration details are saved using the same environment variables, which meant the configuration for the first data connection was overwritten. At the moment, users can add a maximum of one data connection to each workbench.
      Show
      == Data connection configuration details were overwritten When a data connection was added to a workbench, the configuration details for that data connection were saved in environment variables. When a second data connection was added, the configuration details are saved using the same environment variables, which meant the configuration for the first data connection was overwritten. At the moment, users can add a maximum of one data connection to each workbench.
    • Known Issue
    • Done
    • No
    • Yes
    • None
    • RHODS 1.20

    Description

      Description of problem:

      If user adds more than one S3 data connection to the same workbench, only the latest attached would be useable. It is happening because every S3 data connection the user adds will overwrite the same env variables in the workbench

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

      Create a Data science project

      Create a workbench in the DS project

      Steps to Reproduce

      1. go to RHODS Dashboard > Data Science Projects
      2. enter your project
      3. create two S3 data connections
      4. attach both the data connections to the same workbench
      5. check the S3 secrets from the jupyter notebook

      Actual results:

      the S3 values stored in the env variables are the ones belonging to the second data connection

      Expected results:

      TBD 

      example of solutions:

      • using  some data structure like python dictionary in bash?
      • inform user that only one S3 conenction can be added?
      • ...

      Reproducibility (Always/Intermittent/Only Once):

      Awlays

      Build Details:

      tested using local deployment of dashboard. The same changes should be in build v1.19.0-3. I will check

      Workaround:

      Additional info:

       

       

      Attachments

        Issue Links

          Activity

            People

              aballantyne Andrew Ballantyne
              rhn-support-bdattoma Berto D'Attoma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: