[2.1-Build 40] fq-name confilict was happened while creating physical interface by WebUI
Bug #1433498 reported by
Daisuke Nakajima
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Prakash Bailkeri | ||
R2.1 |
Fix Committed
|
Undecided
|
Prakash Bailkeri |
Bug Description
fq-name confilict was happened while creating physical interface by WebUI. All physical interfaces were deleted before re-creating physical interface.
There was no xe-0/0/6 on WebUI and /physical-
""FQ Name: /fq-name-
Also Zookeeper had following data;
ls /fq-name-
[]
xe-0/0/6 was created successfully after deleting above data from Zookeeper.
Changed in juniperopenstack: | |
importance: | Undecided → High |
tags: | added: config |
To post a comment you must log in.
"parent-type" is not present in json data during post request. This causes an exception post allocation of uuid in zookeeper.
This leak of uuid(zookeeper nodE) causes 409 error on subsequent creation of physical interface with that name.
Traceback (most recent call last): python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 497, in handler_ trap_exception python2. 7/dist- packages/ vnc_cfg_ api_server/ gen/vnc_ api_server_ gen.py" , line 10563, in physical_ interfaces_ http_post dbe_alloc( 'physical- interface' , obj_dict, uuid_requested) python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ ifmap.py" , line 1436, in dbe_alloc 'fq_name' ]) python2. 7/dist- packages/ vnc_cfg_ api_server/ gen/vnc_ ifmap_client_ gen.py" , line 6777, in _ifmap_ physical_ interface_ alloc physical_ interface_ alloc_ifmap_ id(parent_ type, fq_name) python2. 7/dist- packages/ vnc_cfg_ api_server/ gen/vnc_ ifmap_client_ gen.py" , line 15895, in physical_ interface_ alloc_ifmap_ id
File "/usr/lib/
response = handler(*args, **kwargs)
File "/usr/lib/
(ok, result) = db_conn.
File "/usr/lib/
(ok, result) = method(parent_type, obj_dict[
File "/usr/lib/
imid.
File "/usr/lib/
parent_imid = 'contrail:' + parent_type + ':' + parent_fqn
TypeError: cannot concatenate 'str' and 'NoneType' objects