← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1912779] [NEW] [ovn-octavia-provider]: batch update fails when members to remove is empty

 

Public bug reported:

Discovered bug using Kubernetes cloud-provider-openstack and trying to
expose service using type: Loadbalancer.

I0122 07:06:34.842456       1 openstack_loadbalancer.go:1122] Updating 1 members for pool fa4db405-2e66-4ce2-a29c-743700e4d53c
I0122 07:06:34.842578       1 loadbalancer.go:371] OpenStack Request URL: PUT https://sparrow.cf.ac.uk:9876/v2.0/lbaas/pools/fa4db405-2e66-4ce2-a29c-743700e4d53c/members
I0122 07:06:34.842607       1 loadbalancer.go:371] OpenStack Request Headers:
I0122 07:06:34.842613       1 loadbalancer.go:371] Accept: application/json
I0122 07:06:34.842619       1 loadbalancer.go:371] Content-Type: application/json
I0122 07:06:34.842631       1 loadbalancer.go:371] User-Agent: openstack-cloud-controller-manager/da85a2c6-dirty gophercloud/2.0.0
I0122 07:06:34.842637       1 loadbalancer.go:371] X-Auth-Token: ***
I0122 07:06:34.842676       1 loadbalancer.go:371] OpenStack Request Body: {
I0122 07:06:34.842686       1 loadbalancer.go:371]   "members": [
I0122 07:06:34.842692       1 loadbalancer.go:371]     {
I0122 07:06:34.842698       1 loadbalancer.go:371]       "address": "10.0.0.75",
I0122 07:06:34.842704       1 loadbalancer.go:371]       "name": "demo-k8s-czynmnrzfgtu-node-0",
I0122 07:06:34.842711       1 loadbalancer.go:371]       "protocol_port": 31166,
I0122 07:06:34.842717       1 loadbalancer.go:371]       "subnet_id": "b1c8ea56-f7d1-4b14-b584-d621d77f88c1"
I0122 07:06:34.842723       1 loadbalancer.go:371]     }
I0122 07:06:34.842729       1 loadbalancer.go:371]   ]
I0122 07:06:34.842735       1 loadbalancer.go:371] }
I0122 07:06:35.844346       1 loadbalancer.go:371] OpenStack Response Code: 500
I0122 07:06:35.844384       1 loadbalancer.go:371] OpenStack Response Headers:
I0122 07:06:35.844389       1 loadbalancer.go:371] Connection: keep-alive
I0122 07:06:35.844394       1 loadbalancer.go:371] Content-Length: 114
I0122 07:06:35.844399       1 loadbalancer.go:371] Content-Type: application/json
I0122 07:06:35.844403       1 loadbalancer.go:371] Date: Fri, 22 Jan 2021 07:06:35 GMT
I0122 07:06:35.844408       1 loadbalancer.go:371] Server: WSGIServer/0.2 CPython/3.6.8
I0122 07:06:35.844413       1 loadbalancer.go:371] X-Openstack-Request-Id: req-2fff1131-4956-48cf-a018-c0b0f9ab55d7
I0122 07:06:35.844518       1 loadbalancer.go:371] OpenStack Response Body: {
I0122 07:06:35.844530       1 loadbalancer.go:371]   "debuginfo": null,
I0122 07:06:35.844535       1 loadbalancer.go:371]   "faultcode": "Server",
I0122 07:06:35.844540       1 loadbalancer.go:371]   "faultstring": "Provider 'ovn' reports error: list index out of range"
I0122 07:06:35.844545       1 loadbalancer.go:371] }

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovn-octavia-provider

** Tags added: 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/1912779

Title:
  [ovn-octavia-provider]: batch update fails when members to remove is
  empty

Status in neutron:
  New

Bug description:
  Discovered bug using Kubernetes cloud-provider-openstack and trying to
  expose service using type: Loadbalancer.

  I0122 07:06:34.842456       1 openstack_loadbalancer.go:1122] Updating 1 members for pool fa4db405-2e66-4ce2-a29c-743700e4d53c
  I0122 07:06:34.842578       1 loadbalancer.go:371] OpenStack Request URL: PUT https://sparrow.cf.ac.uk:9876/v2.0/lbaas/pools/fa4db405-2e66-4ce2-a29c-743700e4d53c/members
  I0122 07:06:34.842607       1 loadbalancer.go:371] OpenStack Request Headers:
  I0122 07:06:34.842613       1 loadbalancer.go:371] Accept: application/json
  I0122 07:06:34.842619       1 loadbalancer.go:371] Content-Type: application/json
  I0122 07:06:34.842631       1 loadbalancer.go:371] User-Agent: openstack-cloud-controller-manager/da85a2c6-dirty gophercloud/2.0.0
  I0122 07:06:34.842637       1 loadbalancer.go:371] X-Auth-Token: ***
  I0122 07:06:34.842676       1 loadbalancer.go:371] OpenStack Request Body: {
  I0122 07:06:34.842686       1 loadbalancer.go:371]   "members": [
  I0122 07:06:34.842692       1 loadbalancer.go:371]     {
  I0122 07:06:34.842698       1 loadbalancer.go:371]       "address": "10.0.0.75",
  I0122 07:06:34.842704       1 loadbalancer.go:371]       "name": "demo-k8s-czynmnrzfgtu-node-0",
  I0122 07:06:34.842711       1 loadbalancer.go:371]       "protocol_port": 31166,
  I0122 07:06:34.842717       1 loadbalancer.go:371]       "subnet_id": "b1c8ea56-f7d1-4b14-b584-d621d77f88c1"
  I0122 07:06:34.842723       1 loadbalancer.go:371]     }
  I0122 07:06:34.842729       1 loadbalancer.go:371]   ]
  I0122 07:06:34.842735       1 loadbalancer.go:371] }
  I0122 07:06:35.844346       1 loadbalancer.go:371] OpenStack Response Code: 500
  I0122 07:06:35.844384       1 loadbalancer.go:371] OpenStack Response Headers:
  I0122 07:06:35.844389       1 loadbalancer.go:371] Connection: keep-alive
  I0122 07:06:35.844394       1 loadbalancer.go:371] Content-Length: 114
  I0122 07:06:35.844399       1 loadbalancer.go:371] Content-Type: application/json
  I0122 07:06:35.844403       1 loadbalancer.go:371] Date: Fri, 22 Jan 2021 07:06:35 GMT
  I0122 07:06:35.844408       1 loadbalancer.go:371] Server: WSGIServer/0.2 CPython/3.6.8
  I0122 07:06:35.844413       1 loadbalancer.go:371] X-Openstack-Request-Id: req-2fff1131-4956-48cf-a018-c0b0f9ab55d7
  I0122 07:06:35.844518       1 loadbalancer.go:371] OpenStack Response Body: {
  I0122 07:06:35.844530       1 loadbalancer.go:371]   "debuginfo": null,
  I0122 07:06:35.844535       1 loadbalancer.go:371]   "faultcode": "Server",
  I0122 07:06:35.844540       1 loadbalancer.go:371]   "faultstring": "Provider 'ovn' reports error: list index out of range"
  I0122 07:06:35.844545       1 loadbalancer.go:371] }

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


Follow ups