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

Deployment of testnet configuration with explorer fails #197

Open
MuhammedIrfan opened this issue Jan 28, 2024 · 3 comments
Open

Deployment of testnet configuration with explorer fails #197

MuhammedIrfan opened this issue Jan 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@MuhammedIrfan
Copy link
Member

Overview

Up on deployment of testnet configuration with explorer the execution fails with error

Steps to Reproduce

Steps to reproduce the behavior:

  1. Setup kurtosis in kubernetes
  2. Run the package using
kurtosis run github.com/hugobyte/polkadot-kurtosis-package '{ "chain_type": "testnet", "relaychain": {}, "parachains": [ { "name":"frequency", "nodes": [ { "name": "alice", "node_type": "validator", "prometheus": false } ] } ], "explorer": true }'
  1. The execution stops with error
There was an error executing Starlark code 
An error occurred executing instruction (number 5) at github.com/hugobyte/polkadot-kurtosis-package/package_io/polkadot_js_app.star[25:39]:
  add_service(name="polkadot-js-explorer", config=ServiceConfig(image="jacogr/polkadot-js-apps:latest", ports={"TCP": PortSpec(number=80)}, public_ports={"TCP": PortSpec(number=80)}, env_vars={"WS_URL": "ws://127.0.0.1:9944"}))
  Caused by: Unexpected error occurred starting service 'polkadot-js-explorer'
  Caused by: An error occurred creating pod 'polkadot-js-explorer' using image 'jacogr/polkadot-js-apps:latest'
  Caused by: Expected to be able to create pod with name 'polkadot-js-explorer' and labels 'map[kurtosistech.com/app-id:kurtosis kurtosistech.com/enclave-id:d9934a8cbbf14c1f85f7da8e451be2ba kurtosistech.com/guid:13011a0697aa467b8257da65a718fc11 kurtosistech.com/id:polkadot-js-explorer kurtosistech.com/resource-type:user-service]', instead a non-nil error was returned
  Caused by: Pod "polkadot-js-explorer" is invalid: [spec.containers[0].ports[0].name: Invalid value: "TCP": must contain only alpha-numeric characters (a-z, 0-9), and hyphens (-), spec.containers[0].ports[0].name: Invalid value: "TCP": must contain at least one letter (a-z)]

Error encountered running Starlark code.

Expected Behavior

The execution should complete without the error.

@MuhammedIrfan MuhammedIrfan added the bug Something isn't working label Jan 28, 2024
@hemz10
Copy link
Contributor

hemz10 commented Jan 30, 2024

Same error observed with localnet as well

@shanithkk
Copy link
Collaborator

Hi @MuhammedIrfan , @hemz10 issue are closed in PR #200

@hemz10
Copy link
Contributor

hemz10 commented Jan 31, 2024

Hi @shanithkk verified and the command runs without any error but explorer is not working

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

3 participants