one icon indicating copy to clipboard operation
one copied to clipboard

onevm recover --recreate cannot be issued in POWEROFF state

Open OpenNebulaSupport opened this issue 2 years ago • 0 comments

Description Remove the POWEROFF state limitation when issuing the one.vm.recover call with the --recreate flag. It currently excludes STOPPED, UNDEPLOYED, SUSPENDED and POWEROFF as states that the VM cannot be recovered from.

Use case For the case of the VM being POWEROFF, there is seemingly no reason to not be able to recreate the VM on that state.

Progress Status

  • [x] Code committed
  • [x] Testing - QA
  • Documentation
    • [x] onevm recover CLI help
    • [ ] VM state reference diagram
    • [x] XMLRPC reference

OpenNebulaSupport avatar Feb 06 '24 23:02 OpenNebulaSupport