Feature #8

Do not delete host, insted disabled them

Added by Ruben S. Montero over 3 years ago. Updated almost 3 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Javi Fontan % Done:

90%

Category:Client API & Library
Target version:Release 1.4
Resolution:fixed Addon:
Story points-
Velocity based estimate-

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

Revision 68e2797a
Added by Javi Fontan almost 3 years ago

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

Revision 0ffe14c3
Added by Javi Fontan almost 3 years ago

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

Updated by Ruben S. Montero over 3 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.

Updated by Javi Fontan almost 3 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.

Updated by Javi Fontan almost 3 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF