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

MaaS provider should expose the bootstrap timeout options. #18

Merged
merged 3 commits into from Jun 13, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions provider/maas/environprovider.go
Expand Up @@ -71,6 +71,18 @@ maas:
#
maas-oauth: '<add your OAuth credentials from MAAS here>'

# maas-server bootstrap ssh connection options
#

# bootstrap-timeout time to wait contacting a state server, in seconds.
# bootstrap-timeout: 600

# bootstrap-retry-delay time between attempts to connect to an address, in seconds.
# bootstrap-retry-delay: 5
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's just the bootstrap that's slow (and that's addressed by bootstrap-timeout) why are bootstrap-retry-delay and bootstrap-addresses-delay also included? Is there something special about MAAS that means it makes sense to also show bootstrap-retry-delay and bootstrap-addresses-delay here?


# bootstrap-addresses-delay time between refreshing the addresses, in seconds.
# bootstrap-addresses-delay: 10

`[1:]

// BoilerplateConfig is specified in the EnvironProvider interface.
Expand Down