For the record, here is how I'm testing the multi-node scenario locally. And the whole process takes 115 minutes.
for i in {1..3}; do uvt-kvm wait "sunbeam-${i}.localdomain"
uvt-kvm ssh "sunbeam-${i}.localdomain" -- -t sudo snap install openstack --channel 2024.1/edge uvt-kvm ssh "sunbeam-${i}.localdomain" -- 'sunbeam prepare-node-script | bash -x'
# LP: #2065911 # TODO: make it permanent across reboots uvt-kvm ssh "sunbeam-${i}.localdomain" -- sudo ip link set enp9s0 up done
uvt-kvm ssh sunbeam-1.localdomain -- tee deployment_manifest.yaml < manifest.yaml uvt-kvm ssh sunbeam-1.localdomain -- 'tail -n+2 /snap/openstack/current/etc/manifests/edge.yml >> deployment_manifest.yaml'
uvt-kvm ssh sunbeam-1.localdomain -- -t \ time sunbeam cluster bootstrap --manifest deployment_manifest.yaml \ --role control --role compute --role storage
## -> real 21m13.010s
# LP: #2065490 uvt-kvm ssh sunbeam-1.localdomain -- 'juju model-default --cloud sunbeam-microk8s logging-config="<root>=INFO;unit=DEBUG"' uvt-kvm ssh sunbeam-1.localdomain -- 'juju model-config -m openstack logging-config="<root>=INFO;unit=DEBUG"'
uvt-kvm ssh sunbeam-2.localdomain -- -t \ time sunbeam cluster join --role control --role compute --role storage \ --token "$(uvt-kvm ssh sunbeam-1.localdomain -- sunbeam cluster add --name sunbeam-2.localdomain -f value)"
## -> real 25m3.417s
uvt-kvm ssh sunbeam-3.localdomain -- -t \ time sunbeam cluster join --role control --role compute --role storage \ --token "$(uvt-kvm ssh sunbeam-1.localdomain -- sunbeam cluster add --name sunbeam-3.localdomain -f value)"
## -> real 27m28.257s
uvt-kvm ssh sunbeam-1.localdomain -- -t \ time sunbeam cluster resize
## -> real 32m55.238s
uvt-kvm ssh sunbeam-1.localdomain -- -t \ time sunbeam configure --openrc demo-openrc --manifest deployment_manifest.yaml
## -> real 3m30.742s
uvt-kvm ssh sunbeam-1.localdomain -- -t \ 'time sunbeam openrc > admin-openrc'
## -> real 0m11.547s
uvt-kvm ssh sunbeam-1.localdomain -- -t \ time sunbeam launch ubuntu --name test
## -> real 1m13.650s
For the record, here is how I'm testing the multi-node scenario locally. And the whole process takes 115 minutes.
for i in {1..3}; do ${i}.localdomai n"
uvt-kvm wait "sunbeam-
uvt-kvm ssh "sunbeam- ${i}.localdomai n" -- -t sudo snap install openstack --channel 2024.1/edge ${i}.localdomai n" -- 'sunbeam prepare-node-script | bash -x'
uvt-kvm ssh "sunbeam-
# LP: #2065911 ${i}.localdomai n" -- sudo ip link set enp9s0 up
# TODO: make it permanent across reboots
uvt-kvm ssh "sunbeam-
done
uvt-kvm ssh sunbeam- 1.localdomain -- tee deployment_ manifest. yaml < manifest.yaml 1.localdomain -- 'tail -n+2 /snap/openstack /current/ etc/manifests/ edge.yml >> deployment_ manifest. yaml'
uvt-kvm ssh sunbeam-
uvt-kvm ssh sunbeam- 1.localdomain -- -t \ manifest. yaml \
time sunbeam cluster bootstrap --manifest deployment_
--role control --role compute --role storage
## -> real 21m13.010s
# LP: #2065490 1.localdomain -- 'juju model-default --cloud sunbeam-microk8s logging- config= "<root> =INFO;unit= DEBUG"' 1.localdomain -- 'juju model-config -m openstack logging- config= "<root> =INFO;unit= DEBUG"'
uvt-kvm ssh sunbeam-
uvt-kvm ssh sunbeam-
uvt-kvm ssh sunbeam- 2.localdomain -- -t \ 1.localdomain -- sunbeam cluster add --name sunbeam- 2.localdomain -f value)"
time sunbeam cluster join --role control --role compute --role storage \
--token "$(uvt-kvm ssh sunbeam-
## -> real 25m3.417s
uvt-kvm ssh sunbeam- 3.localdomain -- -t \ 1.localdomain -- sunbeam cluster add --name sunbeam- 3.localdomain -f value)"
time sunbeam cluster join --role control --role compute --role storage \
--token "$(uvt-kvm ssh sunbeam-
## -> real 27m28.257s
uvt-kvm ssh sunbeam- 1.localdomain -- -t \
time sunbeam cluster resize
## -> real 32m55.238s
uvt-kvm ssh sunbeam- 1.localdomain -- -t \ manifest. yaml
time sunbeam configure --openrc demo-openrc --manifest deployment_
## -> real 3m30.742s
uvt-kvm ssh sunbeam- 1.localdomain -- -t \
'time sunbeam openrc > admin-openrc'
## -> real 0m11.547s
uvt-kvm ssh sunbeam- 1.localdomain -- -t \
time sunbeam launch ubuntu --name test
## -> real 1m13.650s