do_node_tear_down not allowed for node % in state None

Bug #1338399 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Invalid
Medium
Unassigned

Bug Description

2014-07-07 01:54:13.450 4811 ERROR wsme.api [-] Server-side error: "RPC do_node_tear_down not allowed for node 9c3ef377-b37e-4663-8ee3-e243a383044c in state None
Traceback (most recent call last):

  File "/opt/stack/venvs/ironic/local/lib/python2.7/site-packages/ironic/openstack/common/rpc/common.py", line 423, in catch_client_exception
    return func(*args, **kwargs)

  File "/opt/stack/venvs/ironic/local/lib/python2.7/site-packages/ironic/conductor/manager.py", line 428, in do_node_tear_down
    task.release_resources()

  File "/opt/stack/venvs/ironic/local/lib/python2.7/site-packages/ironic/openstack/common/excutils.py", line 70, in __exit__
    six.reraise(self.type_, self.value, self.tb)

  File "/opt/stack/venvs/ironic/local/lib/python2.7/site-packages/ironic/conductor/manager.py", line 405, in do_node_tear_down
    % {'node': node_id, 'state': node.provision_state})

InstanceDeployFailure: RPC do_node_tear_down not allowed for node 9c3ef377-b37e-4663-8ee3-e243a383044c in state None

I see this occur with no obvious lead-in, but once it happens the nova driver refuses to delete it. Instant wedge.

description: updated
Revision history for this message
Robert Collins (lifeless) wrote :

Having looked at the code I don't understand why do_node_tear_down has the assert at the top: the cleanup and teardown code it layers on top of is all idempotent (and has to be for robustness) - so there should be absolutely no reason not to accept this command at any stage.

Dmitry Tantsur (divius)
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
aeva black (tenbrae)
Changed in ironic:
status: Triaged → Confirmed
Rakesh H S (rh-s)
Changed in ironic:
assignee: nobody → Rakesh H S (rh-s)
Revision history for this message
John Stafford (john-stafford) wrote :

Hi Rakesh,

Are you still working this bug or can it be unassigned?

Rakesh H S (rh-s)
Changed in ironic:
assignee: Rakesh H S (rh-s) → nobody
Changed in ironic:
assignee: nobody → Sandhya Balakrishnan (sandhya-balakrishnan)
Michael Davies (mrda)
summary: - do_tear_down_node not allowed for node % in state None
+ do_node_tear_down not allowed for node % in state None
Revision history for this message
Michael Davies (mrda) wrote :

This is no longer a bug - the provision_state check was removed somewhere in juno->kilo timeframe.

Changed in ironic:
status: Confirmed → Invalid
assignee: Sandhya Balakrishnan (sandhya-balakrishnan) → nobody
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.