SGs for namespaces not cleaned up in api-server

Bug #1690331 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Yuvaraja Mariappan
Trunk
Fix Committed
High
Yuvaraja Mariappan

Bug Description

R4.0 Build 2 Ubuntu 14.04 kubernetes container-based setup

After kubernetes sanity run, it was seen that a number of SGs created for namespaces used in the tests were still present even after the namespaces went away.

Ex :
http://10.204.217.194:8082/security-group/1ec11f9f-7e42-421e-931b-71da97f15c16
{
"security-group": {
"display_name": "k8s-default-ctest-namespace-66835150-sg",
"uuid": "1ec11f9f-7e42-421e-931b-71da97f15c16",
"parent_uuid": "0daf27c3-925e-4412-89d4-6cd99b2ffcae",
"parent_href": "http://10.204.217.194:8082/project/0daf27c3-925e-4412-89d4-6cd99b2ffcae",
"parent_type": "project",
"perms2": {
"owner": "0daf27c3-925e-4412-89d4-6cd99b2ffcae",
"owner_access": 7,
"global_access": 0,
"share": []
},
"security_group_id": 8000014,
"href": "http://10.204.217.194:8082/security-group/1ec11f9f-7e42-421e-931b-71da97f15c16",
"id_perms": {
"enable": true,
"description": "Namespace security group",
"created": "2017-05-12T06:43:04.533338",
"creator": null,
"uuid": {
"uuid_mslong": 2216087261521527300,
"uuid_lslong": 10600191331612582000
},
"user_visible": true,
"last_modified": "2017-05-12T06:43:04.579731",
"permissions": {
"owner": "cloud-admin",
"owner_access": 7,
"other_access": 7,
"group": "cloud-admin-group",
"group_access": 7
}
},
"fq_name": [
"default-domain",
"default",
"k8s-default-ctest-namespace-66835150-sg"
],
"annotations": {
"key_value_pair": [
{
"value": "k8s-default",
"key": "cluster"
},
{
"value": "Namespace",
"key": "kind"
},
{
"value": "ctest-namespace-66835150",
"key": "namespace"
},
{
"value": "default",
"key": "project"
},
{
"value": "k8s-default-ctest-namespace-66835150-sg",
"key": "name"
},
{
"value": "k8s",
"key": "owner"
}
]
},
"name": "k8s-default-ctest-namespace-66835150-sg"
}
}

Changed in juniperopenstack:
milestone: none → r4.0.0.0-fcs
Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
Yuvaraja Mariappan (ymariappan) wrote :

https://review.opencontrail.org/#/c/31458/ will fix this issue.

Thanks,
Yuvaraja

Revision history for this message
Yuvaraja Mariappan (ymariappan) wrote :

https://review.opencontrail.org/#/c/31378/ will fix it in mainline

Thanks,
Yuvaraja

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.