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

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

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

lidel
Copy link
Member

@lidel lidel commented Sep 20, 2023

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 lidel requested a review from Jorropo September 20, 2023 13:30
@lidel lidel temporarily deployed to Deploy September 20, 2023 13:34 — with GitHub Actions Inactive
@lidel
Copy link
Member Author

lidel commented Sep 20, 2023

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
Copy link

This change produced no new differences in built artifacts.

@lidel
Copy link
Member Author

lidel commented Sep 20, 2023

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
Copy link
Member Author

lidel commented Sep 20, 2023

@lidel lidel merged commit 74b4ce7 into master Sep 20, 2023
5 checks passed
@lidel lidel deleted the chore/bump-kubo-and-cluster-ctl branch September 20, 2023 22:50
@lidel
Copy link
Member Author

lidel commented Sep 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant