Reviewed: https://review.opendev.org/c/openstack/neutron/+/942156 Committed: https://opendev.org/openstack/neutron/commit/c9b6679b4f44843467b6de9a3f88096cf95b7766 Submitter: "Zuul (22348)" Branch: master
commit c9b6679b4f44843467b6de9a3f88096cf95b7766 Author: Terry Wilson <[email protected]> Date: Tue Feb 18 23:30:40 2025 +0000 Ensure string type in provnet-network-type ext_id When multiple segments exist, or when deleting all segments, the provider:network_type can be None which is not a valid value for an ovsdb external_id column, which only stores strings. Closes-Bug: #2098815 Change-Id: I7312570520bfc0e3d5e8e68cf065577cd3dc8786 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2098815 Title: attempting to write bad value to column external_ids (ovsdb error: expected string, got <class 'NoneType'>) Status in neutron: Fix Released Bug description: When running the 'test_network_segments_localnet_ports' functional test, I saw these errors in the logs: 2025-02-18 21:34:28.816 1676661 DEBUG neutron.tests.unit.plugins.ml2.drivers.mechanism_logger [None req-e5eeb5c0-8d48-420d-b616-95dc862021ba - 46f70361-ba71-4bd0-9769-3573fd227c4b - - - -] update_network_postcommit: _log_diff_call /opt/stack/neutron/neutron/tests/unit/plugins/ml2/drivers/mechanism_logger.py:59 2025-02-18 21:34:28.818 1676661 ERROR ovsdbapp.backend.ovs_idl.vlog [None req-e5eeb5c0-8d48-420d-b616-95dc862021ba - 46f70361-ba71-4bd0-9769-3573fd227c4b - - - -] attempting to write bad value to column external_ids (ovsdb error: expected string, got <class 'NoneType'>): ovs.db.error.Error: ovsdb error: expected string, got <class 'NoneType'> It appears to be happening because the neutron:provnet-network-type is None at the time, and external_ids must be string:string maps. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2098815/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

