Nodes can't be deleted if DHCP management is off.

Bug #1376888 reported by Jason Hobbs on 2014-10-02
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Critical
Newell Jensen

Bug Description

I have some nodes I enlisted and commissioned on a cluster that had DNS/DHCP management enabled. I disabled DNS/DHCP management for that cluster, then tried to delete the nodes.

I got an error at the top of the page, something like "not connected.#012> no open object.#012> not connected.#012> not connected.#012".

In maas.log I see:
Oct 3 03:04:09 trusty-maas7 maas.dhcp: [ERROR] Could not remove host map for 192.168.10.101: Command `omshell` returned non-zero exit status 0:#012> > > > not connected.#012> no open object.#012> not connected.#012> not connected.#012>.

I enabled DNS/DHCP management again and the node was deleted successfully.

Looks like the failure to talk to dhcpd via omshell could be handled more gracefully.

This is with maas 1.7.0~beta4+bzr3168-0ubuntu1~trusty1

Related branches

description: updated
Raphaël Badin (rvb) on 2014-10-03
Changed in maas:
importance: Undecided → Critical
status: New → Triaged
Raphaël Badin (rvb) on 2014-10-03
Changed in maas:
milestone: none → 1.7.0
Changed in maas:
assignee: nobody → Newell Jensen (newell-jensen)
status: Triaged → In Progress
summary: - Nodes can't be deleted if DNS management is off.
+ Nodes can't be deleted if DHCP management is off.
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers