OS::Nova::Server throws error for unrelated OS::Neutron::Subnet

Bug #1380846 reported by Randall Burt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Randall Burt

Bug Description

If a template contains an OS::Neutron::Subnet and a OS::Nova::Server with no networks defined, OS::Nova::Server throws an exception because it still tries to iterate over its (non-existent) networks looking for a match with the subnet.

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

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/128146
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=e0551487313e738eb83e586b32f44e0ddd7b8899
Submitter: Jenkins
Branch: master

commit e0551487313e738eb83e586b32f44e0ddd7b8899
Author: Randall Burt <email address hidden>
Date: Tue Oct 14 11:40:25 2014 -0500

    Do not match subnets if no networks defined

    Server will now skip looking for subnets on shared networks
    if the server doesn't have any networks defined. Added tests
    to verify existing behavior as well as to guard regression.

    Change-Id: I81bc3bf753843f521ccb8a96b9a40a6f82ca8d92
    Closes-Bug: #1380846

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-1 → 2015.1.0
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.