Skip to content

mlx ui pod: "EACCES: permission denied, mkdir '/workspace/build'" #337

@jbusche

Description

@jbusche

Describe the bug

Trying the MLX install on my openshift cluster this am, so the steps are pretty easy

1. Have an existing cluster and be logged in, etc.
2. make sure kustomize is 3.2.0, looks good
3. clone the manifests and switch to the mlx-single-user branch
4. Run:
while ! kustomize build example | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 10; done

I suspect my cluster needs more configuration though, after step 1, because I've got what looks like pvc permission issues, for example:

oc get pods -n kubeflow |grep ui
ml-pipeline-ui-9d7d4855d-9m78b                    1/1     Running             0          18m
mlx-ui-c47bd9f9c-qgvf6                            0/1     CrashLoopBackOff    7          18m

oc logs -f mlx-ui-c47bd9f9c-qgvf6
> aiops-frontend@0.1.0 build /workspace
> react-scripts build

Failed to compile.

EACCES: permission denied, mkdir '/workspace/build'

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! aiops-frontend@0.1.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the aiops-frontend@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

To Reproduce

See above

Expected behavior

Was expecting the mlx-ui pod to start successfully.

Screenshots

n/a

Environment

  • OS: Deploying from a Mac while oc logged into the OpenShift cluster
  • Browser: chrome
  • MLX Version: If the UI was up, maybe I could see the version...
  • OpenShift Version 4.8.39

Additional context

None so far, thank you!

Metadata

Metadata

Assignees

Labels

CI/CDUIUser InterfacejavascriptPull requests that update Javascript codeopenshift

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions