[Nix-dev] nixops based virtualbox machine fails to deploy due to VERR_FILE_NOT_FOUND

Bas van Dijk v.dijk.bas at gmail.com
Fri Dec 5 07:28:05 CET 2014


Hello,

I'm trying to deploy a nixops network where myMachine should be
deployed to a virtualbox VM:

  deployment.targetEnv = "virtualbox";

However I'm getting the following error:

$ nixops deploy -d my-network -I ..
myMachine> creating VirtualBox VM...
myMachine> Virtual machine
'nixops-e299e202-7c41-11e4-9674-08002734fdef-myMachine' is created and
registered.
myMachine> UUID: 67f7f03a-114e-41ef-8927-9e3983ff8bba
myMachine> Settings file: '/home/bas.van.dijk/VirtualBox
VMs/nixops-e299e202-7c41-11e4-9674-08002734fdef-myMachine/nixops-e299e202-7c41-11e4-9674-08002734fdef-myMachine.vbox'
myMachine> creating disk ‘disk1’...
myMachine> these derivations will be built:
myMachine>   /nix/store/c5jny1wz14wlaimbfrmmmvz0z9iysqh7-virtualbox-nixops-13.10.35433.4721802.vdi.drv
myMachine> building path(s)
`/nix/store/24i6jbkg83pdndf6w6z9axmp9v2scwrp-virtualbox-nixops-13.10.35433.4721802.vdi'
myMachine> building
/nix/store/24i6jbkg83pdndf6w6z9axmp9v2scwrp-virtualbox-nixops-13.10.35433.4721802.vdi
myMachine>
myMachine> 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
myMachine> Clone hard disk created in format 'VDI'. UUID:
58fff3fc-0057-4b91-ac2a-d5e7f330cd99
myMachine> attaching disk ‘disk1’...
myMachine> VBoxManage: error: Could not launch a process for the
machine 'nixops-e299e202-7c41-11e4-9674-08002734fdef-myMachine'
(VERR_FILE_NOT_FOUND)
myMachine> VBoxManage: error: Details: code VBOX_E_IPRT_ERROR
(0x80bb0005), component Machine, interface IMachine, callee
nsISupports
myMachine> VBoxManage: error: Context: "LaunchVMProcess(a->session,
sessionType.raw(), env.raw(), progress.asOutParam())" at line 592 of
file VBoxManageMisc.cpp
error: command ‘['VBoxManage', 'startvm',
u'nixops-e299e202-7c41-11e4-9674-08002734fdef-myMachine']’ failed on
machine ‘myMachine’ (exit code 1

Note that the -I .. points to a nixpkgs with a recent checkout of
nixpkgs master.

Any idea what I'm doing wrong?

Cheers,

Bas


More information about the nix-dev mailing list