canonical / canonical/canonical-openstack-docs

Docs / How to delete a deployment

Open
#105 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10
Forks
36
Avg merge
4d 13h
Merged PRs (30d)
5

Description

I created a deployment
```bash
sunbeam deployment add maas $SUNBEAM_DEPLOYMENT_NAME "$MAAS_API_SUNBEAM" $MAAS_ENDPOINT
```

Now I want to delete it
But cannot find the command for it

```bash
# ubuntu@infra-01:~$ sunbeam deployment list
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━┓
┃ Deployment ┃ Endpoint ┃ Type ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━┩
│ root │ http://172.29.160.130:5240/MAAS │ maas │
│ second* │ http://172.29.160.130:5240/MAAS │ maas │
└────────────┴─────────────────────────────────┴──────┘
```

```bash
# ubuntu@infra-01:~$ 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.
```

```bash
# ubuntu@infra-01:~$ sunbeam deployment rm root
Usage: sunbeam deployment [OPTIONS] COMMAND [ARGS]...
Try 'sunbeam deployment -h' for help.
Error: No such command 'rm'.

# ubuntu@infra-01:~$ sunbeam deployment delete root
Usage: sunbeam deployment [OPTIONS] COMMAND [ARGS]...
Try 'sunbeam deployment -h' for help.
Error: No such command 'delete'.

# ubuntu@infra-01:~$ sunbeam deployment remove root
Usage: sunbeam deployment [OPTIONS] COMMAND [ARGS]...
Try 'sunbeam deployment -h' for help.
Error: No such command 'remove'.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.