[Build 3060] K8S: Edit of ingress externalip not reflecting in contrail

Bug #1686277 reported by chhandak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Yuvaraja Mariappan

Bug Description

Description:
While editing the ingress externalIP annotation it is changing in Kuberensts API not same is not getting changed on contrail. Kube API and contrail API is going out of sync.

Steps:

Create Ingress with externalIP annotation
Edit the ingress externalIP

Post Edit Output
-----------------

[root@5b7s18 ~]# kubectl get ing -o=custom-columns=NAME:.metadata.name,CLUSTER-IP:.metadata.annotations.clusterIP,EXTERNAL-IP:.metadata.annotations.externalIP
NAME CLUSTER-IP EXTERNAL-IP
test-ingress 10.47.255.248 10.87.117.250

From Contrail API.
--------------------
Loadbalacer VMI still pointing to old FIP ref

{
floating-ip: {
parent_uuid: "9b616c97-c9c3-4118-a4b6-8bfb814721a9",
parent_href: "http://10.87.121.34:8082/floating-ip-pool/9b616c97-c9c3-4118-a4b6-8bfb814721a9",
parent_type: "floating-ip-pool",
href: "http://10.87.121.34:8082/floating-ip/f6aa6dda-6f15-4a6d-a16a-b3498c1f5639",
floating_ip_address: "10.87.117.251",
id_perms: {
enable: true,
description: null,
created: "2017-04-26T04:22:54.283301",
creator: null,
uuid: {
uuid_mslong: 17774139664305048000,
uuid_lslong: 11631306116102576000
},
user_visible: true,
last_modified: "2017-04-26T04:22:55.020067",
permissions: {
owner: "cloud-admin",
owner_access: 7,
other_access: 7,
group: "cloud-admin-group",
group_access: 7
}
},

chhandak (chhandak)
Changed in juniperopenstack:
importance: Undecided → High
assignee: nobody → ymariappan (ymariappan)
milestone: none → r4.0
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/30878
Submitter: Yuvaraja Mariappan

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

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

commit 6ca8647c6af647179717d9c155e27ed3a40a3a9c
Author: Yuvaraja Mariappan <email address hidden>
Date: Sat Apr 29 11:33:10 2017 -0700

Handled annotations modification for externalIP in ingress in k8s

Handled annotations modification for externalIP in ingress in k8s.
Also support added to update the ingress status in k8s

Change-Id: I2542555fb91c426666ffa30b658817e00f6d3d74
Closes-bug: #1686277

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.