OS::Neutron::Loadbalancer with AutoscalingGroup members

Bug #1235903 reported by Stephen Gran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Stephen Gran

Bug Description

On creation of a loadbalancer with an autoscaling group, the update of the pool fails because pool_id is in the list of properties to be updated, but this is not allowed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
assignee: nobody → Stephen Gran (sgran)
status: New → In Progress
Revision history for this message
Stephen Gran (sgran) wrote :

Logs for stack trace:

2013-10-06 09:38:29.096 21042 ERROR heat.engine.resource [-] CREATE : AutoScalingGroup "myASGrpOne"
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource Traceback (most recent call last):
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 356, in _do
_action
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource while not check(handle_data):
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resources/autoscaling.py", lin
e 323, in check_create_complete
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource done = super(AutoScalingGroup, self).check_create_complete(task)
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resources/autoscaling.py", lin
e 143, in check_create_complete
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource self._lb_reload()
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resources/autoscaling.py", lin
e 250, in _lb_reload
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource scheduler.TaskRunner(lb_resource.update, resolved_snippet)()
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 118, in __
call__
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource self.start(timeout=timeout)
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 139, in st
art
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource self.step()
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 167, in st
ep
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource next(self._runner)
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 422, in upd
ate
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource prop_diff = self.update_template_diff_properties(after, before)
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 265, in upd
ate_template_diff_properties
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource raise UpdateReplace(changed_properties_set)
2013-10-06 09:38:29.096 21042 TRACE heat.engine.resource UpdateReplace: The Resource set([u'pool_id', 'members']) requires replacement.

Changed in heat:
milestone: none → icehouse-1
tags: added: havana-rc-potential
Changed in heat:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/49945
Committed: http://github.com/openstack/heat/commit/b938dc2e88c95c4d2a21f59a437487c02fa1e872
Submitter: Jenkins
Branch: master

commit b938dc2e88c95c4d2a21f59a437487c02fa1e872
Author: Stephen Gran <email address hidden>
Date: Sun Oct 6 09:43:43 2013 +0100

    It is necessary to update pool_id for Neutron LB

    Closes-Bug: 1235903
    Signed-off-by: Stephen Gran <email address hidden>
    Change-Id: Ie48312efd7f04c425436b8dae9c8bccf21dc768e

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-1 → havana-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/50283

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (milestone-proposed)

Reviewed: https://review.openstack.org/50283
Committed: http://github.com/openstack/heat/commit/1efa4f7f87c55cb7a53a636c5392c6a0f5719c91
Submitter: Jenkins
Branch: milestone-proposed

commit 1efa4f7f87c55cb7a53a636c5392c6a0f5719c91
Author: Stephen Gran <email address hidden>
Date: Sun Oct 6 09:43:43 2013 +0100

    It is necessary to update pool_id for Neutron LB

    Closes-Bug: 1235903
    Signed-off-by: Stephen Gran <email address hidden>
    Change-Id: Ie48312efd7f04c425436b8dae9c8bccf21dc768e

Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-rc2 → 2013.2
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.