cosmology-tech / starship

A k8s based unified development environment for Cosmos Ecosystem (and beyond)
https://docs.cosmology.zone/starship
MIT License
72 stars 25 forks source link

bug: relayer does not start with Neutron #550

Open dakom opened 2 months ago

dakom commented 2 months ago

with the following config, relayer just stays Pending. If I switch Neutron for CosmosHub then it does start fine:

name: foo

chains:
  - id: neutron-1 
    name: neutron
    numValidators: 1
    faucet:
      enabled: false
    ports:
      rpc: 26657
      grpc: 9090

  - id: osmosis-1
    name: osmosis
    faucet:
      enabled: false
    numValidators: 1
    ports:
      rpc: 26658
      grpc: 9091

relayers:
  - name: neutron-osmosis 
    type: hermes
    replicas: 1
    chains:
      - neutron-1
      - osmosis-1
    ports:
      rest: 3001
      exposer: 3002

registry:
  enabled: true
  ports:
    rest: 8081

Some more logs, in case it helps:

$ kubectl get pods                                                                                                                                                                              
NAME                        READY   STATUS                  RESTARTS      AGE
hermes-neutron-osmosis-0    0/2     Init:CrashLoopBackOff   2 (23s ago)   113s
neutron-1-genesis-0         2/2     Running                 0             113s
osmosis-1-genesis-0         2/2     Running                 0             113s
registry-6fb4575c58-qr2s9   1/1     Running                 0             113s
$ kubectl logs hermes-neutron-osmosis-0                                                                                                                                                         
Defaulted container "relayer" out of: relayer, exposer, init-exposer (init), wait-for-chains (init), init-relayer (init)
Error from server (BadRequest): container "relayer" in pod "hermes-neutron-osmosis-0" is waiting to start: PodInitializing
Anmol1696 commented 2 months ago

Can. you tell me which version of starship helm chart you are using?

dakom commented 2 months ago

I'm not sure how to get that info, but when I run starship help I see that it says --version <ver> Specify the version of the Helm chart, default: v0.2.6.

Anmol1696 commented 2 months ago

Could you try and upgrade the helm version to latest. starship start --config neutron.yaml --version v0.2.12

dakom commented 2 months ago

that command just prints out the starship version afaict