AttributeError: 'NoneType' object has no attribute 'split'

Bug #1231805 reported by Cody A.W. Somerville
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Steve Baker

Bug Description

I created a new stack and it failed when creating RouterInterface:

2013-09-27 05:29:32.664 18671 TRACE heat.engine.resource NeutronClientException: 400-{u'QuantumError': u'Bad router request: Cidr 10.0.0.0/24 of subnet 41bd7e72-9f5c-45db-8157-37f109ac201e overlaps with
cidr 10.0.0.0/24 of subnet 095d9664-d9a5-4f49-bee3-e1acd689af32'}

Attempting to delete the stack resulted in following error:

2013-09-27 05:32:27.695 18671 TRACE heat.engine.resource Traceback (most recent call last):
2013-09-27 05:32:27.695 18671 TRACE heat.engine.resource File "/home/ubuntu/heat-hpcloud/heat/heat/engine/resource.py", line 527, in delete
2013-09-27 05:32:27.695 18671 TRACE heat.engine.resource handle_data = self.handle_delete()
2013-09-27 05:32:27.695 18671 TRACE heat.engine.resource File "/home/ubuntu/heat-hpcloud/heat/heat/engine/resources/neutron/router.py", line 86, in handle_delete
2013-09-27 05:32:27.695 18671 TRACE heat.engine.resource (router_id, subnet_id) = self.resource_id.split(':')
2013-09-27 05:32:27.695 18671 TRACE heat.engine.resource AttributeError: 'NoneType' object has no attribute 'split'

Steven Hardy (shardy)
Changed in heat:
milestone: none → icehouse-1
Revision history for this message
Faramir (faramir) wrote : AUTO: Hai Liang Wang is on vacation from 09-29 to 10-08 (returning 10/09/2013)

I am out of the office until 10/09/2013.

Conact me by phone for anything urgency.
Phone Number - 15801213126 . thanks !

Note: This is an automated response to your message "[Bug 1231805] Re:
AttributeError: 'NoneType' object has no attribute 'split'" sent on
09/30/2013 15:06:00.

This is the only notification you will receive while this person is away.

Changed in heat:
assignee: nobody → Steve Baker (steve-stevebaker)
status: New → Triaged
importance: Undecided → Medium
tags: added: havana-rc-potential
Changed in heat:
status: Triaged → In Progress
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/49449

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

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

commit e20fbec4a9089b5b9662e2f0f02c89333f0ffb60
Author: Steve Baker <email address hidden>
Date: Thu Oct 3 11:25:03 2013 +1300

    resource_id check on router gateway, interface delete

    This change prevents RouterGateway and RouterInterface
    delete failing if create never managed to set the resource_id.

    Change-Id: I88ba2dd9b92546fca684dad2f921c6caf8467367
    Closes-Bug: #1231805

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/50280

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

Reviewed: https://review.openstack.org/50280
Committed: http://github.com/openstack/heat/commit/76aac8b501f2c625cc5f8fb668d6fe8f96eb5f24
Submitter: Jenkins
Branch: milestone-proposed

commit 76aac8b501f2c625cc5f8fb668d6fe8f96eb5f24
Author: Steve Baker <email address hidden>
Date: Thu Oct 3 11:25:03 2013 +1300

    resource_id check on router gateway, interface delete

    This change prevents RouterGateway and RouterInterface
    delete failing if create never managed to set the resource_id.

    Change-Id: I88ba2dd9b92546fca684dad2f921c6caf8467367
    Closes-Bug: #1231805

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.