Bug 1583718

Summary: [3.9] Service uses type ClusterIP and cloudprovider tries to create loadbalancer
Product: OpenShift Container Platform Reporter: Nicolas Nosenzo <nnosenzo>
Component: NetworkingAssignee: Jacob Tanenbaum <jtanenba>
Status: CLOSED ERRATA QA Contact: Meng Bo <bmeng>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.9.0CC: aos-bugs, bbennett, clasohm, fcami, hongli, jkaur, jokerman, jtanenba, mmasters, mmccomas, smulholland, tatanaka, xtian
Target Milestone: ---Keywords: NeedsTestCase
Target Release: 3.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-18 09:18:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1267746    
Bug Blocks:    

Description Nicolas Nosenzo 2018-05-29 14:22:36 UTC
Description of problem:
Service uses  type ClusterIP and  Azure cloudprovider tries to create loadbalancer:

# oc get events | grep kubernetes
4m          2d           774       kubernetes.1531e5cfb887a549                Service                            Warning   CreatingLoadBalancerFailed   service-controller                   Error creating load balancer (will retry): error getting LB for service default/kubernetes: Service(default/kubernetes) - Loadbalancer not found


Version-Release number of selected component (if applicable):
OCP3.9

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Upstream bug:

https://github.com/kubernetes/kubernetes/issues/60528
https://github.com/Azure/acs-engine/issues/2151

Comment 1 Nicolas Nosenzo 2018-05-29 14:24:32 UTC
Upstream PM:
https://github.com/kubernetes/kubernetes/pull/61260

Comment 5 Ben Bennett 2018-06-06 17:42:56 UTC
*** Bug 1587812 has been marked as a duplicate of this bug. ***

Comment 8 François Cami 2018-06-18 13:52:06 UTC
I've opened the PR: https://github.com/openshift/origin/pull/20029 for the sake of discussing this.

Comment 18 Hongan Li 2018-07-11 02:07:25 UTC
Verified in atomic-openshift-3.9.33-1.git.0.c35d02e.el7 and the issue has been fixed, didn't see CreatingLoadBalancerFailed in events for the service uses type ClusterIP.

OS: Red Hat Enterprise Linux Server release 7.5 (Maipo)
kernel: Linux qe-39-master-etcd-1 3.10.0-862.6.3.el7.x86_64 #1 SMP Fri Jun 15 17:57:37 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

Comment 20 errata-xmlrpc 2018-07-18 09:18:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2213