Carlos A. Crespo
10/24/2022, 2:09 PMorchest install --dev
I get this error:
Installing the Orchest Controller to manage the Orchest Cluster...
Traceback (most recent call last):
File "/home/carlos/Documents/github/orchest/.venv/bin/orchest", line 33, in <module>
sys.exit(load_entry_point('orchest-cli', 'console_scripts', 'orchest')())
(...)
File "/home/carlos/Documents/github/orchest/orchest-cli/orchestcli/cmds.py", line 174, in install
with open(f"services/orchest-controller/deploy/k8s/{manifest_file_name}") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'services/orchest-controller/deploy/k8s/orchest-controller.yaml'
I think I have all the dependencies installed. I tried looking in scripts/build_container.sh
for some clue ¿? but to no avail.
Does anyone have any idea or guesses what might be wrong?
Thanks in advance!Jacopo
10/24/2022, 2:11 PM--dev
you will first need to build the orchest controller through, for example, bash scripts/build_container.sh -o $SOME_VERSION -t $SOME_VERSION -i orchest-controller
. This will make it so that the required yaml file is createdorchest-controller
that has had some source code changes, and differs from dev mode, i.e. orchest patch --dev
--dev
modeCarlos A. Crespo
10/24/2022, 2:19 PMHi @Carlos A. Crespo, when installing withYes, I have run it but no error and no yaml file created. I wan't to work in this issue.you will first need to build the orchest controller through, for example,--dev
. This will make it so that the required yaml file is createdbash scripts/build_container.sh -o $SOME_VERSION -t $SOME_VERSION -i orchest-controller
Jacopo
10/24/2022, 2:22 PMYes, I have run it but no error and no yaml file created.Could you show me the output of the build script that you are getting?
--dev
, but I'm definitively interested in getting it to work regardlessCarlos A. Crespo
10/24/2022, 2:54 PMRick Lamers
make
helm
kubectl
and go
(min. 1.18) in particular are crucialJacopo
10/24/2022, 2:55 PMCarlos A. Crespo
10/25/2022, 1:17 PMsudo apt-get install -y nodejs
sudo npm install -g pnpm
It installs without any problems but when running
npm run setup --install && pnpm i
I get the following error:
> setup
> npm i -g pnpm@~7.0.0
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/bin/pnpm
npm ERR! dest /usr/bin/.pnpm-JTllyBcj
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/usr/bin/pnpm' -> '/usr/bin/.pnpm-JTllyBcj'
npm ERR! [Error: EACCES: permission denied, rename '/usr/bin/pnpm' -> '/usr/bin/.pnpm-JTllyBcj'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rename',
npm ERR! path: '/usr/bin/pnpm',
npm ERR! dest: '/usr/bin/.pnpm-JTllyBcj'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/_logs/2022-10-24T22_02_42_068Z-debug-0.log
It doesn't matter if I run it with sudo
To avoid this problem I used nodeenv
and everything worked great.
$ python -m venv env
$ source env/bin/activate
(env) $ pip install nodeenv
(env) $ nodeenv -p
(env) $ which npm
(env) $ npm install -g pnpm
Thanks @juanlu for the help!Rick Lamers