canonical / charm-microceph

Charm to deploy/manage microceph
Apache License 2.0
2 stars 9 forks source link

Microceph's join token is choosing the wrong ip address #81

Closed gboutry closed 1 month ago

gboutry commented 1 month ago

Version

snap info: 18.2.0+snap71f71782c5 juju info: 47

What happens (observed behaviour) ?

Launchpad bug: https://bugs.launchpad.net/snap-openstack/+bug/2065700

The jwt to join the microcluster gives a wrong address, and there's no way to ask for the right address:

eyJuYW1lIjoibWljcm9jZXBoLzEiLCJzZWNyZXQiOiJkMzdjYTY2Y2RhM
2MwYjYwMzZjNWJhMDNlNzZlMGI0ZWM3YTM1ODRjMjkzYWM1NTljNDg1OGZiMGVhZTA2YWQ5IiwiZmluZ2VycHJpbnQiOiJkMGIxMmVmMzE3NjllY2ZmYjYzNTE0MWFkZjEzNDY5NDk0NmFhMGU1NzM3ODgyOTYyNGZmMjhjN2JhOWY1ZDc5Ii
wiam9pbl9hZGRyZXNzZXMiOlsiMTAuMS4zMi4xOTI6NzQ0MyJdfQ==

Address in jwt: 10.1.32.192:7443 This is a calico address only available on the bootstrap node. There's currently no way for the snap to chose the right address to create a jwt.

More info

Joining will fail because the calico address chosen is not routable between nodes

UtkarshBhatthere commented 1 month ago

Hey @gboutry this should be resolved with the network spaces right ?

gboutry commented 1 month ago

It should, I'll re-open if it's not solved