rdbreak / rhce7env

This is a RHCE 7 study environment built with Vagrant/Ansible
https://join.slack.com/t/redhat-certs/shared_invite/zt-7ju3rz7b-_G3Njp3PDwdBG_81SwPeLA
MIT License
9 stars 2 forks source link

"vagrant up" failing after "vagrant halt" #2

Closed anderssh closed 4 years ago

anderssh commented 4 years ago

When using vagrant halt to stop my virtual machines, I get errors when using vagrant up to start my environment again. Using Virtualbox 6.0.16 and Vagrant 2.2.7 on Mac

A customization command failed:

["storagectl", :id, "--name", "SATA Controller", "--add", "sata", "--portcount", 2]

The following error was experienced:

#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["storagectl", "b5b58256-06a7-4842-af58-fe40c00ebeb7", "--name", "SATA Controller", "--add", "sata", "--portcount", "2"]

Stderr: VBoxManage: error: Storage controller named 'SATA Controller' already exists
VBoxManage: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "AddStorageController(Bstr(pszCtl).raw(), StorageBus_SATA, ctl.asOutParam())" at line 1080 of file VBoxManageStorageController.cpp
>

Please fix this customization and try again.
rdbreak commented 4 years ago

I figured out a way to get this working.

The newest push should fix this.

Thanks!