Single-node guided

Will try on vm, give me 30 mins.

1 Like

@pmatulis previously it endet at 4 online services, now at 5 but still timed out

Im doing it at completely raw ubuntu 22.04 LTS virtual machine connected directly via pcie passthrough (1 gig ethernet) to network

What’s your uplink speed to the internet?

Downlink: 500 Mbit
Uplink: 100 Mbit

Can you try to reproduce error? Or should I just skip openstack for now and try to continue without it?

Can I add a 2nd node later using this guide?

I deploy the microstack with a PC installed Ubuntu 22.04 with one NIC assigned a static IP address
the netplan config is:

version: 2
renderer: networkd
dhcp4: no
addresses: []
- to:
addresses: []

I use the cmd “sunbeam cluster bootstrap --accept-defaults” to bootstrap but wait a long time for “waiting for services to come online (21/29)” and finally timeout. I check the “juju status -m openstack”, the output is:

Unit Workload Agent Address Ports Message
certificate-authority/0* active idle
cinder-ceph-mysql-router/0* active idle
cinder-ceph/0* blocked idle (ceph) integration missing
cinder-mysql-router/0* active idle
cinder-mysql/0* active idle Primary
cinder/0* waiting idle (workload) Not all relations are ready
glance-mysql-router/0* active idle
glance-mysql/0* active idle Primary
glance/0* waiting idle (ingress-internal) integration incomplete
horizon-mysql-router/0* active idle
horizon-mysql/0* active idle Primary
horizon/0* waiting idle (workload) Not all relations are ready
keystone-mysql-router/0* active idle
keystone-mysql/0* active idle Primary
keystone/0* waiting idle (workload) Not all relations are ready
neutron-mysql-router/0* active idle
neutron-mysql/0* active idle Primary
neutron/0* waiting idle (workload) Not all relations are ready
nova-api-mysql-router/0* active idle
nova-cell-mysql-router/0* active idle
nova-mysql-router/0* active idle
nova-mysql/0* active idle Primary
nova/0* waiting idle (workload) Not all relations are ready
ovn-central/0* active idle
ovn-relay/0* active idle
placement-mysql-router/0* active idle
placement-mysql/0* active idle Primary
placement/0* waiting idle (workload) Not all relations are ready
rabbitmq/0* active idle
traefik/0* waiting idle gateway address unavailable

I think the core problem is “gateway address unavailable” for traefik/0*. How to solve it? Thanks.

I fix this by running the following cmds:

sudo microk8s disable metallb
sudo microk8s enable metallb:

After some tests, I found that when using an HDD instead of an SSD, I encounter the issue. When using an SSD, the deployment is completed without timeouts. The document states that an SSD is a requirement. However, some other documents like these tutorials do not explicitly mention in the Requirements section that an SSD is necessary. My suggestion would be to align the requirements mentioned in document with those in tutorials like the doc.

Thanks @pedrofragola, I updated the three tutorials in this documentation set. @tkurek I believe you are maintaining the tutorials on right?

1 Like

Thanks for bringing that to my attention @pmatulis. I’ve already updated tutorials at

1 Like

Two questions will now be asked - below are samples. A value in parentheses is the default value.

