#720483 vagrant: Getting VBoxManage error message on 'vagrant halt' and 'vagrant package'

Package:
vagrant
Source:
vagrant
Description:
Tool for building and distributing virtualized development environments
Submitter:
Denys Gavrysh
Date:
2013-08-22 13:09:06 UTC
Severity:
normal
#720483#5
Date:
2013-08-22 13:05:14 UTC
From:
To:
Dear Maintainer,

Sometimes when I'm stopping VirtualBox VM with 'vagrant halt' command or
packaging live VM with 'vagrant package', I receive such error:
----
[my_vm] Attempting graceful shutdown of VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["showvminfo", "e29614d3-1225-4fd9-9940-797ade576c75", "--machinereadable"]

Stderr: VBoxManage: error: The object is not ready
VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "COMGETTER(ChipsetType)(&aChipset)" at line 76 of file VBoxManageControlVM.cpp
VBoxManage: error: The object is not ready
VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "COMGETTER(BandwidthControl)(bwCtrl.asOutParam())" at line 2061 of file VBoxManageInfo.cpp
----

It happens irregular and seems VM stops successfully anyway, but 'package'
command fails.

I have tryied to catch the error with VBoxManage directly while VM was shutting
down with no luck. So I suppose it is really a bug in vagrant.