Closed sirius651 closed 1 year ago
Hi @sirius651, the toml
config for the collator should use single []
and also add the cumulus_based
flag. Can you try with this?
[relaychain]
default_image = "docker.io/paritypr/polkadot-debug:master"
default_command = "polkadot"
default_args = [ "-lparachain=debug" ]
chain = "kusama-local"
[[relaychain.nodes]]
name = "alice"
validator = true
[[relaychain.nodes]]
name = "bob"
validator = true
[[parachains]]
id = 2007
chain = "shiden-dev"
cumulus_based = true
[parachains.collator]
name = "collator1"
image = "docker.io/staketechnologies/astar-collator:latest"
command = "astar-collator"
args = ["-lparachain=debug”, “--force-authoring”, “--execution=wasm"]
Let me know if doesn't works. Thanks!
Hi, @pepoviola thanks for quick answer. but when I tried to test above, no responding from collator.
Error: Timeout(300) for pod : temp-1
Hi, @pepoviola thanks for quick answer. but when I tried to test above, no responding from collator.
Error: Timeout(300) for pod : temp-1
Hi @sirius651, sorry about the delay. I checked this issue and the pod is failing to start because we wrap the command to start the pod using bash -c
bash -c astar-collator build-spec --chain shiden-dev --disable-default-bootnode > /cfg/kusama-local-plain.json && until [ -f /tmp/finished.txt ]; do echo waiting for copy files to finish; sleep 1; done; echo copy files has finished
But the astar-collator
doesn't have bash
since bin
/sbin
are removed in the image(https://github.com/AstarNetwork/Astar/blob/master/third-party/docker/Dockerfile#L23).
I will try to work on this to support running the pods without wrapping the command.
Thanks!
Hi @sirius651, this is already fixed in the latest versions. I will close here, please re-open if needed. Thanks for your feedback!
Hi, I tried to connect relay-parachain between Kusama and Shiden. But it seems the node is not running. here's the config.
and run the script.
I can see the message as 'Network launched'. and when I browse to Node direct link for Kusama-local, it works well. but when I browse for Parachain-collator (astar), initializing connection is long pending. it seems not running on Parachain properly.
here's the debug log for parachain
any miss thing or idea to resolve this?