You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
todomvc Example is the network I'm currently in ($PWD/flake.nix#nixopsConfiguration.default)
When I use an older nixopsUnstable from before state backends, I still get
+--------------------------------------+----------------------------------+-----------------+------------+------+
| UUID | Name | Description | # Machines | Type |
+--------------------------------------+----------------------------------+-----------------+------------+------+
| cbbf3d68-5c1c-11eb-896d-0242e85aa442 | (none) | todomvc Example | 0 | |
| dc750b2d-f446-11eb-8afa-9cb6d0c2f3a1 | (none) | todomvc Example | 0 | |
| 40324d8c-f72a-11ea-a4aa-02424b1d9237 | dummy | todomvc Example | 0 | |
| cc2f5657-6ea5-11ea-9890-0c9d92c574d5 | xxxxyyyyzz | todomvc Example | 7 | none |
So it seems that the state backend incorrectly sets the description for all networks. I also noticed that it evaluates the current network. # Machines seems to be derived from this, rather than the saved real world state. I'm glad that it doesn't seem to touch that vital state data, because the old version gets the machine counts right.
If you don't intend to support the legacy backend, I can understand and support that. In that case, perhaps some columns could be removed.
I don't think Type even made sense either. Should it be Types? I don't know; haven't done multi-cloud deployments. Anyway, Type is not as important.
The text was updated successfully, but these errors were encountered:
roberth
changed the title
Legacy deployment nixops list is broken
Legacy deployments nixops list is broken
Aug 3, 2021
All my legacy deployments now show as roughly
todomvc Example
is the network I'm currently in ($PWD/flake.nix#nixopsConfiguration.default
)When I use an older
nixopsUnstable
from before state backends, I still getSo it seems that the state backend incorrectly sets the description for all networks. I also noticed that it evaluates the current network.
# Machines
seems to be derived from this, rather than the saved real world state. I'm glad that it doesn't seem to touch that vital state data, because the old version gets the machine counts right.If you don't intend to support the legacy backend, I can understand and support that. In that case, perhaps some columns could be removed.
I don't think
Type
even made sense either. Should it beTypes
? I don't know; haven't done multi-cloud deployments. Anyway,Type
is not as important.The text was updated successfully, but these errors were encountered: