nixops deploy
waiting for exclusive deployment lock...
ssh: Could not resolve hostname node1: Name or service not known
ssh: Could not resolve hostname node2: Name or service not known
ssh: Could not resolve hostname node3: Name or service not known
error: Multiple exceptions (3):
* node1: unable to start SSH master connection to ‘root@node1’
* node2: unable to start SSH master connection to ‘root@node2’
* node3: unable to start SSH master connection to ‘root@node3’
ssh: Could not resolve hostname node3: Name or service not known
ssh: Could not resolve hostname node2: Name or service not known
node3> could not connect to ‘root@node3’, retrying in 1 seconds...
node2> could not connect to ‘root@node2’, retrying in 1 seconds...
ssh: Could not resolve hostname node1: Name or service not known
node1> could not connect to ‘root@node1’, retrying in 1 seconds...
ssh: Could not resolve hostname node2: Name or service not known
node2> could not connect to ‘root@node2’, retrying in 2 seconds...
ssh: Could not resolve hostname node1: Name or service not known
node1> could not connect to ‘root@node1’, retrying in 2 seconds...
ssh: Could not resolve hostname node3: Name or service not known
node3> could not connect to ‘root@node3’, retrying in 2 seconds...
ssh: Could not resolve hostname node2: Name or service not known
node2> could not connect to ‘root@node2’, retrying in 4 seconds...
ssh: Could not resolve hostname node3: Name or service not known
node3> could not connect to ‘root@node3’, retrying in 4 seconds...
ssh: Could not resolve hostname node1: Name or service not known
node1> could not connect to ‘root@node1’, retrying in 4 seconds...
ssh: Could not resolve hostname node3: Name or service not known
node3> could not connect to ‘root@node3’, retrying in 8 seconds...
ssh: Could not resolve hostname node2: Name or service not known
node2> could not connect to ‘root@node2’, retrying in 8 seconds...
ssh: Could not resolve hostname node1: Device or resource busy
node1> could not connect to ‘root@node1’, retrying in 8 seconds...
ssh: Could not resolve hostname node3: Name or service not known
ssh: Could not resolve hostname node2: Name or service not known
ssh: Could not resolve hostname node1: Name or service not known
error: Multiple exceptions (3):
* node1: unable to start SSH master connection to ‘root@node1’
* node2: unable to start SSH master connection to ‘root@node2’
* node3: unable to start SSH master connection to ‘root@node3’
nixops info
Network name: chat
Network UUID: 0e1577c7-3f08-11ea-b73f-3e55f80b3aff
Network description: Unnamed NixOps network
Nix expressions: /home/paki/src/hyperchat/deploy.nix
+-------+----------------------+------+---------------------------------------------------+------------+
| Name | Status | Type | Resource Id | IP address |
+-------+----------------------+------+---------------------------------------------------+------------+
| node1 | Unknown / Up-to-date | none | nixops-0e1577c7-3f08-11ea-b73f-3e55f80b3aff-node1 | |
| node2 | Unknown / Up-to-date | none | nixops-0e1577c7-3f08-11ea-b73f-3e55f80b3aff-node2 | |
| node3 | Unknown / Up-to-date | none | nixops-0e1577c7-3f08-11ea-b73f-3e55f80b3aff-node3 | |
+-------+----------------------+------+---------------------------------------------------+------------+
#deploy.nix
rec{
node1={
imports=[./node.nix];
deplyment.targetEnv="container";
deployment.virtualbox.memorySize = 1024; # megabytes
deployment.virtualbox.vcpu = 2; # number of cpus
};
node2=node1;
node3=node1;
}