Feature #8
Do not delete host, insted disabled them
Status: | Closed | Start date: | |||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | Javi Fontan | % Done: | 90% | ||
Category: | Client API & Library | ||||
Target version: | Release 1.4 | ||||
Resolution: | fixed | Pull request: |
Description
Currently one lets manage and do operations with orphans Vm's (VM with a deleted host), The enhancement will consist of do not delete the HOST and move their state to disabled instead, so no one can make any operations with them (i.e. add a new vm to the host or make them ineligible for scheduling) and let the running VM's finish their lifecycle...
Associated revisions
Disable a host if it has non DONE VMs when deleting (#8)
git-svn-id: http://svn.opennebula.org/one/trunk@489 3034c82b-c49b-4eb3-8279-a7acafdc01c0
Warning message for onevm delete (disabled instead of deleted) (#8)
git-svn-id: http://svn.opennebula.org/one/trunk@504 3034c82b-c49b-4eb3-8279-a7acafdc01c0
History
#1 Updated by Ruben S. Montero almost 13 years ago
- Status changed from New to Assigned
We will implement this at the CLI level. The onehost delete will check if a VM is running and in that case will disable the host. The admin will be notified.
#2 Updated by Javi Fontan about 12 years ago
- % Done changed from 0 to 90
onehost delete command now works as expected an only deletes the host if there are no VMs in that host (failed VMs also count).
It may be useful to print a warning when the host is disabled instead of deleted.
#3 Updated by Javi Fontan about 12 years ago
- Status changed from New to Closed
- Resolution set to fixed