[Nix-dev] Nixops fails to log into virtualbox machines on osx.

zimbatm zimbatm at zimbatm.com
Tue Jun 7 18:58:48 CEST 2016


Maybe it should

On Tue, 7 Jun 2016, 17:50 Maarten Hoogendoorn, <maarten at moretea.nl> wrote:

> That did the trick. I assumed the ssh invoked in nixops would use it's own
> ssh configuration file.
>
> 2016-06-07 17:22 GMT+02:00 zimbatm <zimbatm at zimbatm.com>:
>
>> Can you try to edit you ~/.ssh/config and add "StrictHostKeyChecking no"
>> in the file ? What it does is automatically accept new hosts in the
>> ~/.ssh/known_hosts provided the machine doesn't already exists.
>>
>> On Tue, 7 Jun 2016 at 14:24 Maarten Hoogendoorn <maarten at moretea.nl>
>> wrote:
>>
>>> Hi there,
>>>
>>> As mentioned in the previous email I sent to the list, I'm trying to
>>> work with nixops on osx.
>>>
>>> The next error I encountered is that nixops is unable to log in to the
>>> VM's due to unknown host keys, see the (partial) output of nixops deploy
>>> below:
>>>
>>> containersolutionss-MacBook-Pro:blog-nix containersolutions$ nixops
>>> deploy
>>>
>>> *mesos-slave-1.> *creating VirtualBox VM...
>>>
>>> *mesos-slave-1.> *Virtual machine
>>> 'nixops-8acebf33-2caa-11e6-ae59-a45e60d9f55d-mesos-slave-1' is created and
>>> registered.
>>>
>>> *mesos-slave-1.> *UUID: 039cb7f7-af9a-486f-867d-49f7ef729136
>>>
>>> *mesos-slave-0.> *Settings file: '/Users/containersolutions/VirtualBox
>>> VMs/nixops-8acebf33-2caa-11e6-ae59-a45e60d9f55d-mesos-slave-0/nixops-8acebf33-2caa-11e6-ae59-a45e60d9f55d-mesos-slave-0.vbox'
>>>
>>> *mesos-master-0> *creating disk ‘disk1’...
>>>
>>> *mesos-master-1> *Clone medium created in format 'VDI'. UUID:
>>> 7d898ca7-1d46-4a40-9210-1115d34310d5
>>>
>>> *mesos-master-1> *attaching disk ‘disk1’...
>>>
>>> *mesos-master-1> *Waiting for VM
>>> "nixops-8acebf33-2caa-11e6-ae59-a45e60d9f55d-mesos-master-1" to power on...
>>>
>>> *mesos-master-1> *VM
>>> "nixops-8acebf33-2caa-11e6-ae59-a45e60d9f55d-mesos-master-1" has been
>>> successfully started.
>>>
>>> *mesos-master-1> *waiting for IP address...
>>>
>>> *mesos-slave-1.> *.
>>>
>>> *mesos-master-0> * 192.168.56.109
>>>
>>> *mesos-master-2> * 192.168.56.113
>>>
>>> *mesos-slave-1.> * 192.168.56.110
>>>
>>> The authenticity of host '192.168.56.110 (192.168.56.110)' can't be
>>> established.
>>>
>>> ED25519 key fingerprint is
>>> SHA256:BYtAmTw/dvAE8tOTKC6PabqNhP0m1X3Uzo0Y10o5ZQ4.
>>>
>>> Are you sure you want to continue connecting (yes/no)? The authenticity
>>> of host '192.168.56.109 (192.168.56.109)' can't be established.
>>>
>>> ED25519 key fingerprint is
>>> SHA256:UO/GwVQ7bItuhG1BTZDXfLCcC2+WKlKJj/SbXZMRO3w.
>>>
>>> Are you sure you want to continue connecting (yes/no)? The authenticity
>>> of host '192.168.56.113 (192.168.56.113)' can't be established.
>>>
>>> ED25519 key fingerprint is
>>> SHA256:mxa29nKLySX1YeVUgiN8+CKMlzc+krZwD5fBpYmOySA.
>>>
>>> Are you sure you want to continue connecting (yes/no)? *mesos-master-1>
>>> *.
>>>
>>> *mesos-slave-0.> *. 192.168.56.112
>>>
>>> The authenticity of host '192.168.56.112 (192.168.56.112)' can't be
>>> established.
>>>
>>> ED25519 key fingerprint is
>>> SHA256:+FebG9JhzPR5rDVnZyZ5o34RFliKCFF3Fl0//aYJo4A.
>>>
>>> Are you sure you want to continue connecting (yes/no)? *mesos-master-1>
>>> *......yes.
>>>
>>> Host key verification failed.
>>>
>>>
>>> *mesos-master-0> *could not connect to ‘root at 192.168.56.109’, retrying
>>> in 1 seconds...
>>>
>>> *mesos-master-1> *.The authenticity of host '192.168.56.109
>>> (192.168.56.109)' can't be established.
>>>
>>> ED25519 key fingerprint is
>>> SHA256:UO/GwVQ7bItuhG1BTZDXfLCcC2+WKlKJj/SbXZMRO3w.
>>>
>>> Are you sure you want to continue connecting (yes/no)? ye. 192.168.56.106
>>>
>>> sThe authenticity of host '192.168.56.106 (192.168.56.106)' can't be
>>> established.
>>>
>>> ED25519 key fingerprint is
>>> SHA256:3WCxfVqgYqEwGN+pIS1yAPBu0e1hm//xOT5PCRatTpw.
>>>
>>> Are you sure you want to continue connecting (yes/no)?
>>>
>>> Please type 'yes' or 'no': yes
>>>
>>> Please type 'yes' or 'no': yes
>>>
>>> Please type 'yes' or 'no': yes
>>>
>>> Please type 'yes' or 'no': yes
>>>
>>> Please type 'yes' or 'no':
>>>
>>> Please type 'yes' or 'no':
>>>
>>> Host key verification failed.
>>>
>>> *mesos-master-1> *could not connect to ‘root at 192.168.56.106’, retrying
>>> in 1 seconds...
>>>
>>> The authenticity of host '192.168.56.106 (192.168.56.106)' can't be
>>> established.
>>>
>>> ED25519 key fingerprint is
>>> SHA256:3WCxfVqgYqEwGN+pIS1yAPBu0e1hm//xOT5PCRatTpw.
>>>
>>> Are you sure you want to continue connecting (yes/no)?
>>> _______________________________________________
>>> 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/20160607/d3e9d5db/attachment-0001.html>


More information about the nix-dev mailing list