Juju doesn't inform users when MAAS is out of nodes
Bug #1373768 reported by
Jorge Castro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Medium
|
Unassigned |
Bug Description
To replicate, have a maas with X nodes. `juju add-unit -nX+1 service`, more than you really have.
MAAS knows that it is out of nodes and acts accordingly, but Juju just sits there and doesn't communicate with the user, the user then has to go to MAAS to find out what is really happening. Recommend something like:
juju add-unit -n11 postgresql
MAAS $clustername reports that only 10 nodes are available, provision more nodes via http://
Or something that hints that the user is out of resources.
tags: | added: orange-box |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: maas |
tags: | added: ui |
To post a comment you must log in.
Well, technically, this information is available, in 'juju status':
agent-state-info: '(error: cannot run instances: gomaasapi: got error back from
server: 409 Conflict (No matching node is available.))'
instance-id: pending
Now, at this point, I went and freed up a suitable resource in MAAS. However, Juju never actually checked back with MAAS to see if resources have become available. I had to manually run:
juju retry-provisioning <machine-id>
This was awkward and unexpected. Juju should have checked back and done this automatically.