flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

fly consul attach is missing a `--stage` and/or --wait-timeout flag

Open thomasfr opened this issue 9 months ago • 0 comments

Describe the bug When trying to attach a consul cluster with fly consul attach --app <app-name> to an existing app with multiple machines in multiple regions it would be beneficial to be able to either set a --stage flag so a later fly deploy command could add the --wait-timeout flag, or otherwise enable to set the --wait-timeout directly to the fly consul attach command.

  • Operating system
  • fly version fly v0.3.88 darwin/arm64 Commit: 95313784d48e6e385fda5095a1f6a051200b7163 BuildDate: 2025-03-10T16:45:46Z

** Paste your fly.toml Not relevant/used

** Command output: **

-------
 ✔ [1/9] Machine 080e33xxxxxxxx [app] update succeeded
 ✔ [2/9] Machine 185e99xxxxxxxx [app] update succeeded
 ✔ [3/9] Machine 781510xxxxxxxx [app] update succeeded
 ✔ [4/9] Machine 781596xxxxxxxx [app] update succeeded
 ✔ [5/9] Machine 815d2exxxxxxxx [app] update succeeded
 ✔ [6/9] Machine 865370xxxxxxxx [app] update succeeded
 ✔ [7/9] Machine 918595xxxxxxxx [app] update succeeded
 ✖ [8/9] Machine 48ed5dxxxxxxxx [app] update failed: timeout reached waiting for health checks to pass for machine 48ed5dxxxxxxxx: failed to get VM 48ed5dxxxxxxxx: Get "https://api.machi…
   [9/9] Waiting for job
-------
Error: timeout reached waiting for health checks to pass for machine 48ed5dxxxxxxxx: failed to get VM 48ed5dxxxxxxxx: Get "https://api.machines.dev/v1/apps/<app-name>/machines/48ed5dxxxxxxxx": net/http: request canceled

thomasfr avatar Mar 14 '25 16:03 thomasfr