Alpha test de Duniter 0.9.0

J’ai refais une image avec la branch fix-262 pour mon SMITH + distance-oracle.

Mon SMITH n’est pas encore “Online” voir autre sujet : Noeud SMITH Comment vérifier que l'ajout de la clé à bien été fait?

Du coup je ne sais pas si le service “distance-oracle” est censé fonctionner ou pas; mais les logs ne sont pas encourageants:

distance-oracle  | error: invalid value 'None' for '--interval <INTERVAL>': invalid digit found in string
distance-oracle  |
distance-oracle  | For more information, try '--help'.
distance-oracle  | Waiting 200 seconds before next execution...
distance-oracle  | error: invalid value 'None' for '--interval <INTERVAL>': invalid digit found in string
distance-oracle  |
distance-oracle  | For more information, try '--help'.
distance-oracle  | Waiting 200 seconds before next execution...
...
Juste pour référence, je met mon compose.yaml actuel:
services:
  duniter-v2s-validator:
    image: nicolas80/duniter-v2s-master:fix-262
    platform: linux/arm64/v8
    container_name: duniter-v2s-gdev-validator
    restart: unless-stopped
    expose:
      - 9615
      - 30333
    ports:
      # (Private) Prometheus (for monitoring)
      # can't seem to add it as a data source in grafana :-/
      - 127.0.0.1:9616:9615
      - 127.0.0.1:9945:9944
      - 0.0.0.0:30334:30333
    volumes:
      - data-validator:/var/lib/duniter/
    environment:
      # gdev, gtest or g1
      - DUNITER_CHAIN_NAME=gdev
      - DUNITER_VALIDATOR=true
      - DUNITER_PRUNING_PROFILE=light # <--- stays light
      - DUNITER_NODE_NAME=Nicolas80-GDev-smith
      #Also exposing as https://smith.gdev.brussels.ovh
      - DUNITER_PUBLIC_ADDR=/dns/smith.gdev.brussels.ovh/tcp/30334
      - DUNITER_LISTEN_ADDR=/ip4/0.0.0.0/tcp/30333
    networks:
      dockge_dockge_net: null

  distance-oracle:
    image: nicolas80/duniter-v2s-master:fix-262  # <--- same image
    container_name: distance-oracle
    entrypoint: docker-distance-entrypoint # other entrypoint
    environment:
      ORACLE_RPC_URL: ws://duniter-v2s-gdev-validator:9944  # container_name from SMITH node above
      ORACLE_RESULT_DIR: /var/lib/duniter/chains/gdev/distance/ # should match network
      ORACLE_EXECUTION_INTERVAL: 200 # <--- should be adjusted based on network
    volumes:
      - data-validator:/var/lib/duniter/  # use same volume
    networks:
      dockge_dockge_net: null

volumes:
  data-validator: null
networks:
  dockge_dockge_net:
    external: true
1 Like