lb-member-delete with junk id , deletes the actual member
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
Medium
|
Yuvaraja Mariappan | |||
R3.1 |
Fix Committed
|
Medium
|
Yuvaraja Mariappan | |||
Trunk |
Fix Committed
|
Medium
|
Yuvaraja Mariappan |
Bug Description
with one lb-member, if you do lb-member-delete with some junk id, still it deletes the actual lb-member..
root@a5s10:~# source /etc/contrail/
root@a5s10:~# export OS_USERNAME=falcon
root@a5s10:~# export OS_TENANT_
root@a5s10:~# export OS_PASSWORD=
root@a5s10:~# neutron lb-member-create --tenant-id 1abc95cb660342e
Created a new member:
+------
| Field | Value |
+------
| address | 192.168.1.7 |
| admin_state_up | True |
| id | 46989032-
| pool_id | c1652c8b-
| protocol_port | 80 |
| status | ACTIVE |
| tenant_id | 1abc95cb660342e
| weight | 1 |
+------
root@a5s10:~# neutron lb-member-list
+------
| id | address | protocol_port | weight | admin_state_up | status |
+------
| 46989032-
+------
root@a5s10:~# neutron --debug lb-member-delete sending_
DEBUG: keystoneclient.
DEBUG: urllib3.util.retry Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=0)
DEBUG: keystoneclient.
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-
DEBUG: neutronclient.
DEBUG: keystoneclient.
DEBUG: urllib3.util.retry Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=0)
DEBUG: keystoneclient.
DEBUG: urllib3.util.retry Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=0)
DEBUG: keystoneclient.
RESP BODY: {"members": [{"id": "46989032-
DEBUG: keystoneclient.
DEBUG: urllib3.util.retry Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=0)
DEBUG: keystoneclient.
Deleted member: sending_
root@a5s10:~# neutron lb-member-list
root@a5s10:~#
Changed in juniperopenstack: | |
importance: | Undecided → High |
Changed in juniperopenstack: | |
assignee: | nobody → Rudra Rugge (rudrarugge) |
information type: | Proprietary → Public |
tags: | added: lbaas |
bug update...