DVR: remove misleading error log
csnat_ofport is always OFPORT_INVALID on compute nodes so the error was always wrong. Not sure how it could mean duplicate dvr port even on controllers, so the patch is just removing the condition and the log. Closes-Bug: #1629816 Change-Id: Ifbb8128fbd932946dab84a73b780da495f2ea1af
This commit is contained in:
parent
0c76de8d01
commit
2f7c58f405
|
@ -357,15 +357,8 @@ class OVSDVRNeutronAgent(object):
|
|||
# IP, directly use fixed_ips[0]
|
||||
fixed_ip = fixed_ips[0]
|
||||
subnet_uuid = fixed_ip['subnet_id']
|
||||
csnat_ofport = constants.OFPORT_INVALID
|
||||
ldm = None
|
||||
if subnet_uuid in self.local_dvr_map:
|
||||
ldm = self.local_dvr_map[subnet_uuid]
|
||||
csnat_ofport = ldm.get_csnat_ofport()
|
||||
if csnat_ofport == constants.OFPORT_INVALID:
|
||||
LOG.error(_LE("DVR: Duplicate DVR router interface detected "
|
||||
"for subnet %s"), subnet_uuid)
|
||||
return
|
||||
else:
|
||||
# set up LocalDVRSubnetMapping available for this subnet
|
||||
subnet_info = self.plugin_rpc.get_subnet_for_dvr(
|
||||
|
|
Loading…
Reference in New Issue