ipfs / distributions

Legacy dist.ipfs.tech website and artifact build tools
https://dist.ipfs.tech
MIT License
48 stars 32 forks source link

chore: update kubo and ipfs-cluster-ctl #1039

Closed lidel closed 10 months ago

lidel commented 10 months ago

Making sure we run latest versions in preparation for a fix for: https://github.com/ipfs/distributions/actions/runs/6239183113/job/16944292013#step:6:543

lidel commented 10 months ago

The latest ipfs-cluster-ctl 1.0.6 still produces this error failed to parse multiaddr:

$ ipfs-cluster-ctl --enc=json \
    --host "/dnsaddr/ipfs-websites.collab.ipfscluster.io" \
    --basic-auth "$CLUSTER_USER:$CLUSTER_PASSWORD" \
    peers ls
{
    "id": "12D3KooWJDXVuLywXpGLxfVxu8sq4jbWK7NmiVqPXtyTX1cZ3i4W",
    "addresses": [
        "/ip4/147.75.87.211/tcp/18200/p2p/12D3KooWJDXVuLywXpGLxfVxu8sq4jbWK7NmiVqPXtyTX1cZ3i4W",
        "/ip4/127.0.0.1/tcp/18200/p2p/12D3KooWJDXVuLywXpGLxfVxu8sq4jbWK7NmiVqPXtyTX1cZ3i4W"
    ],
    "cluster_peers": [
        "12D3KooWAycG5T8mEW438asjH6zS68mXH5DFb2tx118FGACtkwMg",
        "12D3KooWENQyz8q1XRiMyvYbot2LDMYvdM2HNRH7X3opdVAbJrhb",
        "12D3KooWFxBsBMZkPbepD3tHxnbaTy6yfe6BVoJsqQ1MqFsyYWka",
        "12D3KooWJDXVuLywXpGLxfVxu8sq4jbWK7NmiVqPXtyTX1cZ3i4W",
        "12D3KooWKKdDugQeoKof2wFcK2PQMHr4EXNok1te1itczGKKjhjK",
        "12D3KooWMRMU5VEgABCHo17mWpgdMKnUwLFaFVJvzC4HeL9tSrKS"
    ],
    "cluster_peers_addresses": [
        "/dns4/collab-cluster-am6-3.cluster.dwebops.net/tcp/18200/p2p/12D3KooWAycG5T8mEW438asjH6zS68mXH5DFb2tx118FGACtkwMg",
        "/dns4/collab-cluster-am6-2.cluster.dwebops.net/tcp/18200/p2p/12D3KooWENQyz8q1XRiMyvYbot2LDMYvdM2HNRH7X3opdVAbJrhb",
        "/dns4/collab-cluster-sjc1-2.cluster.dwebops.net/tcp/18200/p2p/12D3KooWFxBsBMZkPbepD3tHxnbaTy6yfe6BVoJsqQ1MqFsyYWka",
        "/dns4/collab-cluster-dc13-2.cluster.dwebops.net/tcp/18200/p2p/12D3KooWKKdDugQeoKof2wFcK2PQMHr4EXNok1te1itczGKKjhjK",
        "/dns4/collab-cluster-sjc1-1.cluster.dwebops.net/tcp/18200/p2p/12D3KooWMRMU5VEgABCHo17mWpgdMKnUwLFaFVJvzC4HeL9tSrKS",
        "/dns4/collab-cluster-sv15-1.cluster.dwebops.net/tcp/18200/p2p/12D3KooWMRMU5VEgABCHo17mWpgdMKnUwLFaFVJvzC4HeL9tSrKS"
    ],
    "version": "1.0.4",
    "commit": "",
    "rpc_protocol_version": "/ipfscluster/1.0/rpc",
    "error": "",
    "ipfs": {
        "addresses": null,
        "error": "failed to parse multiaddr \"/ip4/147.75.87.211/udp/4001/quic-v1/p2p/12D3KooWRNijznEQoXrxBeNLb2TqbSFm8gG8jKtfEsbC1C9nPqce\": unknown protocol quic-v1"
    },
    "peername": "collab-cluster-am6-1"
}
github-actions[bot] commented 10 months ago

This change produced no new differences in built artifacts.

lidel commented 10 months ago

Even tho we've updated the ipfs-cluster-ctl client to 1.0.5, the cluser backend at /dnsaddr/ipfs-websites.collab.ipfscluster.io is still at 1.0.4, so upgrade to should be enough (1.0.6 uses go-multiaddr 0.8.0 which supports /quic-v1 (release notes).

Updating cluster tracked in https://github.com/protocol/bifrost-infra/issues/2770 Once it happens, we can merge this PR and the build in master should no longer have failed to parse multiaddr error.

lidel commented 10 months ago

https://github.com/protocol/bifrost-infra/issues/2770 resolved, merging.

lidel commented 10 months ago

@Jorropo fyi the peering error is gone, CI is able to connect to cluster peers once again: