VBOX_E_INVALID_OBJECT_STATE on acpipowerbutton (#18884)

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
Splarv
Posts: 5
Joined: 9. Aug 2019, 17:45
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: centos

VBOX_E_INVALID_OBJECT_STATE on acpipowerbutton (#18884)

Post by Splarv »


ModEdit; related ticket: #18884: Failed to get a console object
I develop HA cluster and use VirtualBox to test the system in loop. When I test in loop boot/shutdown and have opened GUI, sometimes I see next error window:
Failed to open a session for the virtual machine witness.

Failed to get a console object from the direct session (VBOX_E_INVALID_OBJECT_STATE).

Result Code: VBOX_E_VM_ERROR (0x80BB0003)
Component: MachineWrap
Interface: IMachine {5047460a-265d-4538-b23e-ddba5fb84976
But this does not stop the running test script or virtualbox itself. As far as I see the error is risen on massive (I use 9 VM) simultaneous shutdown by command

Code: Select all

VBoxManage controlvm "$h" acpipowerbutton
I attached the screenshot and logs to the ticked #18884.
Last edited by socratis on 30. Aug 2019, 19:33, edited 1 time in total.
Reason: Added ticket related information.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VBOX_E_INVALID_OBJECT_STATE on acpipowerbutton (#18884)

Post by socratis »

Splarv wrote:use VirtualBox to test the system in loop
Can you post the script that runs the loop? I suspect that you might be doing things too fast in there, and the VMs/VirtualBox are not in the proper state to respond to the specific command.

Also, please don't use the .xz compression, it's rather non-standard. Try something like .gz or .zip. ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply