Unhelpful error message when no nodes are available with maas provider

Bug #980855 reported by Francis J. Lacoste
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Medium
Julian Edwards

Bug Description

Using the maas provider, I ran

juju bootstrap

and got:

Unexpected Error interacting with provider: 409 CONFLICT

The reason is that there were no nodes available in the MAAS.

The error message is completely unhelpful in making the user understand what is the source of the error.

We should tell them that it's failing because no nodes are available to fullfill their requests.

Related branches

Changed in juju:
milestone: none → galapagos
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

The response that Juju gets back from the MAAS server is indeed a 409: Conflict, but the response body also contains a somewhat helpful message (currently “No matching node is available”). It might help just to display the response's contents as part of the error.

Changed in juju:
assignee: nobody → Julian Edwards (julian-edwards)
status: Confirmed → In Progress
Changed in juju:
status: In Progress → Fix Released
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.