← Back to team overview

maas-devel team mailing list archive

Releasing broken nodes

 

I've just landed a fix for bug 1351451 (Impossible to release a BROKEN
node via the API). This is a problem that we (Raphers and I) saw on the
Orange Boxes (probably as a result of Raphinator and Gavinator-induced
hackery, but still).

A question arose in Jools's review:

> We probably need to talk about this with rvb.  I was under the
> impression that marking in-use nodes as broken should keep their owner
> as this is a way to know that it was being used and marked broken by a
> user, not an admin.  Do we need to keep that distinction?

Since mark_broken() already releases the node, ISTM that there's been a
misunderstanding somewhere. Of course, the node activity log could have
"Marked broken by Foo" in it to guide admins…

Anyway, I've landed the branch as-is, but it'd be good for us to all get
on the same page re: behaviour when marking broken.


Follow ups