Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit 58d9f17

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request #59075 from jrperritt/octavia-flip-fix
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. cloudprovider/openstack: fix bug that tries to use octavia client to query flip **What this PR does / why we need it**: This fixes a bug that [potentially] tries to use an Octavia client to query a floating ip. Neutron should always handle those. **Release note**: ```release-note cloudprovider/openstack: fix bug the tries to use octavia client to query flip ```
2 parents a5b50ab + d56d1f9 commit 58d9f17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/cloudprovider/providers/openstack/openstack_loadbalancer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ func (lbaas *LbaasV2) EnsureLoadBalancer(clusterName string, apiService *v1.Serv
922922
}
923923

924924
portID := loadbalancer.VipPortID
925-
floatIP, err := getFloatingIPByPortID(lbaas.lb, portID)
925+
floatIP, err := getFloatingIPByPortID(lbaas.network, portID)
926926
if err != nil && err != ErrNotFound {
927927
return nil, fmt.Errorf("error getting floating ip for port %s: %v", portID, err)
928928
}

0 commit comments

Comments
 (0)