Error removing cluster node

Bug #2028278 reported by Francesco De Simone
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Snap
New
Undecided
Unassigned

Bug Description

I deployed a sunbeam cluster

 sunbeam cluster list
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━
┃ Node ┃ Status ┃ Control ┃ Compute ┃ Storage ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━
│ node08.orangebox84.io │ up │ │ x │ x │
│ node09.orangebox84.io │ up │ │ x │ x │
│ node10.orangebox84.io │ up │ x │ x │ x │
└───────────────────────┴────────┴─────────┴─────────┴─────────

I am trying to remove a cluster node but I got this:

```
sunbeam cluster remove --name node08.orangebox84.io
Error removing machine 2 from Juju
Traceback (most recent call last):
  File "/snap/openstack/182/lib/python3.10/site-packages/sunbeam/commands/juju.py", line 706, in run
    process = subprocess.run(cmd, capture_output=True, text=True, check=True)
  File "/usr/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/snap/openstack/182/juju/bin/juju', 'remove-machine', '-m', 'admin/controller', '2', '--no-prompt']' returned non-zero exit status 1.
ERROR removing machine failed: machine 2 has unit "sunbeam-machine/2" assigned

Error: Command '['/snap/openstack/182/juju/bin/juju', 'remove-machine', '-m', 'admin/controller', '2', '--no-prompt']' returned non-zero exit status 1.
```

sunbeam channel: 2023.1/stable

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.