No way to remove the deployment from the client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
It looks like in the 2024.1/edge version of the openstack snap there's no way to remove the existing deployment from the client machine:
guardian@client:~$ sunbeam deployment --help
Usage: sunbeam deployment [OPTIONS] COMMAND [ARGS]...
Manage deployments.
Options:
-h, --help Show this message and exit.
Commands:
add Add a deployment.
export Export deployment.
import Import deployment.
list List OpenStack deployments.
machine Manage machines.
network Manage networks.
show Show deployment detail.
space Manage spaces.
switch Switch deployment.
validate Validate deployment.
zone Manage zones.
That would be a useful option if the deployment is no longer needed.
Changed in snap-openstack: | |
status: | New → Confirmed |
Just for the record, currently I'm destroying the maas deployment from the client machine with this commands. It works but it is not ideal.
juju destroy-model --destroy-storage --no-prompt --force --no-wait openstack && sleep 5 controller && sleep 5 share/openstack
juju destroy-model --destroy-storage --no-prompt --force --no-wait openstack-machines && sleep 5
juju destroy-controller --no-prompt --destroy-storage --force sunbeamci-
sudo snap remove --purge juju
sudo snap remove --purge openstack
rm -rf ~/.local/share/juju
rm -rf ~/.local/