Changing juju bootstrap time

I would like to extend the time juju waits for the Completion of bootstrap.

after executing, juju bootstrap, I get

Creating Juju controller “maas-controller” on maas-cloud/default
Looking for packaged Juju agent version 2.8.4 for amd64
Launching controller instance(s) on maas-cloud/default…

  • xaf4rg (arch=amd64 mem=4G cores=2)
    Installing Juju agent on bootstrap instance
    Fetching Juju Dashboard 0.2.0

ERROR failed to bootstrap model: bootstrap instance started but did not change to Deployed state: instance “xaf4rg” is started but not deployed

before the process of acquiring the Maas controller for juju. juju exits and stops the deployment. right before it is complete.

So you can use the config option for managing the bootstrap-timeout.

Example:

juju bootstrap --config bootstrap-timeout=1200 ...