← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2046457] [NEW] ovn provider fails with "AttributeError: 'Client' object has no attribute 'ports'"

 

Public bug reported:

octavia-driver-agent[91903]: ERROR futurist.periodics [-] Failed to call periodic 'ovn_octavia_provider.maintenance.DBInconsistenciesPeriodics.change_device_owner_lb_hm_ports' (it runs every 600.00 seconds): AttributeError: 'Client' object has no attribute 'ports'
octavia-driver-agent[91903]: ERROR futurist.periodics Traceback (most recent call last):
octavia-driver-agent[91903]: ERROR futurist.periodics   File "/usr/local/lib/python3.10/dist-packages/futurist/periodics.py", line 290, in run
octavia-driver-agent[91903]: ERROR futurist.periodics     work()
octavia-driver-agent[91903]: ERROR futurist.periodics   File "/usr/local/lib/python3.10/dist-packages/futurist/periodics.py", line 64, in __call__
octavia-driver-agent[91903]: ERROR futurist.periodics     return self.callback(*self.args, **self.kwargs)
octavia-driver-agent[91903]: ERROR futurist.periodics   File "/usr/local/lib/python3.10/dist-packages/futurist/periodics.py", line 178, in decorator
octavia-driver-agent[91903]: ERROR futurist.periodics     return f(*args, **kwargs)
octavia-driver-agent[91903]: ERROR futurist.periodics   File "/opt/stack/ovn-octavia-provider/ovn_octavia_provider/maintenance.py", line 79, in change_device_owner_lb_hm_ports
octavia-driver-agent[91903]: ERROR futurist.periodics     ovn_lb_hm_ports = neutron_client.ports(
octavia-driver-agent[91903]: ERROR futurist.periodics AttributeError: 'Client' object has no attribute 'ports'

see also k8s e2e test results:

https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/cloud-
provider-openstack/2504/openstack-cloud-controller-
manager-e2e-test/1735270733262622720

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovn-octavia-provider

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

Title:
  ovn provider fails with "AttributeError: 'Client' object has no
  attribute 'ports'"

Status in neutron:
  New

Bug description:
  octavia-driver-agent[91903]: ERROR futurist.periodics [-] Failed to call periodic 'ovn_octavia_provider.maintenance.DBInconsistenciesPeriodics.change_device_owner_lb_hm_ports' (it runs every 600.00 seconds): AttributeError: 'Client' object has no attribute 'ports'
  octavia-driver-agent[91903]: ERROR futurist.periodics Traceback (most recent call last):
  octavia-driver-agent[91903]: ERROR futurist.periodics   File "/usr/local/lib/python3.10/dist-packages/futurist/periodics.py", line 290, in run
  octavia-driver-agent[91903]: ERROR futurist.periodics     work()
  octavia-driver-agent[91903]: ERROR futurist.periodics   File "/usr/local/lib/python3.10/dist-packages/futurist/periodics.py", line 64, in __call__
  octavia-driver-agent[91903]: ERROR futurist.periodics     return self.callback(*self.args, **self.kwargs)
  octavia-driver-agent[91903]: ERROR futurist.periodics   File "/usr/local/lib/python3.10/dist-packages/futurist/periodics.py", line 178, in decorator
  octavia-driver-agent[91903]: ERROR futurist.periodics     return f(*args, **kwargs)
  octavia-driver-agent[91903]: ERROR futurist.periodics   File "/opt/stack/ovn-octavia-provider/ovn_octavia_provider/maintenance.py", line 79, in change_device_owner_lb_hm_ports
  octavia-driver-agent[91903]: ERROR futurist.periodics     ovn_lb_hm_ports = neutron_client.ports(
  octavia-driver-agent[91903]: ERROR futurist.periodics AttributeError: 'Client' object has no attribute 'ports'

  see also k8s e2e test results:

  https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/cloud-
  provider-openstack/2504/openstack-cloud-controller-
  manager-e2e-test/1735270733262622720

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



Follow ups