Snapshot date/time returned in xml seems to be mis-aligned
Issue
- The default image (in the snapshot TAB) of the VM has a time associated which is I believe the create_date/creation_date
- The issue is when 2 snapshots this VM are taken, the Date/Time associated with the snapshot is shifted down.
For Example:
============
[Without any snapshot]
============================================
Date Description Disks
Current <jasontestvm> Disk 1
============================================
- Querying through REST-API (curl) at this stage gives the following:
===snip===
<snapshot id="5baa4d90-848e-42dd-9a01-8b90d42ca1b1"
<description>_ActiveImage_jasontestvm_Mon Feb 11 18:21:32 UTC 2013</description>
<date>2013-02-11T18:19:17.000Z</date>
===snip===
- Now TWO snapshots of this VM are taken.
- So the RHEV-Manager-Admin-Portal displays this as:
=========================================================================
Date Description Disks
Current <jasontestvm> Disk 1
2013-Feb-11, 18:21 Snap - created 2-11-2012 at 1321 Disk 1
2013-Jan-23, 15:40 test 2 Disk 1
=========================================================================
- Querying through REST-API (curl) at this stage gives the following:
===snip===
Base Image:
<snapshot id="5baa4d90-848e-42dd-9a01-8b90d42ca1b1"
<description>_ActiveImage_jasontestvm_Mon Feb 11 18:21:32 UTC 2013</description>
<date>2013-02-11T18:19:17.000Z</date>
Second-Snapshot:
<snapshot id="6981100b-a0d7-4824-956a-1253905f4775"
<description>Snap - created 2-11-2013 at 1321</description>
<date>2013-01-23T15:45:49.000Z</date> --------> This is the time of the "Base_Image"
First Snapshot:
<snapshot id="e47f2555-1e56-45cd-b1b0-ce0f523e71ee"
<description>test 2</description>
<date>2013-01-23T15:36:24.000Z</date> --------> This is the time of the "SecondSnapshot"
===snip===
- Wherein the ordering of the snapshots is like:
<Default-Image>
|
+--<Second-Snapshot>
|
+--<First-Snapshot>
- RHEV-Manager seems to shift the creation-times also Downwards. So the creation times are assigned like below:
<Default-Image>
|
+--<Second-Snapshot> <<<-----Assigned creation time of Default-Image
|
+--<First-Snapshot> <<<------Assigned creation time of Second-Snapshot
Environment
- Red Hat Enterprise Virtualization 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.