[ovs-dev] Problem with ovs python idl mutations
Richard Theis
rtheis at us.ibm.com
Fri Sep 30 16:25:57 UTC 2016
As reported in [1], the ovs python idl mutations cause empty
column data to be returned by getattr after a mutation is
done the column. This can be recreated via the following
steps:
# Good column values
column_values = getattr(row, column, [])
# New value added via mutation
row.addvalue(column, new_value)
# Column values are empty
column_values = getattr(row, column, [])
The getattr() implementation for a Row is calling Datum
methods (e.g. extend, merge, etc.) which don't exist and
thus raise an exception:
"'Datum' object has no attribute 'merge'"
[1] https://bugs.launchpad.net/networking-ovn/+bug/1629099
Thanks,
Richard
More information about the dev
mailing list