Comment 2 for bug 2024486

Revision history for this message
Edward Ramirez Wilches (edwardrw) wrote :

Hello, I have the same issue. I am installing OpenStack (sudo snap install openstack --channel 2023.1) from scratch and I got the error. Please, tell me how to fix this issue.

radware@t4kvm4:~$ sudo sunbeam cluster bootstrap --accept-defaults
Error bootstrapping Juju
Traceback (most recent call last):
  File "/snap/openstack/247/lib/python3.10/site-packages/sunbeam/commands/juju.py", line 290, in run
    process = subprocess.run(cmd, capture_output=True, text=True, check=True)
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/snap/openstack/247/juju/bin/juju', 'bootstrap', 'sunbeam', 'sunbeam-controller', '--agent-version=3.2.0']' returned
non-zero exit status 1.
Creating Juju controller "sunbeam-controller" on sunbeam/default
Looking for packaged Juju agent version 3.2.0 for amd64
Located Juju agent version 3.2.0-ubuntu-amd64 at https://streams.canonical.com/juju/tools/agent/3.2.0/juju-3.2.0-linux-amd64.tgz
ERROR failed to bootstrap model: machine is already provisioned

Error: Command '['/snap/openstack/247/juju/bin/juju', 'bootstrap', 'sunbeam', 'sunbeam-controller', '--agent-version=3.2.0']' returned non-zero exit status 1.
radware@t4kvm4:~$
radware@t4kvm4:~$ sudo juju controllers
ERROR No controllers registered.

Please either create a new controller using "juju bootstrap" or connect to
another controller that you have been given access to using "juju register".

radware@t4kvm4:~$
radware@t4kvm4:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
radware@t4kvm4:~$