NixOS / nixops

NixOps is a tool for deploying to NixOS machines in a network or cloud.
https://nixos.org/nixops
GNU Lesser General Public License v3.0
1.85k stars 366 forks source link

nixops info: Status differs from manual #1092

Open davidak opened 5 years ago

davidak commented 5 years ago

I followed the manual and created the trivial network.

In the manual, the output of nixops info looks like this:

$ nixops info -d trivial
Network UUID: 33bced96-5f26-11e1-b9d7-9630d48abec1
Network description: Web server

+-----------+--------+------------+-------------+------------+
|   Name    | Status |    Type    | Resource Id | IP address |
+-----------+--------+------------+-------------+------------+
| webserver |  New   | virtualbox |             |            |
+-----------+--------+------------+-------------+------------+

But on my system it looks like this:

$ nixops info -d trivial
Network name: trivial
Network UUID: 82d19a33-3398-11e9-873a-024246453e35
Network description: Web server
Nix expressions: /home/davidak/code/nixops/trivial.nix /home/davidak/code/nixops/trivial-vbox.nix

+-----------+---------+------------+-------------+------------+
| Name      |  Status | Type       | Resource Id | IP address |
+-----------+---------+------------+-------------+------------+
| webserver | Missing | virtualbox |             |            |
+-----------+---------+------------+-------------+------------+

The Status is "Missing" instead of "New".

This looks like a bug. Or if it's intended, the manual needs to get updated.


nix (Nix) 2.1.3 NixOS 18.09.2203.9bd45dddf81 (Jellyfish) NixOps 1.6.1

AmineChikhaoui commented 5 years ago

@davidak Hi thanks for reporting, want to create a PR for the manual improvements ?

davidak commented 5 years ago

@AmineChikhaoui i don't have the time to figure out what the correct behavior is, sorry.