nixops icon indicating copy to clipboard operation
nixops copied to clipboard

targetHost Address ist not updated in the database when changed in the nix file

Open madonius opened this issue 5 years ago • 4 comments

When I change the deployment.targetHost of an existing Host and update the corresponding entry in the Database is not being updated .

madonius avatar Jan 12 '21 22:01 madonius

Did you run a deploy operation? What is the output of the "info" sub-command after the deployment?

tewfik-ghariani avatar Jan 12 '21 22:01 tewfik-ghariani

It asks for the root password, yet the machine I intended to connect to would be accessible with the ssh-key. Running ssh … -vvv got me on the track that in truth it tries to connect to the previous address.

madonius avatar Jan 12 '21 23:01 madonius

I just gave it a quick test and I see that the 'targetHost' was updated without any issues. Which nixops version are you using? Master?

Can you please share the output of the export command ( while redacting any sensitive information )

tewfik-ghariani avatar Jan 13 '21 00:01 tewfik-ghariani

Yes, I could replicate it on master. Will do

madonius avatar Jan 13 '21 11:01 madonius