VirtualBox

Ticket #6070 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

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

Reported by: romut 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

comment:1 Changed 10 years ago by sandervl73

  • priority changed from blocker to major
  • Summary changed from Snapshot commande doesn't work to Snapshot 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 Changed 10 years ago by romut

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

comment:3 Changed 10 years ago by sandervl73

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

comment:4 Changed 10 years ago by romut

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 Changed 10 years ago by sandervl73

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

showvminfo works fine here.

comment:6 Changed 10 years ago by romut

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 Changed 10 years ago by sandervl73

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 Changed 10 years ago by sandervl73

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

comment:9 Changed 10 years ago by romut

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 Changed 10 years ago by romut

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

comment:12 Changed 10 years ago by romut

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 Changed 10 years ago by sandervl73

Great. Thanks for the feedback.

comment:14 Changed 10 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use