Multi-node

after some “fight” for setup a 3 node cluster, I succesfully configured changing the order of suggested guide, so:

  • sudo snap install openstack --channel 2024.1/edge
  • sunbeam prepare-node-script | bash -x && newgrp snap_daemon
  • sunbeam cluster bootstrap --role control --role compute --role storage (answer in according whit infrastructure)
  • sunbeam configure --openrc demo-openrc (answer in according whit infrastructure)
  • sunbeam cluster add & join on other nodes (3 in may case)
  • sunbeam cluster resize

if i follow the procedure, joining before configure, the first node don’t associate the nic interface (dont ask anything) and the system was isolated.

1 Like

I got the same problem. just now. In my environment, it timed out at (31/32).
2024.1 is scheduled to be released in this summer, so I wait until then.

Use this instead: sunbeam cluster join --role control,compute,storage $(cat sunbeam02.asc)
Workaround tested and works

ubuntu@sunbeam02:~$ sunbeam cluster join --role control,compute,storage $(cat /home/ubuntu/sunbeam02.asc)
Comma separated list of devices to be used by Ceph OSDs. `/dev/disk/by-id/<id>` are preferred, as they are stable given the same device.
Ceph devices: /dev/vdc                                     
External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): enp8s0
Node joined cluster with roles: storage, compute, control

Becausem, otherwise the cat sunbeam02.asc | sunbeam cluster join --role control,compute,storage - command is broken, it messes up the python code logic and leads to an infinite loop on the NIC questionnaire (and will also automatically skip the Ceph devices questionnaire)

ubuntu@sunbeam02:~$ cat ~/sunbeam02.asc | sunbeam cluster join --role control,compute,storage -
...
ue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): WARNING: Interface enp1s0 is configured. Any configuration will be lost, are you sure you want to continue? [y/n]: External network's interface [enp1s0/enp7s0/enp8s0] (enp1s0): ^C
Aborted!

Hey Thanks for reporting, bug already reported on the same here

1 Like