create network failed as allocate_tenant_segment function break out TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tricircle |
Fix Released
|
Undecided
|
Unassigned | ||
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when runnning tricircle testcase
TypeError was breaked out when create netowrk as follows:
2019-03-11 16:20:46.679438 | ubuntu-xenial | {3} tricircle.
2019-03-11 16:20:46.679531 | ubuntu-xenial |
2019-03-11 16:20:46.679675 | ubuntu-xenial | Captured traceback:
2019-03-11 16:20:46.679858 | ubuntu-xenial | ~~~~~~~~~~~~~~~~~~~
2019-03-11 16:20:46.680116 | ubuntu-xenial | Traceback (most recent call last):
2019-03-11 16:20:46.680737 | ubuntu-xenial | File "/home/
2019-03-11 16:20:46.680941 | ubuntu-xenial | return func(*args, **keywargs)
2019-03-11 16:20:46.681347 | ubuntu-xenial | File "tricircle/
2019-03-11 16:20:46.681701 | ubuntu-xenial | t_ctx, q_ctx, fake_plugin, '["pod_1"]', ["pod_1"], '["pod_1"]')
2019-03-11 16:20:46.682279 | ubuntu-xenial | File "tricircle/
2019-03-11 16:20:46.682600 | ubuntu-xenial | e_net = fake_plugin.
2019-03-11 16:20:46.682995 | ubuntu-xenial | File "tricircle/
2019-03-11 16:20:46.683289 | ubuntu-xenial | net = super(FakePlugin, self).create_
2019-03-11 16:20:46.683604 | ubuntu-xenial | File "tricircle/
2019-03-11 16:20:46.683721 | ubuntu-xenial | tenant_id)
2019-03-11 16:20:46.684041 | ubuntu-xenial | File "tricircle/
2019-03-11 16:20:46.684298 | ubuntu-xenial | segment = self._allocate_
2019-03-11 16:20:46.684959 | ubuntu-xenial | File "/home/
2019-03-11 16:20:46.685257 | ubuntu-xenial | segment = self._allocate_
2019-03-11 16:20:46.685942 | ubuntu-xenial | File "/home/
2019-03-11 16:20:46.686259 | ubuntu-xenial | return driver.
2019-03-11 16:20:46.686573 | ubuntu-xenial | TypeError: allocate_
2019-03-11 16:20:46.686643 | ubuntu-xenial |
2019-03-11 16:20:46.687094 | ubuntu-xenial | {7} tricircle.
Changed in tricircle: | |
status: | New → Fix Committed |
status: | Fix Committed → Fix Released |
Neutron just merged this BP recently: /review. openstack. org/#/q/ status: merged+ branch: master+ topic:bp/ network- segment- range-managemen t /github. com/openstack/ tricircle/ blob/master/ tricircle/ network/ drivers/ type_vlan. py#L53 /github. com/openstack/ tricircle/ blob/master/ tricircle/ network/ drivers/ type_vxlan. py#L52
https:/
Please following the new required params to refactor the code, maybe these lines in tricircle itself:
https:/
https:/