[k8s-service-R5.0]: External floating IP object not created from floating IP pool when external IP is mentioned in k8s service

Bug #1763017 reported by Pulkit Tandon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Released
Critical
Prasanna Mucharikar
Trunk
Fix Released
Critical
Prasanna Mucharikar

Bug Description

BUG Tempelate:

Configuration:
K8s 1.9.2
contrail-5.0-10
Centos-7.4

Setup:
5 node setup.
3 Kube master. 3 Controller.
2 Agent+ K8s slaves

Description:
Kubemaster configuration:
[VNC]
public_fip_pool={u'project': u'default', u'domain': u'default-domain', u'name': u'__fip_pool_public__', u'network': u'__public__'}

On Contrail, created a VN with public IP anmed "__public__" and subnet "10.204.219.136/29".
Also configured a floating IP pool as "__fip_pool_public__"

Created a service and mentioned external IP using 1 of the IP from configured subnet :
  clusterIP: 10.100.6.5
  externalIPs:
  - 10.204.221.164
  ports:
  - port: 80
    protocol: TCP
    targetPort: 80
  selector:
    app: http_test
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}
~

Expected that floating IP will get generated in contrail and the service will be accessible from web.
Observation was that Floating IP with "10.204.221.164" did not get generated.
Thus, service wasn't accessible from outside.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41840
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/41985
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41840
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/41985
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41840
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/41985
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41840
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/41985
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41840
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/42223
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/42224
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/42223
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/42224
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/42223
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/42224
Submitter: Prasanna Mucharikar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/42223
Committed: http://github.com/Juniper/contrail-controller/commit/ea37e9a8e39df4ad6a7bdb548f8ebc069cc53a76
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit ea37e9a8e39df4ad6a7bdb548f8ebc069cc53a76
Author: Prasanna Mucharikar <email address hidden>
Date: Thu Apr 19 15:38:17 2018 -0700

If external IP is specified, it should be allocated if not already
allocated.

Change-Id: If95432364161efeffed4960d7c32062551140662
Closes-Bug: #1763017

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/42224
Committed: http://github.com/Juniper/contrail-controller/commit/ad92e59022810507dec40f5db7d8b75feba36edc
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit ad92e59022810507dec40f5db7d8b75feba36edc
Author: Prasanna Mucharikar <email address hidden>
Date: Thu Apr 19 15:38:17 2018 -0700

If external IP is specified, it should be allocated if not already
allocated.

Change-Id: If95432364161efeffed4960d7c32062551140662
Closes-Bug: #1763017

Revision history for this message
Pulkit Tandon (pulkitt) wrote :

Verified on Build R5.0-20
Bug is fixed. Hence closing

Revision history for this message
Pulkit Tandon (pulkitt) wrote :

Verified on master-ocata-89.
Hence closing

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.