yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83158
[Bug 1882061] Re: neutron-ovn-db-sync-util fails with KeyError: 'port_security_enabled' when port security not enabled
Reviewed: https://review.opendev.org/733512
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=58d1d0dbddd3299537f67b0fdee906918fd4bb6f
Submitter: Zuul
Branch: master
commit 58d1d0dbddd3299537f67b0fdee906918fd4bb6f
Author: Frode Nordahl <frode.nordahl@xxxxxxxxxxxxx>
Date: Thu Jun 4 11:40:16 2020 +0200
[OVN] Fix db-sync-util Traceback when port security not enabled
Change-Id: Id1ed2922a908148b2b271bd28cc974ef424530d5
Closes-Bug: #1882061
** 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/1882061
Title:
neutron-ovn-db-sync-util fails with KeyError: 'port_security_enabled'
when port security not enabled
Status in neutron:
Fix Released
Bug description:
neutron-ovn-db-sync-util --config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini --ovn-
neutron_sync_mode repair
[ ... ]
2020-06-04 08:43:20.044 943695 CRITICAL neutron [req-fe91c1b7-7c75-401a-b755-7c24e34b407a - - - - -] Unhandled error: KeyError: 'port_security_enabled'
2020-06-04 08:43:20.044 943695 ERROR neutron Traceback (most recent call last):
2020-06-04 08:43:20.044 943695 ERROR neutron File "/usr/bin/neutron-ovn-db-sync-util", line 10, in <module>
2020-06-04 08:43:20.044 943695 ERROR neutron sys.exit(main())
2020-06-04 08:43:20.044 943695 ERROR neutron File "/usr/lib/python3/dist-packages/neutron/cmd/ovn/neutron_ovn_db_sync_util.py", line 216, in main
2020-06-04 08:43:20.044 943695 ERROR neutron synchronizer.do_sync()
2020-06-04 08:43:20.044 943695 ERROR neutron File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_db_sync.py", line 92, in do_sync
2020-06-04 08:43:20.044 943695 ERROR neutron self.sync_port_groups(ctx)
2020-06-04 08:43:20.044 943695 ERROR neutron File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_db_sync.py", line 218, in sync_port_groups
2020-06-04 08:43:20.044 943695 ERROR neutron n_port['port_security_enabled']) and
2020-06-04 08:43:20.044 943695 ERROR neutron KeyError: 'port_security_enabled'
2020-06-04 08:43:20.044 943695 ERROR neutron
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1882061/+subscriptions
References