K8S: When Namespace Isolation enabled VN not getting deleted

Bug #1687490 reported by chhandak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Dinesh Bakiaraj
Trunk
Fix Committed
High
Dinesh Bakiaraj

Bug Description

When Namespace Isolation enabled (Per VN one Namespace), deleting the namespace is not deleting virtual-network its has created in contrail-api-server. Observed this issue with Build 3060.

As per kubectl output
----------------------
[root@5b7s18 ~]# kubectl get namespace
NAME STATUS AGE
default Active 5d
kube-public Active 5d
kube-system Active 5d

As per API server output (All this namespace is deleted from kubernetes)
-----------------------------

[root@5b7s18 ~]# curl http://10.87.121.34:8082/virtual-networks| python -m json.tool | grep -A 3 "fq_name"
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 10370 100 10370 0 0 1082k 0 --:--:-- --:--:-- --:--:-- 1265k
            "fq_name": [
                "default-domain",
                "default",
                "ctest-namespace-19031491-vn"
--
            "fq_name": [
                "default-domain",
                "default",
                "ctest-namespace-28682780-vn"
--
            "fq_name": [
                "default-domain",
                "default",
                "ctest-namespace-43483425-vn"
--
            "fq_name": [
                "default-domain",
                "default",
                "ctest-namespace-23836598-vn"
--
            "fq_name": [
                "default-domain",
                "default",
                "__public__"
--
            "fq_name": [
                "default-domain",
                "default",
                "ctest-namespace-13478818-vn"
--
            "fq_name": [
                "default-domain",
                "default",
                "ctest-namespace-68187624-vn"
--

chhandak (chhandak)
Changed in juniperopenstack:
importance: Undecided → High
milestone: none → r4.0
assignee: nobody → Dinesh Bakiaraj (dineshb)
information type: Proprietary → Public
Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
Dinesh Bakiaraj (dineshb) wrote :
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.