ovsdb error: "attempting to write bad value to column other_config"

Bug #1642388 reported by Thomas Morin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
networking-bgpvpn
New
Undecided
Unassigned
neutron
New
Undecided
Unassigned

Bug Description

We see this error in networking-bgpvpn tempest test runs:

2016-11-16 17:13:51.031 20988 DEBUG neutron.agent.ovsdb.impl_idl [-] Running txn command(idx=0): DbSetCommand(table=Port, col_values=(('other_config', {'tag': 4}),), record=qvo655bfaa6-18) do_commit /opt/stack/new/neutron/neutron/agent/ovsdb/impl_idl.py:100
2016-11-16 17:13:51.031 20988 ERROR neutron.agent.ovsdb.native.vlog [-] attempting to write bad value to column other_config (ovsdb error: expected string, got <type 'int'>)
2016-11-16 17:13:51.031 20988 DEBUG neutron.agent.ovsdb.impl_idl [-] Transaction caused no change do_commit /opt/stack/new/neutron/neutron/agent/ovsdb/impl_idl.py:127

Nothing obviously points at something related or specific to networking-bgpvpn.

Full logs:
http://logs.openstack.org/67/396967/4/check/gate-tempest-dsvm-networking-bgpvpn-bagpipe/bf56a53/logs/screen-q-agt.txt.gz?level=DEBUG#_2016-11-16_17_13_51_031

Revision history for this message
Terry Wilson (otherwiseguy) wrote :

This is a duplicate of a bug that there is already a fix for. You can't store an int in other_config.

https://launchpad.net/bugs/1630920
https://review.openstack.org/#/c/383540/

Revision history for this message
Victor Morales (electrocucaracha) wrote :

It seems to fail detecting a valid type for other_config column. I'm wondering why it's not considering the options[1]

[1] https://github.com/openstack/neutron/blob/master/neutron/agent/ovsdb/native/commands.py#L200-L212

Revision history for this message
Terry Wilson (otherwiseguy) wrote :

There is no type detection/coercion. The column is of type map {string: string} and that is it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.