Services of type LoadBalancer: IP appears in the status before LB was completely provisioned in Openstack

Bug #1756730 reported by Yossi Boaron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr-kubernetes
Fix Released
Critical
Yossi Boaron

Bug Description

In OpenStack with LBaaSV2 and provider=Octavia, it could take ~200 seconds to provision a load balancer.

Kuryr should update the Floating IP under service/status field after the LB was totally provisioned.

Changed in kuryr-kubernetes:
assignee: nobody → Yossi Boaron (yossi-boaron-1234)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr-kubernetes (master)

Fix proposed to branch: master
Review: https://review.openstack.org/554070

Changed in kuryr-kubernetes:
status: New → In Progress
Changed in kuryr-kubernetes:
importance: Undecided → Medium
Changed in kuryr-kubernetes:
importance: Medium → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-kubernetes (master)

Reviewed: https://review.openstack.org/554070
Committed: https://git.openstack.org/cgit/openstack/kuryr-kubernetes/commit/?id=e0dfd36e36887b7d56ff762e86741f1a6cb5e161
Submitter: Zuul
Branch: master

commit e0dfd36e36887b7d56ff762e86741f1a6cb5e161
Author: Yossi Boaron <email address hidden>
Date: Sun Mar 18 22:47:29 2018 +0200

    Services: update service's status after LB completely provisioned.

    When creating a service of type 'LoadBalancer', you create
    a cloud network load balancer.
    This provides an externally-accessible IP address that sends
    traffic to the correct port on your cluster nodes.
    The external IP address is stored in k8s service's status
    information (under loadbalancer/ingress/ip).

    Kuryr implements this capability using OpenStack floating IP
    functionality.
    This patch updates Kuryr to store external IP information only after
    LB was entirely configured in OpenStack.

    Change-Id: I1d43f03d49d6e760c859f219aa9a4c209087c753
    Closes-Bug: 1756730

Changed in kuryr-kubernetes:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr-kubernetes (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/559280

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-kubernetes (stable/queens)

Reviewed: https://review.openstack.org/559280
Committed: https://git.openstack.org/cgit/openstack/kuryr-kubernetes/commit/?id=c7528a132ddf601dc121dc4b092d2ea22f6134a1
Submitter: Zuul
Branch: stable/queens

commit c7528a132ddf601dc121dc4b092d2ea22f6134a1
Author: Yossi Boaron <email address hidden>
Date: Sun Mar 18 22:47:29 2018 +0200

    Services: update service's status after LB completely provisioned.

    When creating a service of type 'LoadBalancer', you create
    a cloud network load balancer.
    This provides an externally-accessible IP address that sends
    traffic to the correct port on your cluster nodes.
    The external IP address is stored in k8s service's status
    information (under loadbalancer/ingress/ip).

    Kuryr implements this capability using OpenStack floating IP
    functionality.
    This patch updates Kuryr to store external IP information only after
    LB was entirely configured in OpenStack.

    Change-Id: I1d43f03d49d6e760c859f219aa9a4c209087c753
    Closes-Bug: 1756730
    (cherry picked from commit e0dfd36e36887b7d56ff762e86741f1a6cb5e161)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kuryr-kubernetes 0.4.2

This issue was fixed in the openstack/kuryr-kubernetes 0.4.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kuryr-kubernetes 0.5.0

This issue was fixed in the openstack/kuryr-kubernetes 0.5.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.