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

Failure to deploy Kurtosis CDK #179

Open
chantellechow opened this issue Jul 10, 2024 · 10 comments
Open

Failure to deploy Kurtosis CDK #179

chantellechow opened this issue Jul 10, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@chantellechow
Copy link

System information

macOS Sonoma version 14.5 - Apple M3

Commit id

ff901ae

Tools versions

✅ kurtosis 0.89.0 is installed, meets the requirement (=0.89).
✅ docker 26.1.4 is installed, meets the requirement (>=24.7).

You might as well need the following tools to interact with the environment...
✅ jq 1.7.1 is installed.
✅ yq 3.4.3 is installed, meets the requirement (>=3.2).
✅ cast 0.2.0 is installed.
✅ polycli v0.1.45-14-g1e6a3aa is installed.

🎉 You are ready to go!

Description & steps to reproduce

Hi there,

I am facing an error when I run kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always .

Appreciate if I can get some guidance on how to solve the error.

image

INFO[2024-07-10T11:15:25+08:00] Creating a new enclave for Starlark to run inside...
Error: An error occurred running command 'run'
Caused by: An error occurred calling the run function for command 'run'
Caused by: An error occurred getting the enclave context for enclave 'cdk-v1'
Caused by: Unable to create new enclave with name 'cdk-v1'
Caused by: An error occurred creating an enclave with name 'cdk-v1'
Caused by: rpc error: code = Unknown desc = An error occurred creating new enclave with name 'cdk-v1'
Caused by: An error occurred creating new enclave with name 'cdk-v1' using api container image version '' and api container log level 'debug'
Caused by: An error occurred launching the API container
Caused by: Expected to be able to launch api container for enclave 'b1c1b0e37eb5401eb6c74dd2944b03ea' with the default version, but an error occurred
Caused by: An error occurred launching the API container with default version tag '0.89.0'
Caused by: An error occurred launching the API container
Caused by: An error occurred creating an API container from image 'kurtosistech/core:0.89.0'
Caused by: An error occurred while getting the reverse proxy enclave network IP address for enclave 'b1c1b0e37eb5401eb6c74dd2944b03ea', This is a bug in Kurtosis

Steps I tried:
kurtosis clean --all
git checkout main
git pull

Tried joining https://discord.gg/0xpolygondevs but after connecting to Kava, it asks me to send 0.1ETH on Arbitrum?

Desired behavior

I am expecting successful deployment

What is the severity of this bug?

Critical; I am blocked and Kurtosis CDK is unusable for me because of this bug.

@chantellechow chantellechow added the bug Something isn't working label Jul 10, 2024
@rebelArtists
Copy link
Contributor

ack, will attempt to recreate and keep you posted

@chantellechow
Copy link
Author

any update please?

@jhkimqd
Copy link
Collaborator

jhkimqd commented Jul 19, 2024

@chantellechow seems like an issue related to Kurtosis. From the checks, if shows you have Kurtosis installed - but there may be something wrong with it. I would either try reinstalling Kurtosis, and check its functional.
image

Also worth trying kurtosis engine restart

@chantellechow
Copy link
Author

@jhkimqd thank you. It seems to work but now am getting another kurtosis error. Will check with Kurtosis team then

Error: An error occurred running command 'run' Caused by: An error occurred calling the run function for command 'run' Caused by: An error starting the Kurtosis code execution '.' Caused by: Error uploading package '.' prior to executing it Caused by: There was an error compressing module '.' before upload Caused by: An error occurred creating the archive from the files at '.' Caused by: The files you are trying to upload, which are now compressed, exceed or reach 100mb. Manipulation (i.e. uploads or downloads) of files larger than 100mb is currently disallowed in Kurtosis.

@chantellechow
Copy link
Author

Managed to get that sorted as well. I downloaded the GO package in the kurtosis folder making it too larger to upload. It works after deleting. However, I am facing another error Service 'el-1-geth-lighthouse' doesn't exist in the repository

image

Can you please help? Thank you

@leovct
Copy link
Member

leovct commented Jul 23, 2024

You may need to clean the enclave first, then you can deploy the stack.

kurtosis clean --all
kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always .

@johnsoncarl
Copy link
Contributor

Tried joining https://discord.gg/0xpolygondevs but after connecting to Kava, it asks me to send 0.1ETH on Arbitrum?

That is a fake Discord server. can you share where did you find the link?

The original one is https://discord.gg/0xPolygonRnD

@chantellechow
Copy link
Author

I found the link in this github. Cannot remember from which issue or was it from read.me.

@Dharanive
Copy link

dharani@Dharani:~/polygon/kurtosis-cdk$ kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always .
Error: An error occurred running command 'run'
Caused by: An error occurred calling the run function for command 'run'
Caused by: An error occurred while getting the package args from filepath or URL 'params.yml'
Caused by: attempted to validate 'args-file' but failed
Caused by: Error validating args, because it is not a valid JSON or YAML.
Caused by: JSON parsing error 'invalid character 'd' looking for beginning of value', YAML parsing error 'yaml: line 68: did not find expected key'

@Dharanive
Copy link

what to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants