On restore snapshot: Failed to create the VirtualBox object! (#18823)

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

On restore snapshot: Failed to create the VirtualBox object! (#18823)

Post by Splarv »


ModEdit; related ticket: #18823: Failed to create the VirtualBox object!
I develop HA cluster and use VirtualBox to test the system in loop. On some tests I restore all VMs to the snapshot by command:

Code: Select all

VBoxManage snapshot "$host" restore "$snapshot"
And sometimes get error:
+ VBoxManage snapshot tuchanka0a restore setup
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
Ticket is #18823 ( I can not post direct link yet.) I'll attach log to the ticked.
Last edited by socratis on 30. Aug 2019, 19:35, 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: On restore snapshot: Failed to create the VirtualBox object! (#18823)

Post by socratis »

I could swear that I replied to you, either here or in the ticket, but maybe I closed the tab before I hit the submit button? :?
Splarv wrote:and use VirtualBox to test the system in loop
Can we see the script that you're using for the loop? You might be not giving enough breathing room for VirtualBox to process all commands, you may need to introduce a delay (or two or more) in there somewhere...
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