Generating node key file '/var/lib/duniter/node.key'...
12D3KooWSQUn7Uuk2q96JZYMEsrE73qDJdjNsxLC6cVwQRi5koWH
Node peer ID is '12D3KooWSQUn7Uuk2q96JZYMEsrE73qDJdjNsxLC6cVwQRi5koWH'.
Starting duniter with parameters: --name pini-gdev-mirror --node-key-file /var/lib/duniter/node.key --public-addr /dns/gdev.pini.fr/tcp/443/wss --rpc-cors all --chain gdev -d /var/lib/duniter --unsafe-rpc-external --unsafe-ws-external
2023-11-19 20:26:01 Duniter
2023-11-19 20:26:01 <E2><9C><8C><EF><B8><8F> version 0.7.0-unknown
2023-11-19 20:26:01 <E2><9D><A4><EF><B8><8F> by Axiom-Team Developers <https://axiom-team.fr>, 2021-2023
2023-11-19 20:26:01 <F0><9F><93><8B> Chain specification: <C4><9E>Dev
2023-11-19 20:26:01 <F0><9F><8F><B7> Node name: pini-gdev-mirror
2023-11-19 20:26:01 <F0><9F><91><A4> Role: FULL
2023-11-19 20:26:01 <F0><9F><92><BE> Database: ParityDb at /var/lib/duniter/chains/gdev/paritydb/full
2023-11-19 20:26:01 <E2> Native runtime: gdev-700 (duniter-gdev-1.tx1.au1)
2023-11-19 20:26:36 <F0><9F><94><A8> Initializing Genesis block/state (state: 0x9e85<E2><80><A6>84da, header-hash: 0xc234<E2><80><A6>a857)
2023-11-19 20:26:39 <F0><9F><91><B4> Loading GRANDPA authority set from genesis on what appears to be first startup.
2023-11-19 20:27:01 <F0><9F><91><B6> Creating empty BABE epoch changes on what appears to be first startup.
2023-11-19 20:27:01 <F0><9F><8F><B7> Local node identity is: 12D3KooWSQUn7Uuk2q96JZYMEsrE73qDJdjNsxLC6cVwQRi5koWH
2023-11-19 20:27:01 <F0><9F><94><8D> Discovered new external address for our node: /dns/gdev.pini.fr/tcp/443/wss/p2p/12D3KooWSQUn7Uuk2q96JZYMEsrE73qDJdjNsxLC6cVwQRi5koWH
2023-11-19 20:27:01 <F0><9F><92><BB> Operating system: linux
2023-11-19 20:27:01 <F0><9F><92><BB> CPU architecture: x86_64
2023-11-19 20:27:01 <F0><9F><92><BB> Target environment: gnu
2023-11-19 20:27:01 <F0><9F><92><BB> CPU: Intel(R) Atom(TM) CPU N2800 @ 1.86GHz
2023-11-19 20:27:01 <F0><9F><92><BB> CPU cores: 2
2023-11-19 20:27:01 <F0><9F><92><BB> Memory: 3902MB
2023-11-19 20:27:01 <F0><9F><92><BB> Kernel: 5.10.0-23-amd64
2023-11-19 20:27:01 <F0><9F><92><BB> Linux distribution: Debian GNU/Linux 11 (bullseye)
2023-11-19 20:27:01 <F0><9F><92><BB> Virtual machine: no
2023-11-19 20:27:01 <F0><9F><93><A6> Highest known block at #0
2023-11-19 20:27:01 Running JSON-RPC HTTP server: addr=0.0.0.0:9933, allowed origins=["*"]
2023-11-19 20:27:01 Running JSON-RPC WS server: addr=0.0.0.0:9944, allowed origins=["*"]
2023-11-19 20:27:01 <E3><80><BD><EF><B8><8F> Prometheus exporter started at 127.0.0.1:9615
2023-11-19 20:27:01 ***** Duniter has fully started *****
2023-11-19 20:27:01 discovered: 12D3KooWMLkiTWezwCJZ2gQko4j7KkWDSL7LjcAA3zGQWB7ctL1m /ip4/172.18.0.10/tcp/30333/ws
2023-11-19 20:27:03 <F0><9F><94><8D> Discovered new external address for our node: /dns/gdev.pini.fr/tcp/30333/ws/p2p/12D3KooWSQUn7Uuk2q96JZYMEsrE73qDJdjNsxLC6cVwQRi5koWH
2023-11-19 20:27:06 <E2><9A><99><EF><B8><8F> Syncing, target=#5870 (3 peers), best: #1 (0x17f3<E2><80><A6>4fdd), finalized #0 (0xc234<E2><80><A6>a857), <E2><AC><87> 145.7kiB/s <E2><AC><86> 5.0kiB/s
On ne voit pas ces lignes dans ton cas :
2023-11-19 20:26:36 <F0><9F><94><A8> Initializing Genesis block/state (state: 0x9e85<E2><80><A6>84da, header-hash: 0xc234<E2><80><A6>a857)
2023-11-19 20:26:39 <F0><9F><91><B4> Loading GRANDPA authority set from genesis on what appears to be first startup.
2023-11-19 20:27:01 <F0><9F><91><B6> Creating empty BABE epoch changes on what appears to be first startup.
As-tu pensé à bien purger tes volumes avec l’équivalent podman de docker-compose down -v avant de redémarrer ?
podman-compose down -v semble avoir aidé, maintenant les lignes Granpa/babe sont affichées.
Par contre, pas de connexion au réseau. Peut-être un problème de configuration réseau dans le fichier compose.
Car, il n’arrive pas à se connecter aux autres endpoints RPC ni à la télémétrie. J’ai tenté de vérifier, mais il n’y a pas ping d’installé et je n’arrive pas à installer d’outils réseau sur l’image.
Il doit y avoir une différence entre quand l’image est lancée via podman ou via podman-compose.
podman exec -it -u root <containerId> bash puis apt update. S’il n’a pas de réseau cette dernière commande ne fonctionnera pas. Et dans ce cas je penche pour une spécificité podman que je ne connais pas (j’utilise encore Docker pour ma part).
Mon intuition se confirme. Dans le conteneur lancé avec podman, apt update fonctionne.
Dans le conteneur lancé avec podman-compose, apt update échoue :
Je ne souhaite pas déranger plus avec mes aventures, mais je vais quand même faire un retour.
Après une màj en Fedora 39, c’est docker qui n’est pas fonctionnel :