Backlog #4828

Allow to Save As a vm disk while the vm is in any state (such as undeployed)

Added by John Noss almost 5 years ago. Updated about 4 years ago.

Status:PendingStart date:09/28/2016
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:Release 5.6

Description

Currently a vm disk can only be saved (via Save As in Sunstone, or onevm disk-saveas from cli) if the vm is running (or in suspended/poweroff state), but not if the vm is undeployed (or any other state). For Ceph datastore, the vm disk is accessible in all cases, so it would be nice if OpenNebula could Save As a vm disk while the vm is in any state.

Current output when trying to run onevm disk-saveas for a disk on an undeployed vm:
[VirtualMachineDiskSaveas] VM has to be RUNNING, POWEROFF or SUSPENDED to save disks.

Desired result: OpenNebula controller supports Save As for a vm disk while the vm is in any state.

Also, the ceph driver scripts will be able to access the ceph disk from any host in the bridge list, so the disk saveas to a new image could happen on any of them, not necessarily just the hypervisor it was most recently running on.


Related issues

Related to Feature #5374: Improve VM save_as logic New 09/18/2017

History

#1 Updated by Tino Vázquez almost 5 years ago

  • Target version set to Release 5.4

#2 Updated by Ruben S. Montero over 4 years ago

  • Category set to Core & System

#3 Updated by Tino Vázquez over 4 years ago

This feature needs to be considered in vCenter

#4 Updated by Ruben S. Montero about 4 years ago

  • Tracker changed from Feature to Backlog
  • Priority changed from Normal to High
  • Target version changed from Release 5.4 to Release 5.6

#5 Updated by Ruben S. Montero almost 4 years ago

Also available in: Atom PDF