Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't select a file to run a Elyra step #145

Open
2 tasks
harshad16 opened this issue Jul 17, 2023 · 5 comments
Open
2 tasks

Can't select a file to run a Elyra step #145

harshad16 opened this issue Jul 17, 2023 · 5 comments
Labels
feature/elyra field-priority Prioritized by the team JIRA jira issue exists for following github issue kind/bug Something isn't working priority/normal An issue with the product; fix when possible

Comments

@harshad16
Copy link
Member

harshad16 commented Jul 17, 2023

Description of problem:
Can't select a file to run a Elyra step

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

Steps to Reproduce
Create a fresh pipeline

Actual results:
See the image3

Expected results:
Be able to select a file inside the step

Build Details:

RHODS 1.25
OpenShift Pipelines 1.9.2
OpenShift 4.11

Acceptance criteria

  • Explore the Elyra file browser and check for the API calls.
  • Find out the function connecting to file browser in elyra.

JIRA: https://issues.redhat.com/browse/RHODS-7920

@github-project-automation github-project-automation bot moved this to 📋 Backlog in ODH IDE Planning Jul 17, 2023
@harshad16 harshad16 added kind/bug Something isn't working JIRA jira issue exists for following github issue field-priority Prioritized by the team labels Jul 17, 2023
@harshad16 harshad16 added the priority/normal An issue with the product; fix when possible label Jul 25, 2023
@harshad16
Copy link
Member Author

Team couldn't get to this issue in 1.31
Moving it to 1.32

@harshad16 harshad16 reopened this Aug 1, 2023
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅Done in ODH IDE Planning Aug 1, 2023
@harshad16 harshad16 moved this from ✅Done to 🔖Todo in ODH IDE Planning Aug 1, 2023
@harshad16
Copy link
Member Author

How to debug it locally:

  • Run any of the images in the local
    podman run -p 8888:8888 quay.io/opendatahub/workbench-images:jupyter-datascience-ubi9-python-3.9-2023a-20230814-a67cf5f start-singleuser.sh

  • Clone the example repo into the jupyter notebook
    https://github.com/harshad16/data-science-pipeline-example

  • Explore the pipeline properties and try to open the file browser
    and select the directory to see the issue.

  • While inspecting the browser, the API is hitting:
    http://127.0.0.1:8888/api/contents/data-science-pipeline-example?content=1&1692112050453

Response:

{
    "name": "data-science-pipeline-example",
    "path": "data-science-pipeline-example",
    "last_modified": "2023-08-15T15:03:19.927867Z",
    "created": "2023-08-15T15:03:19.927867Z",
    "content": [
        {
            "name": "README.md",
            "path": "data-science-pipeline-example/README.md",
            "last_modified": "2023-08-15T15:03:19.927867Z",
            "created": "2023-08-15T15:03:19.927867Z",
            "content": null,
            "format": null,
            "mimetype": "text/markdown",
            "size": 1309,
            "writable": true,
            "type": "file"
        },
        {
            "name": "run-pipelines-on-data-science-pipelines",
            "path": "data-science-pipeline-example/run-pipelines-on-data-science-pipelines",
            "last_modified": "2023-08-15T15:05:37.073486Z",
            "created": "2023-08-15T15:05:37.073486Z",
            "content": null,
            "format": null,
            "mimetype": null,
            "size": null,
            "writable": true,
            "type": "directory"
        }
    ],
    "format": "json",
    "mimetype": null,
    "size": null,
    "writable": true,
    "type": "directory"
}

Reference: https://jupyter-server.readthedocs.io/en/latest/developers/rest-api.html#get--api-contents-path

@harshad16
Copy link
Member Author

In regards to the working on the issue,
this requires some knowledge of the jupyterlab Browser window file explorer.
Opening an issue upstream about this and will try to contribute there.

@harshad16
Copy link
Member Author

Seems like a related-issue: elyra-ai/elyra#3105

@harshad16
Copy link
Member Author

Moving this to To-do, help is needed on this on.

atheo89 pushed a commit to atheo89/notebooks that referenced this issue Feb 13, 2024
…st-updater-7846262944

[Digest Updater Action] Update notebook's imageStreams image tag to digest format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/elyra field-priority Prioritized by the team JIRA jira issue exists for following github issue kind/bug Something isn't working priority/normal An issue with the product; fix when possible
Projects
Status: IDE
Status: 🔖Todo
Development

No branches or pull requests

2 participants