CannotConfigureDHCP not handled

Bug #1361673 reported by Jeroen T. Vermeulen on 2014-08-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
High
Unassigned

Bug Description

If configuration of the DHCPv6 server fails on the cluster controller, the exception bubbles back up into the region controller. (The region controller triggers the action through a signal when saving a cluster interface, and perhaps in other situations as well.)

The region controller does not handle this well. When the exception occurs during a UI request, it returns a bare “Internal server error” page.

tags: added: ipv6
Jeroen T. Vermeulen (jtv) wrote :

Reconfiguration of the DHCP server can trigger this either by actually failing, or by timing out.

Changed in maas:
assignee: nobody → Jeroen T. Vermeulen (jtv)
status: Triaged → In Progress
Changed in maas:
assignee: Jeroen T. Vermeulen (jtv) → nobody
Julian Edwards (julian-edwards) wrote :

This seems critical, can you comment jtv?

Changed in maas:
status: In Progress → Triaged

On 26 August 2014 15:01, Jeroen T. Vermeulen <email address hidden> wrote:
> The region controller does not handle this well. When the exception
> occurs during a UI request, it returns a bare “Internal server error”
> page.

It occurs to me (not for the first time) that we should have
middleware to at least give a nice OOPS/error page when this stuff
(i.e. anything unhandled) happens.

Julian Edwards (julian-edwards) wrote :

On Monday 13 Oct 2014 07:00:57 you wrote:
> On 26 August 2014 15:01, Jeroen T. Vermeulen <email address hidden>
wrote:
> > The region controller does not handle this well. When the exception
> > occurs during a UI request, it returns a bare “Internal server error”
> > page.
>
> It occurs to me (not for the first time) that we should have
> middleware to at least give a nice OOPS/error page when this stuff
> (i.e. anything unhandled) happens.

Yes. I'm sure I mentioned this on IRC the other day too :)

Graham Binns (gmb) wrote :

On 13 October 2014 08:23, Julian Edwards <email address hidden> wrote:
> Yes. I'm sure I mentioned this on IRC the other day too :)

You did :).

Christian Reis (kiko) wrote :

I've just run into a user on #maas who is facing this; his traceback is at http://pastebin.com/8FEcA2ta

I'm not sure why the failure is happening, though.

Changed in maas:
milestone: none → next
Christian Reis (kiko) wrote :

See also bug 1395896

Changed in maas:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers