hcengineering / hcengineering/platform
Getting an error while creating an workspace.
- Dominant language
- TypeScript
- Stars
- 27.7k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
Followed below procedures.
* I took reference from the kubernetes manifest files which is in the following https://github.com/hcengineering/huly-selfhost/tree/main/kube
* I have created the polymorphic-app helm-chart which is in the following link https://artifacthub.io/packages/helm/improwised/polymorphic-app
by taking reference from the kuberenetes manifest files which is in the huly-selfhost repo.
* I am deploying the application through FluxCD.
* The below is the github repo link where the the HelmRelease file is located.
https://github.com/ChandanTeekinavar/imp-flux/tree/main/musketeers-3/huly
* The application pod is running. I can able to signup or login.
* But while creating a workspace I am getting an error. The workspace will be in creating state.
* In the worksapce pod I am getting below error.
{"level":"error","message":"Unhandled Rejection at:","promise":{},"reason":{"message":"fetch failed","stack":"TypeError: fetch failed\n at node:internal/deps/undici/undici:13178:13\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async workerHandshake (/usr/src/app/bundle.js:253:440289)\n at async bRt.start (/usr/src/app/bundle.js:460:150449)"},"timestamp":"2024-10-03T14:06:03.096Z"}
* Below is the account pod log.
{"level":"info","message":"getPendingWorkspace","mode":"creating","operation":"all","region":"","timestamp":"2024-10-03T13:34:28.675Z","version":{"major":0,"minor":6,"patch":315},"worksp │
│ aceId":"w-chandanteeki-admin-66fe9888-593e857bd8-82407f","workspaceName":"admin"} │
│ {"event":"create-done","level":"info","message":"update workspace info: create-done","progress":100,"timestamp":"2024-10-03T13:34:28.686Z","version":{"major":0,"minor":6,"patch":315},"wo │
│ rkspaceId":"w-chandanteeki-admin-66fe9888-593e857bd8-82407f"}
* I am not getting the below
https://github.com/hcengineering/platform/blob/4234931d82709c9fe53c35a2af75475f91aea014/server/account/src/operations.ts#L1203
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the workspace pod's workerHandshake error and the referenced server/account/src/operations.ts#L1203, then compare the kube manifests, polymorphic-app Helm chart, and FluxCD HelmRelease linked in the report. Trace the failed fetch through the deployment configuration and verify that workspace creation completes without leaving the workspace in creating state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes, typescript
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100