← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2071426] [NEW] [DHCP] DHCP agent failing in ``DHCPResourceUpdate.__lt__`` method

 

Public bug reported:

The method ``DHCPResourceUpdate.__lt__`` is now failing because the port resource provided has no "fixed_ips" field:
"""
Jun 26 06:45:14.140484 np0037811679 neutron-dhcp-agent[60430]:   File "/opt/stack/neutron/neutron/agent/dhcp/agent.py", line 90, in __lt__
Jun 26 06:45:14.140484 np0037811679 neutron-dhcp-agent[60430]:     fixed_ip in self.resource['fixed_ips'])
Jun 26 06:45:14.140580 np0037811679 neutron-dhcp-agent[60430]: KeyError: 'fixed_ips'
"""

Snippet: https://paste.opendev.org/show/bRaANqkfcNVWrciDTcui/

Log:
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_ddd/922074/4/check/neutron-
tempest-plugin-openvswitch/ddda876/controller/logs/screen-q-dhcp.txt

** Affects: neutron
     Importance: High
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
   Importance: Undecided => High

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2071426

Title:
  [DHCP] DHCP agent failing in ``DHCPResourceUpdate.__lt__`` method

Status in neutron:
  New

Bug description:
  The method ``DHCPResourceUpdate.__lt__`` is now failing because the port resource provided has no "fixed_ips" field:
  """
  Jun 26 06:45:14.140484 np0037811679 neutron-dhcp-agent[60430]:   File "/opt/stack/neutron/neutron/agent/dhcp/agent.py", line 90, in __lt__
  Jun 26 06:45:14.140484 np0037811679 neutron-dhcp-agent[60430]:     fixed_ip in self.resource['fixed_ips'])
  Jun 26 06:45:14.140580 np0037811679 neutron-dhcp-agent[60430]: KeyError: 'fixed_ips'
  """

  Snippet: https://paste.opendev.org/show/bRaANqkfcNVWrciDTcui/

  Log:
  https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_ddd/922074/4/check/neutron-
  tempest-plugin-openvswitch/ddda876/controller/logs/screen-q-dhcp.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2071426/+subscriptions



Follow ups