No way to remove the deployment from the client

Bug #2067509 reported by Tytus Kurek
6
This bug affects 1 person
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.

Revision history for this message
Andre Ruiz (andre-ruiz) wrote (last edit ):

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
juju destroy-model --destroy-storage --no-prompt --force --no-wait openstack-machines && sleep 5
juju destroy-controller --no-prompt --destroy-storage --force sunbeamci-controller && sleep 5
sudo snap remove --purge juju
sudo snap remove --purge openstack
rm -rf ~/.local/share/juju
rm -rf ~/.local/share/openstack

Changed in snap-openstack:
status: New → Confirmed
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.