Public bug reported:

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

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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:
  New

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

-- 
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

Reply via email to