Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(361)

Unified Diff: cmd/juju/bootstrap.go

Issue 58170045: bootstrap: Added configurable timeout and delays (Closed)
Patch Set: bootstrap: Added configurable timeout and delays Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « [revision details] ('k') | environs/config/config.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmd/juju/bootstrap.go
=== modified file 'cmd/juju/bootstrap.go'
--- cmd/juju/bootstrap.go 2014-01-30 06:21:03 +0000
+++ cmd/juju/bootstrap.go 2014-01-30 14:13:54 +0000
@@ -42,7 +42,16 @@
Bootstrap initializes the cloud environment synchronously and displays information
about the current installation steps. The time for bootstrap to complete varies
across cloud providers from a few seconds to several minutes. Once bootstrap has
-completed, you can run other juju commands against your environment.
+completed, you can run other juju commands against your environment. You can change
+the default timeout and retry delays used during the bootstrap by changing the
+following settings in your environments.yaml (all values represent number of seconds):
+
+ # How long to wait for a connection to the state server.
+ bootstrap-timeout: 600 # default: 10 minutes
+ # How long to wait between connection attempts to a state server address.
+ bootstrap-retry-delay: 5 # default: 5 seconds
+ # How often to refresh state server addresses from the API server.
+ bootstrap-addresses-delay: 10 # default: 10 seconds
Private clouds may need to specify their own custom image metadata, and possibly upload
Juju tools to cloud storage if no outgoing Internet access is available. In this case,
« no previous file with comments | « [revision details] ('k') | environs/config/config.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b