juju gives up on bootstrapping with 'bootstrap instance started but did not change to Deployed state'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
James Tunnicliffe | ||
1.22 |
Fix Released
|
High
|
Ian Booth |
Bug Description
This is with 1.22-beta1-
I try to bootstrap my MAAS environment but it gives up after a few minutes. My timeout is set to 1800 seconds.
jenkins@
Bootstrapping environment "ci-oil-slave8"
Starting new instance for initial state server
Launching instance
WARNING no architecture was specified, acquiring an arbitrary node
WARNING no architecture was specified, acquiring an arbitrary node
- /MAAS/api/
ERROR failed to bootstrap environment: bootstrap instance started but did not change to Deployed state: instance "/MAAS/
real 4m22.398s
user 0m1.196s
sys 0m0.088s
The node continues installing via MAAS; it takes about 7 minutes from when the bootstrap started to the installation completing.
I have also seen bootstraps finish successfully; I'm not sure why it sometimes works and sometimes fails.
description: | updated |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.23 |
tags: | added: bootstrap maas-provider |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Changed in juju-core: | |
milestone: | 1.23 → 1.23-beta1 |
Also, I can't destroy the environment after this happens:
jenkins@ juju-oil- machine- 15:~$ juju destroy-environment --force maas
WARNING! this command will destroy the "maas" environment (type: maas)
This includes all machines, services, data and other resources.
Continue [y/N]? y
ERROR cannot release nodes: gomaasapi: got error back from server: 500 INTERNAL SERVER ERROR ('NoneType' object has no attribute 'has_perm')