Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy-rs hangs forever when no changes are necessary #226

Open
cpcloud opened this issue Jul 6, 2023 · 6 comments
Open

deploy-rs hangs forever when no changes are necessary #226

cpcloud opened this issue Jul 6, 2023 · 6 comments

Comments

@cpcloud
Copy link

cpcloud commented Jul 6, 2023

I really really enjoy using deploy-rs, thanks for creating the project!

Somewhat recently I noticed that running

deploy '.#my-host' --skip-checks

hangs when there's nothing to deploy to my-host. There are no apparent problems when there is something to deploy.

@kittywitch
Copy link

also encountering this bug

@kittywitch
Copy link

kittywitch commented Jul 21, 2023

In this case, NIX_SSHOPTS="-oControlMaster=no" prepended to the nix copy works

@kittywitch
Copy link

kittywitch commented Jul 21, 2023

so sshOpts = ["-oControlMaster=no" ...] on your node config should make this work :3 (where ... is your remaining options for your use case)

@kittywitch
Copy link

Upstream bug is NixOS/nix#3017

@kittywitch
Copy link

kittywitch commented Jul 21, 2023

But even then, ControlPath should probably be set to path which doesn't exist, since the Control socket will still be used regardless

mhutter added a commit to mhutter/rhea that referenced this issue Mar 8, 2024
@lenianiva
Copy link

I set sshOpts = ["-oControlMaster=no"] and it still hangs. Has anyone else seen this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants