Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

error while loading up mds02 #4

Open
AshishPurkar opened this issue Mar 3, 2017 · 4 comments
Open

error while loading up mds02 #4

AshishPurkar opened this issue Mar 3, 2017 · 4 comments

Comments

@AshishPurkar
Copy link

I'm able vagrant up mds01 followed by reload and same for oss01 and centos7. But it fails to up mds02 and oss02 with following error -
vagrant-lustre-tutorial>vagrant up mds02
Bringing machine 'mds02' up with 'virtualbox' provider...
==> mds02: Checking if box 'puppetlabs/centos-6.6-64-nocm' is up to date...
==> mds02: Clearing any previously set forwarded ports...
==> mds02: Fixed port collision for 22 => 2222. Now on port 2202.
==> mds02: Clearing any previously set network interfaces...
==> mds02: Preparing network interfaces based on configuration...
mds02: Adapter 1: nat
mds02: Adapter 2: hostonly
==> mds02: Forwarding ports...
mds02: 22 (guest) => 2202 (host) (adapter 1)
==> mds02: Running 'pre-boot' VM customizations...
==> mds02: Booting VM...
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "dfb0e6b8-2aa0-4fdc-93d0-d1cf235dadf1", "--type", "headless
"]

Stderr: VBoxManage.exe: error: Locking of attached media failed. A possible reas
on is that one of the media is attached to a running VM
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), c
omponent SessionMachine, interface IMachine

@marcindulak
Copy link
Owner

Which versions are you using?

vboxmanage --version
vagrant --version

also make sure there no old vagrant-lustre-tutorial-centos6_mds* vagrant-lustre-tutorial-centos6_oss* under ~/VirtualBox\ VMs

@marcindulak
Copy link
Owner

Closing, unable to reproduce with

$ vboxmanage --version
5.1.16r113841
$ vagrant --version
Vagrant 1.9.2

and no response from the user.

@AshishPurkar
Copy link
Author

There were old vms present.
$ ls | grep centos6
vagrant-lustre-tutorial_centos6_1461646052732_6107/
vagrant-lustre-tutorial_centos6_1462339601635_46725/
vagrant-lustre-tutorial_centos6_1488452995818_90553/
vagrant-lustre-tutorial_centos6_lustre18_1462340133079_62054/
vagrant-lustre-tutorial_centos6_lustre18_1488453419446_82411/
work_centos65-x64 Clone/
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe --version
5.1.14r112924
and
$ vagrant --version
Vagrant 1.8.6

@marcindulak marcindulak reopened this Mar 9, 2017
@marcindulak
Copy link
Owner

You can see that there are several instances of the same VM. Try to reproduce again, after cleaning up:

From the vagrant-lustre-tutorial-centos6 folder:

vagrant destroy -f
cd ..
Remove-Item -Force -Recurse vagrant-lustre-tutorial-centos6

From the folder where Windows stores VMs:

Remove-Item -Force -Recurse vagrant-lustre-tutorial_centos6*

This may be not sufficient to remove all information from virtualbox,
and you need to start virtualbox GUI manually and remove any references to these vagrant-lustre-tutorial_centos6* VMs. Then start the tutorial instructions again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants