[BUG] Cannot delete machine in ERROR state
- Dominant language
- Python
- Stars
- 3
- Forks
- 4
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 11
Description
### Affected Command
ewc infra delete
### Describe the issue
VM in ERROR state cannot be deleted
### Steps to Reproduce
Have a machine in ERROR state
try to delete with ewc infra delete VM_NAME
### Expected Behavior
VM is deleted
### Logs or Output
```shell
((newtestewccli) ) murdaca@fra-dev-new:~/work-ewc/ewccli-github$ ewc infra list
[09/04/26 15:16:19] INFO Using `default` profile.
[09/04/26 15:16:19] INFO Listing only VMs created with EWC CLI. If you want to see all VMs, use --show-all flag.
Openstack Servers
╷ ╷ ╷ ╷
Name │ Status │ Networks │ Keypair │ Flavor
═════════════════════╪════════╪══════════╪════════════════════════╪═════════════
ssh-bastion-flavour │ ERROR │ │ murdaca-ewccli-keypair │ 4cpu-4gbmem
╵ ╵ ╵ ╵
((newtestewccli) ) murdaca@fra-dev-new:~/work-ewc/ewccli-github$ ewc infra delete ssh-bastion-flavour
[09/04/26 15:16:27] INFO Using `default` profile.
[09/04/26 15:16:30] INFO Pre delete server steps starting...
[09/04/26 15:16:30] ERROR ❌ Could not find networks for this machine.
╭─ Error ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ ❌ Could not find networks for this machine. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
```
### Environment
Linux
### EWC CLI Version
0.9.1
Contributor guide
Assessment
This issue has not been assessed yet.