Management networks shared by hosts (CIDRs, separated by comma) (
MetalLB address allocation range (supports multiple ranges, comma separated) (

An explanation of the above quoted settings is required here and also for the list of questions below:

A series of questions will now be asked. Below is sample output of an entire interactive session. The values in square brackets, when present, provide acceptable values. A value in parentheses is the default value.

Local or remote access to VMs [local/remote] (local): remote
CIDR of network to use for external networking (
IP address of default gateway for external network (
Populate OpenStack cloud with demo user, default images, flavors etc [y/n] (y):
Username to use for access to OpenStack (demo):
Password to use for access to OpenStack (mt********):
Network range to use for project network (
List of nameservers guests should use for DNS resolution (
Enable ping and SSH access to instances? [y/n] (y):
Start of IP allocation range for external network (
End of IP allocation range for external network (
Network type for access to external network [flat/vlan] (flat):
Writing openrc to demo-openrc ... done
Free network interface that will be configured for external traffic [eno3/eno2] (eno3): eno2

I want to setup on single node such that I can access the VMs remotely. However, an instruction on single node quickstart guide pointed here. During the bootstrapping and configuring the cloud steps. I have no idea what settings to enter based on my local network. I have also tried looking for any tutorials/guides elsewhere but couldn’t find any.

A link to an appropriate resource explaining the details of the questions/prompts may be extremely beneficial for a new microstack user like me.

Thank you.

Hi! I can’t launch a ubuntu VM after deploy the openstack single-node mode, there are output of deploy steps, I don’t know why it can’t launch a VM. How to solve it? Thanks.

Btw I use Ubuntu 22.04 LTS (22.04.3) on GCP, 8 vCPU (4 cores), 32 GB memory, 80 GiB of SSD

ubuntu@openstack-sunbeam:~$ sudo snap install openstack --channel 2023.1
openstack (2023.1/stable) 2023.1 from Canonical✓ installed
ubuntu@openstack-sunbeam:~$ sunbeam prepare-node-script | bash -x && newgrp snap_daemon
++ lsb_release -sc
+ '[' jammy '!=' jammy ']'
++ whoami
+ USER=ubuntu
++ id -u
+ '[' 1000 -eq 0 -o ubuntu = root ']'
+ SUDO_ASKPASS=/bin/false
+ sudo -A whoami
+ sudo grep -r ubuntu /etc/sudoers /etc/sudoers.d
+ dpkg -s openssh-server
+ echo 'fs.inotify.max_user_instances = 1024'
+ sudo tee /etc/sysctl.d/80-sunbeam.conf
fs.inotify.max_user_instances = 1024
+ sudo sysctl -q -p /etc/sysctl.d/80-sunbeam.conf
+ sudo snap connect openstack:ssh-keys
+ sudo addgroup ubuntu snap_daemon
Adding user `ubuntu' to group `snap_daemon' ...
Adding user ubuntu to group snap_daemon
+ newgrp snap_daemon
Generating public/private rsa key pair.
Your identification has been saved in /home/ubuntu/.ssh/id_rsa
Your public key has been saved in /home/ubuntu/.ssh/
The key fingerprint is:
SHA256:nI3Uzz+LWj7hx0HV1Ryn3eDWdP2uQIs15fkxTXb8SuY ubuntu@openstack-sunbeam
The key's randomart image is:
+---[RSA 4096]----+
|              .+@|
|         .   ..*#|
|        . .  o+=O|
|       o + o+.*o+|
|        S .+oB +o|
|          . +.E o|
|           ..+oo |
|           oo.+o |
|          ..oo.  |
# SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4
# SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4
# SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4
# SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4
# SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4
juju (3.2/stable) 3.2.3 from Canonical✓ installed
ubuntu@openstack-sunbeam:~$ sunbeam cluster bootstrap --accept-defaults
Node has been bootstrapped with roles: control, compute
ubuntu@openstack-sunbeam:~$ sunbeam configure --accept-defaults --openrc demo-openrc
Writing openrc to demo-openrc ... done
ubuntu@openstack-sunbeam:~$ sunbeam openrc > admin-openrc
ubuntu@openstack-sunbeam:~$ source demo-openrc
ubuntu@openstack-sunbeam:~$ sunbeam launch ubuntu --name test
Launching an OpenStack instance ...
⠏ Creating the OpenStack instance ... Instance creation request failed: Server:71e6879d-cd43-440a-b650-cabf60d37eb8 transitioned to failure state ERROR
Error: Unable to request new instance. Please run `sunbeam configure` first.
ubuntu@openstack-sunbeam:~$ cat demo-openrc
# openrc for demo
export OS_AUTH_URL=
export OS_USERNAME=demo
export OS_USER_DOMAIN_NAME=users
export OS_PROJECT_NAME=demo

This is my first time here :slight_smile:

Thank you