Reviewed:  https://review.opendev.org/c/openstack/neutron/+/938889
Committed: 
https://opendev.org/openstack/neutron/commit/2aeba1be1e1378c21073fe1da8480445306c5d0f
Submitter: "Zuul (22348)"
Branch:    master

commit 2aeba1be1e1378c21073fe1da8480445306c5d0f
Author: Rodolfo Alonso Hernandez <ralon...@redhat.com>
Date:   Fri Jan 10 12:30:42 2025 +0000

    [OVN] Check if the LRP exists in ``check_provider_distributed_ports``
    
    The method ``check_provider_distributed_ports`` retrieves all Neutron
    database router ports in order to check the corresponding OVN LRP
    ``reside-on-redirect-chassis`` option. Since [1], ML2/OVN routers
    can have a specific flavor and the Logical_Router_Port can be missing
    in the OVN database. This patch checks if the Logical_Router_Port
    is present before updating it.
    
    [1]https://review.opendev.org/q/topic:%22router-flavor-ovn%22
    
    Closes-Bug: #2092474
    Change-Id: I0d8e364b1ec798fd940c494f59b78c6c0bcdc7b7


** 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/2092474

Title:
  Packet Logging Framework (OVN/ML2)

Status in kolla-ansible:
  New
Status in neutron:
  Fix Released

Bug description:
  When I enable Packet Logging Framework follow link
  https://docs.openstack.org/neutron/latest/admin/config-logging.html.
  On kolla-ansible stable@2024.2

  
#----------------------------------------------------------------------------------------------------
  
#----------------------------------------------------------------------------------------------------

  This is my config to enable

  - globals.yaml:
  enable_neutron_packet_logging: "yes"

  - /etc/kolla/config/neutron/ml2_conf.ini
  [agent]
  extensions = log

  - /etc/kolla/config/neutron/openvswitch_agent.ini
  [security_group]
  firewall_driver = openvswitch

  [agent]
  extensions = log

  [network_log]
  rate_limit = 100
  burst_limit = 25
  local_output_log_base = /var/log/kolla/neutron/action-security-group.log

  -/etc/kolla/config/neutron.conf
  [DEFAULT]
  service_plugins = router,metering,log

  
#----------------------------------------------------------------------------------------------------
  
#----------------------------------------------------------------------------------------------------

  I got an error when creating a router, attaching the interface as
  follows, it's quite similar to the 2 bugs that have existed

  https://bugs.launchpad.net/neutron/+bug/2064778
  https://bugs.launchpad.net/neutron/+bug/2064778

  
#----------------------------------------------------------------------------------------------------
  
#----------------------------------------------------------------------------------------------------

  Error log: /var/log/kolla/neutron/neutron-server.log

  2024-12-25 12:55:22.705 798 ERROR futurist.periodics [None 
req-8dd58f13-f860-4f88-b5d1-fdeeab033a06 - - - - - -] Failed to call periodic 
'neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance.DBInconsistenciesPeriodics.check_provider_distributed_ports'
 (it runs every 5.00 seconds): AttributeError: 'NoneType' object has no 
attribute 'options'
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics Traceback (most recent 
call last):
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/futurist/periodics.py", line 
290, in run
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics     work()
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/futurist/periodics.py", line 
64, in __call__
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics     return 
self.callback(*self.args, **self.kwargs)
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/futurist/periodics.py", line 
178, in decorator
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics     return f(*args, 
**kwargs)
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics            
^^^^^^^^^^^^^^^^^^
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py",
 line 82, in decorator
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics     return f(self, 
*args, **kwargs)
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics            
^^^^^^^^^^^^^^^^^^^^^^^^
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py",
 line 778, in check_provider_distributed_ports
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics     if lrp.options.get(
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics        ^^^^^^^^^^^
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics AttributeError: 
'NoneType' object has no attribute 'options'
  2024-12-25 12:55:22.705 798 ERROR futurist.periodics 
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics [None 
req-8dd58f13-f860-4f88-b5d1-fdeeab033a06 - - - - - -] Failed to call periodic 
'neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance.DBInconsistenciesPeriodics.check_redirect_type_router_gateway_ports'
 (it runs every 5.00 seconds): AttributeError: 'NoneType' object has no 
attribute 'options'
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics Traceback (most recent 
call last):
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/futurist/periodics.py", line 
290, in run
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics     work()
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/futurist/periodics.py", line 
64, in __call__
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics     return 
self.callback(*self.args, **self.kwargs)
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/futurist/periodics.py", line 
178, in decorator
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics     return f(*args, 
**kwargs)
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics            
^^^^^^^^^^^^^^^^^^
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py",
 line 82, in decorator
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics     return f(self, 
*args, **kwargs)
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics            
^^^^^^^^^^^^^^^^^^^^^^^^
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics   File 
"/var/lib/kolla/venv/lib/python3.12/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py",
 line 731, in check_redirect_type_router_gateway_ports
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics     redirect_value = 
lrp.options.get(
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics                      
^^^^^^^^^^^
  2024-12-25 12:55:22.803 798 ERROR futurist.periodics AttributeError: 
'NoneType' object has no attribute 'options'

To manage notifications about this bug go to:
https://bugs.launchpad.net/kolla-ansible/+bug/2092474/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to