0xPolygon / kurtosis-cdk

A Kurtosis package that deploys a private, portable, and modular Polygon CDK devnet
https://docs.polygon.technology/cdk
Apache License 2.0
37 stars 66 forks source link

Failure to deploy Kurtosis CDK #179

Open chantellechow opened 2 months ago

chantellechow commented 2 months ago

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.

rebelArtists commented 2 months ago

ack, will attempt to recreate and keep you posted

chantellechow commented 1 month ago

any update please?

jhkimqd commented 1 month ago

@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 commented 1 month ago

@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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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