unclear error when MAAS returns bad response during bootstrap

Bug #2039089 reported by Alexander Balderson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Jack Shaw

Bug Description

While bootstrapping a controller against a local MAAS, Juju requested an instance from MAAS and then instantly said the bootstrap process was canceled. Lately one of the SQA MAAS has been a bit overloaded, and returning 400 errors during some requests. I suspect that is what happened here, however the response from Juju was unclear.

The output is as follows:

Creating Juju controller "foundations-maas" on maas_cloud/default
Looking for packaged Juju agent version 3.1.6 for amd64
No packaged binary found, preparing local Juju agent binary
Launching controller instance(s) on maas_cloud/default...

 - k7dg4b (arch=amd64 mem=24G cores=4)
Installing Juju agent on bootstrap instance
Waiting for address
ERROR failed to bootstrap model: cancelled

Looking back in the MAAS logs for the host in the debug output, the system received no actions during the time the bootstrap was happening, which is why it leads me to think that MAAS returned an error.

The testrun can be found at:
https://solutions.qa.canonical.com/testruns/691a95f7-0108-4b44-b297-6028fc53f1a9/
But there were no logs collected because no instances go started to collect logs from.

description: updated
description: updated
Revision history for this message
Joseph Phillips (manadart) wrote (last edit ):

There's not much we can do for the specific *cause* here.

It looks as though Juju successfully issues the node creation request, but the instance never becomes available as far as it knows.

The error message is due to the context timing out (cancelled). We should make that error clearer.

It isn't failing to bootstrap a *model* either it's the wholesale controller bootstrap that fails.

Changed in juju:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Joseph Phillips (manadart)
milestone: none → 3.1.7
Changed in juju:
assignee: Joseph Phillips (manadart) → Jack Shaw (jack-shaw)
Changed in juju:
milestone: 3.1.7 → 3.1.8
Harry Pidcock (hpidcock)
Changed in juju:
milestone: 3.1.8 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.