failure of port create,which needs to update before
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-ovn |
New
|
Undecided
|
Taoyunxiang |
Bug Description
Before creating a port, which needs to update the port information. In this case, an error is reported,like as the pic tells.
the cmd of neutron is "neutron port-create net-id"
when troubleshooting with logs,i find the code logic is to update before create,just as fellows.
if port.get(
# NOTE(rtheis): Fail port creation if the address set doesn't
# exist. This prevents ports from being created on any security
# groups out-of-sync between neutron and OVN.
for sg_id in sg_ids:
the path of code is /usr/lib/
when i change the value of 'if_exists' to True , all will fine .
description: | updated |
Changed in networking-ovn: | |
assignee: | nobody → Taoyunxiang (taoyunxiang) |
the error just like this
File "/usr/lib/ python2. 7/site- packages/ ovsdbapp/ backend/ ovs_idl/ connection. py", line 97, in run results. put(txn. do_commit( )) python2. 7/site- packages/ ovsdbapp/ backend/ ovs_idl/ transaction. py", line 86, in do_commit run_idl( txn) python2. 7/site- packages/ networking_ ovn/ovsdb/ commands. py", line 725, in run_idl b5dbdfe6_ bcd3_4e39_ b43a_0c37c66ccb 54 does not exist. Can't update addresses
txn.
File "/usr/lib/
command.
File "/usr/lib/
raise RuntimeError(msg)
RuntimeError: Address set as_ip4_