VirtualBox

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6070 closed defect (fixed)

Snapshot commande doesn't work -> fixed in SVN/3.1.4

Reported by: Romuald Tisserand Owned by:
Component: VM control Version: VirtualBox 3.1.2
Keywords: snapshot Cc:
Guest type: other Host type: Windows

Description

Many problems with the snapshot command on Windows host.

Tested VB 3.1 and 3.1.2 with:
W7 Pro host and Haiku guest
XP Pro host and W7Pro guest.

Snapshot tree:

Initial
  s1
    s1.1
    s1.2
  s2

Pre-condition 1: s2 is the current active snapshot.
Test case 1: vboxmanage snapshot "Haiku" restore "s1".
Result 1: No error, but the restored snapshot is "Initial", wrong result.

Pre-condition 2: Initial is the current active snapshot.
Test case 2: vboxmanage snapshot "Haiku" restore "s1".
Result 2: No error, but the restored snapshot is still "Initial", wrong result.

Pre-condition 3: Initial is the current active snapshot.
Test case 3: vboxmanage snapshot "Haiku" delete "s2".
Result 3: The following error occurs:

ERROR: Argument aId is invalid (must be Guid(aId).isEmpty() == false)
Details: code E_INVALIDARG (0x80070057), component Console, interface IConsole, callee IUnknown
Context: "DeleteSnapshot(guidSnap, pProgress.asOutParam())" at line 369 of file VBoxManageSnapshot.cpp

All of this make VB pretty useless to me instead someone can provide me a good workaround.

Change History (14)

comment:1 by Sander van Leeuwen, 14 years ago

priority: blockermajor
Summary: Snapshot commande doesn't workSnapshot commande doesn't work -> fixed in SVN/3.1.4

Lookup by name is broken in VBoxManage. Either use UUIDs or fall back to the GUI.

comment:2 by Romuald Tisserand, 14 years ago

Ok, how can I know the GUIDs of my snapshots? Any release date for the fix? Thanks.

comment:3 by Sander van Leeuwen, 14 years ago

VBoxManage showvminfo will list all snapshots by UUID at the bottom of the output.

comment:4 by Romuald Tisserand, 14 years ago

Ok, so I have to parse the whole showvminfo to get this information. Not really funny.

I've seen there is a showvminfo sub command for the snapshot, but it doesn't work either.

comment:5 by Sander van Leeuwen, 14 years ago

I'm glad you're so happy about the free support you received.

showvminfo works fine here.

comment:6 by Romuald Tisserand, 14 years ago

Ok, I agree my comments can be read as a bit harsh, my apologizes. But please, also understand my position, I bought 3 licenses of VB for a software a major feature (snapshot) doesn't work on command line. To me, it's really blocking or I have to spent hours to write a script to parse the showvminfo output to do I expect from VB.

About showvminfo, you're right it works. I just hoped using the snapshot showvminfo sub command would provide a more concise output only about snapshots, that's unfortunately not the case.

Is there any release date for the fix of the snapshot command?

And many thanks for your support.

comment:7 by Sander van Leeuwen, 14 years ago

If you can wait a bit more (one or two weeks; unfortunately no guarantee), then you can just upgrade to 3.1.4. The other option is to downgrade to 3.0.12.

comment:8 by Sander van Leeuwen, 14 years ago

I can also give you access to a test build if you like.

comment:9 by Romuald Tisserand, 14 years ago

Good news, yes I'm interested by a test build, 3.0.12 is not an option as the 3.1 snapshot feature is a great progress.

A test build could be the solution to me to finalize my scripts while waiting the 3.1.4. Must I provide an e-mail address?

Thanks again, this will really help me.

comment:11 by Romuald Tisserand, 14 years ago

Many thanks, I'll let you know if it saves my life.

comment:12 by Romuald Tisserand, 14 years ago

After some few tests, I can tell you that you save my life. This build seems to work perfectly, at least, the snapshot command works as expected.

Many many thanks to you, I'am preparing my scripts for my production environnement with the upcoming 3.1.4.

Thank you very much again for your help.

comment:13 by Sander van Leeuwen, 14 years ago

Great. Thanks for the feedback.

comment:14 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use