No default grace_period when cluster-node-del

Bug #1548000 reported by Cindia-blue
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
High
Cindia-blue

Bug Description

2016-02-20 22:23:23.268 ERROR senlin.engine.actions.base [req-a1da989e-d754-4ca9-adec-265242d67e36 None None] Unexpected exception occurred during action CLUSTER_DEL_NODES (705cd17b-5822-42cf-9222-e81b6215f0e7) execution: 'grace_period'
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base Traceback (most recent call last):
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base File "/opt/stack/senlin/senlin/engine/actions/base.py", line 500, in ActionProc
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base result, reason = action.execute()
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base File "/opt/stack/senlin/senlin/engine/actions/cluster_action.py", line 842, in execute
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base res, reason = self._execute(**kwargs)
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base File "/opt/stack/senlin/senlin/engine/actions/cluster_action.py", line 810, in _execute
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base result, reason = method()
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base File "/opt/stack/senlin/senlin/engine/actions/cluster_action.py", line 421, in do_del_nodes
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base grace_period = self.data['deletion']['grace_period']
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base KeyError: 'grace_period'
2016-02-20 22:23:23.268 TRACE senlin.engine.actions.base
2016-02-20 22:23:23.281 ERROR senlin.engine.event [req-a1da989e-d754-4ca9-adec-265242d67e36 None None] cluster_del_nodes_43cbce8b [705cd17b] CLUSTER_DEL_NODES - FAILED: 'grace_period'

Changed in senlin:
assignee: nobody → Cindia-blue (miaoxinhuili)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin (master)

Fix proposed to branch: master
Review: https://review.openstack.org/282821

Changed in senlin:
status: New → In Progress
Qiming Teng (tengqim)
Changed in senlin:
importance: Undecided → High
milestone: none → mitaka-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.openstack.org/282821
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=b51368d19ced35d7659fe5c34a7f185a03bd136d
Submitter: Jenkins
Branch: master

commit b51368d19ced35d7659fe5c34a7f185a03bd136d
Author: Cindia-blue <email address hidden>
Date: Sun Feb 21 11:52:21 2016 +0800

    Remove keyerror when only LB Policy Attached

    Attachment of LB policy will add 'deletion' to action data but no
    grace_period, which supposed given by deletion policy. This patch
    fix this problem.

    Change-Id: I017c38727fb99e0822f672f59b5d6429450688e1
    Closes-Bug: #1548000

Changed in senlin:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/senlin 1.0.0.0b3

This issue was fixed in the openstack/senlin 1.0.0.0b3 development milestone.

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.