Skip to content

mgr/dashboard: start node virtual-env after starting ceph cluster - #66143

Merged
afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:debug-e2e-error
Nov 13, 2025
Merged

afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:debug-e2e-error

Conversation

@nizamial09

@nizamial09 nizamial09 commented Nov 6, 2025 •

Copy link
Copy Markdown
Member

in frontend e2e.sh file, we don't need to start the node venv early on
before the ceph cluster is started. we only need it for the npm or
npx commands. Starting node virtual env and then starting ceph will
cause the ceph cluster to assume the node-env python as the python
environment which breaks the cryptotools call.

So moving the node-env venv start after the ceph is created

Fixes: https://tracker.ceph.com/issues/73804

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@nizamial09
nizamial09 requested a review from a team as a code owner November 6, 2025 04:54
@nizamial09
nizamial09 marked this pull request as draft November 6, 2025 05:39
@nizamial09
nizamial09 removed the request for review from a team November 6, 2025 05:40
@nizamial09

Copy link
Copy Markdown
Member Author

jenkins test dashboard

@nizamial09
nizamial09 force-pushed the debug-e2e-error branch 7 times, most recently from 71836b6 to 14ce5a1 Compare November 12, 2025 05:41
@nizamial09

Copy link
Copy Markdown
Member Author

When I put some logs to the cryptocaller to figure out which python3 path its being taken from and got

Using python executable: '/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/build/src/pybind/mgr/dashboard/frontend/node-env/bin/python3'

and then saw that we are starting the node-env before we start the ceph when ideally we don't need it for starting ceph, we just need it for frontend only stuffs.

After the updated fix

2025-11-12T05:17:36.091+0000 7ff354769640  0 [dashboard WARNING ceph.cryptotools.remote] Using python executable: '/usr/bin/python3'

@nizamial09 nizamial09 changed the title debugging dashboard CI mgr/dashboard: start node virtual-env after starting ceph cluster Nov 12, 2025
@nizamial09
nizamial09 marked this pull request as ready for review November 12, 2025 05:45
@nizamial09
nizamial09 requested a review from a team as a code owner November 12, 2025 05:45
@github-project-automation github-project-automation Bot moved this from New to Review in progress in Ceph-Dashboard Nov 12, 2025
@afreen23

Copy link
Copy Markdown
Contributor

I see tests running now 🎈

@afreen23 afreen23 closed this Nov 12, 2025
@github-project-automation github-project-automation Bot moved this from Review in progress to Done in Ceph-Dashboard Nov 12, 2025
@afreen23 afreen23 reopened this Nov 12, 2025
@github-project-automation github-project-automation Bot moved this from Done to New in Ceph-Dashboard Nov 12, 2025
@nizamial09

Copy link
Copy Markdown
Member Author

tests ran and failed with cypress errors now

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  a11y/dashboard.e2e-spec.ts               00:04        1        1        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  a11y/navigation.e2e-spec.ts              00:06        2        1        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  block/images.e2e-spec.ts                 01:37        9        9        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  block/iscsi.e2e-spec.ts                  00:05        2        2        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  block/mirroring.e2e-spec.ts              00:40        5        4        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  cluster/configuration.e2e-spec.ts        00:37        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  cluster/crush-map.e2e-spec.ts            00:05        2        2        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  cluster/hosts.e2e-spec.ts                00:08        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  cluster/logs.e2e-spec.ts                 00:24        7        7        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  cluster/mgr-modules.e2e-spec.ts          00:40        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  cluster/monitors.e2e-spec.ts             00:06        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  cluster/osds.e2e-spec.ts                 00:09        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  cluster/users.e2e-spec.ts                00:28        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  filesystems/filesystems.e2e-spec.fe      00:43        6        6        -        -        - │
  │    ature                                                                                       │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  filesystems/snapshots.e2e-spec.feat      01:13       10       10        -        -        - │
  │    ure                                                                                         │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  filesystems/subvolume-groups.e2e-sp      00:37        5        5        -        -        - │
  │    ec.feature                                                                                  │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  filesystems/subvolumes.e2e-spec.fea      00:37        5        5        -        -        - │
  │    ture                                                                                        │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  multi-cluster/multi-cluster.e2e-spe      02:51        4        1        3        -        - │
  │    c.ts                                                                                        │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  pools/pools.e2e-spec.ts                  01:33       11       11        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rgw/accounts.e2e-spec.ts                 01:00        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rgw/buckets.e2e-spec.ts                  01:33        8        8        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rgw/configuration.e2e-spec.ts            00:25        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rgw/daemons.e2e-spec.ts                  00:09        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rgw/multisite.e2e-spec.ts                00:36       15        7        -        8        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rgw/roles.e2e-spec.ts                    00:25        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  rgw/users.e2e-spec.ts                    06:29       12       11        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ui/api-docs.e2e-spec.ts                  00:05        1        1        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ui/dashboard-v3.e2e-spec.ts              00:08        2        2        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ui/language.e2e-spec.ts                  00:04        2        2        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ui/login.e2e-spec.ts                     00:07        2        2        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ui/navigation.e2e-spec.ts                00:07        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  ui/notification.e2e-spec.ts              02:11        4        -        1        -        3 │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ui/role-mgmt.e2e-spec.ts                 00:25        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ui/user-mgmt.e2e-spec.ts                 00:26        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  visualTests/dashboard.vrt-spec.ts         66ms        1        -        -        1        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  visualTests/login.vrt-spec.ts             66ms        1        -        -        1        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘

in frontend e2e.sh file, we don't need to start the node venv early on
before the ceph cluster is started. we only need it for the `npm` or
`npx` commands. Starting node virtual env and then starting ceph will
cause the ceph cluster to assume the node-env python as the python
environment which breaks the cryptotools call.

So moving the node-env venv start after the ceph is created

Fixes: https://tracker.ceph.com/issues/73804
Signed-off-by: Nizamudeen A <[email protected]>
@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Nov 13, 2025
@afreen23
afreen23 merged commit 3b600d6 into ceph:main Nov 13, 2025
@afreen23
afreen23 deleted the debug-e2e-error branch November 13, 2025 06:56
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Nov 13, 2025
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/19323223381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants