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
I am using NixOps 2 with traditional (non-flake) deployments.
When I run nixops list from the directory containing the nixops.nix file for my berlin.example.com deployment, the results are wrong. The Description and # Machines are all filled with the values corresponding to berlin.example.com deployment.
Actual result
# nixops --versionNixOps 2.0.0-pre-683baa6
# nixops list+--------------------------------------+-----------------------------+---------------------------+------------+------+| UUID | Name | Description | # Machines | Type |+--------------------------------------+-----------------------------+---------------------------+------------+------+| 09789ca3-4969-4198-a4c5-e8c67a2994da | london.example.com | My Description for Berlin | 2 | none || 6f9a4a86-d8f3-451a-84ce-e5adce45a616 | paris.example.com | My Description for Berlin | 2 | none || 3a41b340-649a-43f5-9a32-fa322c26406a | berlin.example.com | My Description for Berlin | 2 | none || a9a3e870-3402-49c9-a832-b28e5c190267 | test-facility-1.example.com | My Description for Berlin | 2 | none || 63d9abef-df2a-44ee-ac6b-6b8461c3eaf9 | test-facility-2.example.com | My Description for Berlin | 2 | none || c0066c49-2943-473d-a3e0-eeaa4b258a4d | test-facility-3.example.com | My Description for Berlin | 2 | none |+--------------------------------------+-----------------------------+---------------------------+------------+------+
Expected
# nixops --versionNixOps 2.0.0-pre-683baa6
# nixops list+--------------------------------------+-----------------------------+---------------------------+------------+------+| UUID | Name | Description | # Machines | Type |+--------------------------------------+-----------------------------+---------------------------+------------+------+| 09789ca3-4969-4198-a4c5-e8c67a2994da | london.example.com | My Description for London | 2 | none || 6f9a4a86-d8f3-451a-84ce-e5adce45a616 | paris.example.com | My Description for Paris | 1 | none || 3a41b340-649a-43f5-9a32-fa322c26406a | berlin.example.com | My Description for Berlin | 2 | none || a9a3e870-3402-49c9-a832-b28e5c190267 | test-facility-1.example.com | My Description for Test 1 | 2 | none || 63d9abef-df2a-44ee-ac6b-6b8461c3eaf9 | test-facility-2.example.com | My Description for Test 2 | 1 | none || c0066c49-2943-473d-a3e0-eeaa4b258a4d | test-facility-3.example.com | My Description for Test 3 | 1 | none |+--------------------------------------+-----------------------------+---------------------------+------------+------+
Inspecting the sqlite3 database shows the value are written to it every time I run nixops list.
SELECT Deployments.uuid, DeploymentAttrs.name, DeploymentAttrs.value
FROM Deployments
LEFT OUTER JOIN DeploymentAttrs ON Deployments.uuid = DeploymentAttrs.deployment
WHERE DeploymentAttrs.name IN ('name', 'description')
ORDER BY DeploymentAttrs.name, Deployments.uuid;
The text was updated successfully, but these errors were encountered:
I am using NixOps 2 with traditional (non-flake) deployments.
When I run
nixops list
from the directory containing thenixops.nix
file for myberlin.example.com
deployment, the results are wrong. TheDescription
and# Machines
are all filled with the values corresponding toberlin.example.com
deployment.Actual result
Expected
Inspecting the sqlite3 database shows the value are written to it every time I run
nixops list
.The text was updated successfully, but these errors were encountered: