config-neutron: tempest port-create on network without subnet fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
Undecided
|
Hampapur Ajay |
Bug Description
Observed following traceback when
tempest.
is run. This is due to port created on network that doesn't have a subnet. This affects only master branch.
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/lib/
net_info = cfgdb.port_
File "/usr/lib/
for ipam_ref in ipam_refs:
TypeError: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/lib/
return route.call(**args)
File "/usr/lib/
rv = callback(*a, **ka)
File "/usr/lib/
rv = callback(*a, **ka)
File "/usr/lib/
return self.plugin_
File "/usr/lib/
raise e
TypeError: 'NoneType' object is not iterable
Changed in juniperopenstack: | |
assignee: | nobody → Hampapur Ajay (hajay) |
Changed in juniperopenstack: | |
status: | New → Fix Committed |
Reviewed: https:/ /review. opencontrail. org/4133 github. org/Juniper/ contrail- controller/ commit/ 43e34af7eb0eca5 bf613190e16dcca 8fb47bfc05
Committed: http://
Submitter: Zuul
Branch: master
commit 43e34af7eb0eca5 bf613190e16dcca 8fb47bfc05
Author: Hampapur Ajay <email address hidden>
Date: Mon Oct 27 12:23:41 2014 -0700
If no subnet on network, don't try to iterate on None
Closes-Bug: #1386382
Change-Id: I96f765195ff431 d6a1f32235a98b0 05dce095009