Closed c4710n closed 1 year ago
nixops check
I am trying to check all my machines with nixops check, it reports:
+-----------+--------+-----+-----------+----------+----------------+-------+-------+ | Name | Exists | Up | Reachable | Disks OK | Load avg. | Units | Notes | +-----------+--------+-----+-----------+----------+----------------+-------+-------+ | alpha-0 | Yes | Yes | Yes | N/A | 0.07 0.11 0.16 | | | | popcorn-0 | Yes | No | N/A | N/A | | | | | popcorn-1 | Yes | No | N/A | N/A | | | | | pot-0 | Yes | No | N/A | N/A | | | | +-----------+--------+-----+-----------+----------+----------------+-------+-------+
3 of them are reported as 'not reachable' by nixops.
I have inspected the code at here: https://github.com/NixOS/nixops/blob/1ed5a091bc52de6c91319f446f833018a1cb326e/nixops/backends/__init__.py#L196
It seems that nixops just sends command through SSH and checks /proc/loadavg.
/proc/loadavg
I have confirmed that all of these 4 machines can be reachable by nixops ssh.
nixops ssh
Have no idea what's going on here. Can anybody help me?
nixops check
I am trying to check all my machines with
nixops check
, it reports:3 of them are reported as 'not reachable' by nixops.
I have inspected the code at here: https://github.com/NixOS/nixops/blob/1ed5a091bc52de6c91319f446f833018a1cb326e/nixops/backends/__init__.py#L196
It seems that nixops just sends command through SSH and checks
/proc/loadavg
.I have confirmed that all of these 4 machines can be reachable by
nixops ssh
.Have no idea what's going on here. Can anybody help me?