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

Consul Lock keept timing out #2399

Closed
emoshaya opened this issue Oct 7, 2016 · 0 comments
Closed

Consul Lock keept timing out #2399

emoshaya opened this issue Oct 7, 2016 · 0 comments
Labels
theme/cli Flags and documentation for the CLI interface type/bug Feature does not function as expected
Milestone

Comments

@emoshaya
Copy link

emoshaya commented Oct 7, 2016

Checking the Consul Lock documentation

It states that we can specify the timeout using the -try option. I am running the full command as follows:

consul lock -n 1 -try 2h -monitor-retry 60 -name 'jenkins locking test.tfstate' -verbose ./test.tfstate ./terraform_apply.sh

Setting up lock at path: test.tfstate/.lock
Attempting lock acquisition

However, no matter what I set for -try option, consul lock always timesout after 20 minutes with the following:

Shutdown triggered or timeout during lock acquisition

Any ideas how to increase the timeout beyond 20 minutes

@slackpad slackpad added the type/bug Feature does not function as expected label Nov 30, 2016
@slackpad slackpad added this to the 0.7.4 milestone Nov 30, 2016
@slackpad slackpad removed this from the Triaged milestone Apr 18, 2017
@slackpad slackpad added the theme/cli Flags and documentation for the CLI interface label May 25, 2017
@banks banks added this to the 1.2.1 milestone Jul 10, 2018
@banks banks closed this as completed Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/cli Flags and documentation for the CLI interface type/bug Feature does not function as expected
Projects
None yet
Development

No branches or pull requests

3 participants