Bug 1196558 - [RFE] Implement api support to memory snapshots
Summary: [RFE] Implement api support to memory snapshots
Keywords:
Status: CLOSED DUPLICATE of bug 1150239
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-26 09:44 UTC by Ori Gofen
Modified: 2016-05-26 01:49 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-27 12:19:54 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ori Gofen 2015-02-26 09:44:56 UTC
Description of problem:

1. Proposed title of this feature request

Implement api support to memory snapshots

2. What is the nature and description of the request?

Memory snapshots are very costly in terms of storage usage, The size of this snapshot is dependent on VM's ram size, there ought to be a way that our costumers be able to perform delete operation on a such expensive volume.
The main idea is to implement rest-api,py-sdk operations to memory snapshots, the same way it is now implemented on a single-data snapshots.
For example: we would like to reach the memory snapshot class via vms class and perform this operations on it:

memory_snapshot = VM.memory_snapshots.list()[0]
memory_snapshot.get_description()
memory_snapshot.get_size()
memory_snapshot.delete() <-- most important actually.

3. Why does the customer need this? (List the business requirements here)

For example: When a costumer takes a live snapshot of a VM with 16G memory size,  the total "storage price" he is paying starts from PRICE > 16G, several times I have encountered  costumers and internal users that wanted to keep the data part of a snapshot but to get rid of the big memory image that came with it, without being able of finding a safe way to do so.
I know for a fact this RFE can help a lot to balance storage allocation on oVirt

4. Is there already an existing RFE upstream or in Red Hat Bugzilla?
not that I know of

Comment 1 Allon Mureinik 2015-02-27 12:19:54 UTC
There's no need for a specific API for memory snapshots - what needs to happen is that we represent the memory volumes like any other volume (probably with a "type" field and methods to allow querying by it). Once this is done, we should get all the operations on it for "free".

I'm closing this BZ as a duplicate, as bug 1150239 is already tracking this.

*** This bug has been marked as a duplicate of bug 1150239 ***


Note You need to log in before you can comment on or make changes to this bug.