Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-11953

Timeout when creating a balancer using ovn provider driver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhos-18.0.0
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Moderate

      Despite the fact that the manual creation of small load balancers is successful, when I try to create a fairly complex load balancer with RHOSO, I get a timeout from the octavia api and a failed state of the load balancer.

      When creating a load balancer with more than 3 pools of 28 members each, I get 504 Gateway Timeout. Based on the octavia code, pools are created and members are added to pools strictly sequentially, while adding one member in my environment takes about 1 second.
      https://github.com/openstack/ovn-octavia-provider/blob/master/ovn_octavia_provider/driver.py#L114-L119

      At the same time, the creation of each member is accompanied by obtaining the status for the entire balancer:
      https://github.com/openstack/ovn-octavia-provider/blob/master/ovn_octavia_provider/helper.py#L2137

       

              froyo@redhat.com Fernando Royo
              froyo@redhat.com Fernando Royo
              rhos-dfg-networking-squad-vans
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: