Re: [Nix-dev] nixops waits forever for SSH
Ok, there is a vboxnet0 but it does not have the necessary IP address. Did I miss a step in the manual? On Fri, Aug 22, 2014 at 2:49 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 22/08/14 01:19, Luca Bruno wrote: Try disabling the firewall in the nixos configuration. Port 22 is open in the firewall by default, so that's not it. Make sure that interface vboxnet0 exists with IP address 192.168.56.1/24, and that there is a route for 192.168.56.0/24. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] nixops waits forever for SSH
Oops, did I not send my previous message to the ML? This is the problem I've had on Ubuntu 14.04, I just changed the IP range for vboxnet0 in VBox GUI and removed other interfaces from there (I also reinstalled virtualbox before that, but it didn't help). I'll give more details when I'm home. Richard Wallace rwall...@thewallacepack.net napisał: I cannot ping it. As Eelco pointed out, vboxnet0 isn't getting assigned the right IP address. Is this the same issue you had? How did change your VBox network configuration to get it working? On Fri, Aug 22, 2014 at 12:56 AM, Tomasz Kontusz tomasz.kont...@gmail.com wrote: Can you ping the IP that nixops gave you? I had a similar problem, and it turned out to be caused by misconfigured networking in VBox Richard Wallace rwall...@thewallacepack.net napisał: On Thu, Aug 21, 2014 at 4:19 PM, Luca Bruno lethalma...@gmail.com wrote: Try disabling the firewall in the nixos configuration. In trivial.nix, I replaced networking.firewall.allowedTCPPorts = [ 80 ]; with networking.firewall.enable = false; nixops was still unable to determine when the ssh server came up in the virtual machine. About the virtualbox issue, it's possible that the vbox kernel of your linux box is not compatible with the nixpkgs virtualbox. That's about what I'd figured too. It's not so bad, I'll just have a ~/nix/bin that I'll put in the PATH. That way I can circumvent the purity of nix-shell somewhat. On Fri, Aug 22, 2014 at 1:15 AM, Richard Wallace rwall...@thewallacepack.net wrote: Hello again, I finally got `nixops deploy -d trivial` to create a virtualbox image and start it - I had to abandon using virtualbox from nixpkgs and instead put the VBoxManage installed by Arch on my PATH. During startup, the IP address is determined correctly and then nixops says, waiting for SSH... and then just waits forever. I can see in the virtualbox console that SSH started, but nixops is unable to see that. Is there a step I am missing? vboxdrv, vboxnetadp and vboxnetflt are all loaded correctly. Thanks again, Rich ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev -- www.debian.org - The Universal Operating System -- nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev -- Wysłane za pomocą K-9 Mail. -- Wysłane za pomocą K-9 Mail. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] nixops waits forever for SSH
Hello again, I finally got `nixops deploy -d trivial` to create a virtualbox image and start it - I had to abandon using virtualbox from nixpkgs and instead put the VBoxManage installed by Arch on my PATH. During startup, the IP address is determined correctly and then nixops says, waiting for SSH... and then just waits forever. I can see in the virtualbox console that SSH started, but nixops is unable to see that. Is there a step I am missing? vboxdrv, vboxnetadp and vboxnetflt are all loaded correctly. Thanks again, Rich ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] nixops waits forever for SSH
On Thu, Aug 21, 2014 at 4:19 PM, Luca Bruno lethalma...@gmail.com wrote: Try disabling the firewall in the nixos configuration. In trivial.nix, I replaced networking.firewall.allowedTCPPorts = [ 80 ]; with networking.firewall.enable = false; nixops was still unable to determine when the ssh server came up in the virtual machine. About the virtualbox issue, it's possible that the vbox kernel of your linux box is not compatible with the nixpkgs virtualbox. That's about what I'd figured too. It's not so bad, I'll just have a ~/nix/bin that I'll put in the PATH. That way I can circumvent the purity of nix-shell somewhat. On Fri, Aug 22, 2014 at 1:15 AM, Richard Wallace rwall...@thewallacepack.net wrote: Hello again, I finally got `nixops deploy -d trivial` to create a virtualbox image and start it - I had to abandon using virtualbox from nixpkgs and instead put the VBoxManage installed by Arch on my PATH. During startup, the IP address is determined correctly and then nixops says, waiting for SSH... and then just waits forever. I can see in the virtualbox console that SSH started, but nixops is unable to see that. Is there a step I am missing? vboxdrv, vboxnetadp and vboxnetflt are all loaded correctly. Thanks again, Rich ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev -- www.debian.org - The Universal Operating System ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev