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:~$
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 openstack/ 247/lib/ python3. 10/site- packages/ sunbeam/ commands/ juju.py" , line 290, in run output= True, text=True, check=True) python3. 10/subprocess. py", line 526, in run ror(retcode, process.args, CalledProcessEr ror: Command '['/snap/ openstack/ 247/juju/ bin/juju' , 'bootstrap', 'sunbeam', 'sunbeam- controller' , '--agent- version= 3.2.0'] ' returned controller" on sunbeam/default /streams. canonical. com/juju/ tools/agent/ 3.2.0/juju- 3.2.0-linux- amd64.tgz
Error bootstrapping Juju
Traceback (most recent call last):
File "/snap/
process = subprocess.run(cmd, capture_
File "/usr/lib/
raise CalledProcessEr
subprocess.
non-zero exit status 1.
Creating Juju controller "sunbeam-
Looking for packaged Juju agent version 3.2.0 for amd64
Located Juju agent version 3.2.0-ubuntu-amd64 at https:/
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:~$