ERROR failed to bootstrap model: bootstrap instance started but did not change to Deployed state: instance "6d6c3x" failed to deploy


I am deploying canonical openstack using MAAS, am getting below error while installing “openstackLinuxKvm” , please help me out to solve this issue.

2019-11-24 20:16:39,888 [ERROR] conjure-up/openstack-base - - Error bootstrapping controller: ['Creating Juju controller "conjure-up-cloud-maas-32b-cca" on cloud-maas-32b', 'Looking for packaged Juju agent version 2.6.10 for amd64', 'Launching controller instance(s) on cloud-maas-32b...', ' - 6d6c3x (arch=amd64 mem=192G cores=48)', 'Installing Juju agent on bootstrap instance', 'Fetching Juju GUI 2.15.0', 'ERROR failed to bootstrap model: bootstrap instance started but did not change to Deployed state: instance "6d6c3x" failed to deploy']
2019-11-24 20:16:39,891 [DEBUG] conjure-up/openstack-base - - Setting Error at conjureup/
2019-11-24 20:16:39,897 [ERROR] conjure-up/openstack-base - - Unhandled exception in <Task finished coro=< done, defined at /snap/conjure-up/1058/lib/python3.6/site-packages/conjureup/controllers/juju/bootstrap/> exception=BootstrapError('Unable to bootstrap (cloud type: maas)',)>
Traceback (most recent call last):
  File "/snap/conjure-up/1058/lib/python3.6/site-packages/conjureup/controllers/juju/bootstrap/", line 21, in run
    await self.do_bootstrap()
  File "/snap/conjure-up/1058/lib/python3.6/site-packages/conjureup/controllers/juju/bootstrap/", line 65, in do_bootstrap
conjureup.errors.BootstrapError: Unable to bootstrap (cloud type: maas)
2019-11-24 20:16:39,913 [DEBUG] conjure-up/openstack-base - - Showing dialog for exception: Unable to bootstrap (cloud type: maas)
1 Like

Hmm, it looks like Juju asked MAAS for a machine but the machine that was assigned never completed and got to the “Deployed” state in MAAS before Juju’s timeout (II think 10 minutes by default?) was hit.

That’s what this is saying

ERROR failed to bootstrap model: bootstrap instance started but did not change to Deployed state: instance "6d6c3x" failed to deploy

It might be worth trying to deploy that machine through MAAS manually and get a rough idea if it’ll deploy and come up and if so, how long that takes. You might need to adjust the timeout using the option on bootstrap (juju bootstrap --help for examples of using the timeout config setting)

1 Like

Thank you @rick_h,

If am triggering manual deployment from MAAS , it took around 15 - 20 min to complete the deployment.

am using juju version 2.6.X and its timeout value is 1200 Sec (20 min). And i increased timeout value 20 min to 30 min, and stated the deployment again, facing same issue.

and i am using external proxy server in my environment (

but in deployed node i could see following,

ubuntu@Node-106:/etc/apt/apt.conf.d$ cat /etc/environment
ubuntu@Node-106:/etc/apt/apt.conf.d$ sudo vi /etc/environment
ubuntu@Node-106:/etc/apt/apt.conf.d$ cat 90curtin-aptproxy
Acquire::http::Proxy “”;
ubuntu@Node-106:/etc/apt/apt.conf.d$ cat 95-juju-proxy-settings
Acquire::http::Proxy::“” “DIRECT”;
Acquire::https::Proxy::“” “DIRECT”;
Acquire::ftp::Proxy::“” “DIRECT”;
Acquire::http::Proxy::“localhost” “DIRECT”;
Acquire::https::Proxy::“localhost” “DIRECT”;
Acquire::ftp::Proxy::“localhost” “DIRECT”;
Acquire::http::Proxy::"::1" “DIRECT”;
Acquire::https::Proxy::"::1" “DIRECT”;
Acquire::ftp::Proxy::"::1" “DIRECT”;

90curtin-aptproxy is fine, but juju proxy-setting using a local host, is this fine ?

Some how i fixed with updating proxy in bootstrap.yaml

now juju bootstrap completed, trying for installing openstack components and getting i/o time out error, and i have stoped ufw, disabled and reset the same in MAAS server. still facing same issue. Any idea where am missing the configuration ?

2019-11-27 11:24:50,233 [DEBUG] conjure-up/openstack-base - websockets.protocol: - client < Frame(fin=True, opcode=1, data=b’{“request-id”:8,“error”:“cannot retrieve charm \“cs:ceph-mon-44\”: cannot get archive: Get dial tcp i/o timeout”,“response”:{}}\n’, rsv1=False, rsv2=False, rsv3=False)