[Nix-dev] Nixops on headless server

Marco Maggesi maggesi at math.unifi.it
Thu Apr 3 21:19:53 CEST 2014


Yes, but...
Isn't the option

  deployment.virtualbox.headless = true;

for
nodes
 without GUI?

M.



2014-04-03 15:09 GMT+02:00 Colin Putney <colin at wiresong.com>:

>
>
>
> On Wed, Apr 2, 2014 at 6:40 AM, Marco Maggesi <maggesi at math.unifi.it>wrote:
>
>> Hi, there seems to be again a problem with nixops with virtualbox
>> headless nodes.
>>
>> $ nixops deploy -d minicloud
>> webserver> creating VirtualBox VM...
>> webserver> Virtual machine
>> 'nixops-24856f59-ba5b-11e3-a2e6-2d15dd5fa0ff-webserver' is created and
>> registered.
>> webserver> UUID: d6ea884c-3173-4e12-bada-aeff1112c39c
>> webserver> Settings file: '/home/maggesi/VirtualBox
>> VMs/nixops-24856f59-ba5b-11e3-a2e6-2d15dd5fa0ff-webserver/nixops-24856f59-ba5b-11e3-a2e6-2d15dd5fa0ff-webserver.vbox'
>> webserver> creating disk 'disk1'...
>> webserver> 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
>> webserver> Clone hard disk created in format 'VDI'. UUID:
>> ad027933-92f8-4655-8f63-a3bf582122b8
>> webserver> attaching disk 'disk1'...
>> webserver> VBoxManage: error: The virtual machine
>> 'nixops-24856f59-ba5b-11e3-a2e6-2d15dd5fa0ff-webserver' has terminated
>> unexpectedly during startup with exit code 1
>> webserver> VBoxManage: error: Details: code NS_ERROR_FAILURE
>> (0x80004005), component Machine, interface IMachine
>> webserver> Waiting for VM
>> "nixops-24856f59-ba5b-11e3-a2e6-2d15dd5fa0ff-webserver" to power on...
>> webserver> waiting for IP address...........
>>
>> Can you test and confirm the problem.
>>
>
> Works fine for me. This looks like a problem with VirtualBox, not nix.
>
> According to https://www.virtualbox.org/ticket/7367,
>
> it's that you don't have a GUI available, so VirtualBox can't open a
> window for the console.
>
> Colin
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140403/07ade1f0/attachment-0001.html 


More information about the nix-dev mailing list