Provide correct error message if find_resource_by_name is called for resource which does not have a name parameter.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Expired
|
Medium
|
Unassigned |
Bug Description
neutron lbaas-member-delete with the non existing member id throws incorrect error message.
For e.g.
neutron lbaas-member-delete 852bfa31-
Throws the following error message.
Multiple member matches found for name '852bfa31-
Example:
$ neutron lbaas-member-list pool1
+------
| id | address | protocol_port | weight | subnet_id | admin_state_up |
+------
| 64e4d9f4-
| a1a9c7a6-
| d9d060ee-
+------
$ neutron lbaas-member-delete non-existing-uuid pool1
Multiple member matches found for name 'non-existing-
summary: |
- Delete member with wrong member id throws wrong error message. + Delete member with non existing member id throws incorrect error + message. |
description: | updated |
Changed in python-neutronclient: | |
assignee: | nobody → Reedip (reedip-banerjee) |
summary: |
- Delete member with non existing member id throws incorrect error - message. + [neutron-lbaas]Delete member with non existing member id throws + incorrect error message. |
affects: | python-neutronclient → neutron |
tags: | added: lbaas |
affects: | neutron → python-neutronclient |
Changed in python-neutronclient: | |
status: | Confirmed → Fix Committed |
summary: |
- Do not call find_resource_by_name for API which does not have a name - parameter + Provide correct error message if find_resource_by_name is called for + resource which does not have a name parameter. |
Changed in python-neutronclient: | |
assignee: | nobody → Reedip (reedip-banerjee) |
Changed in python-neutronclient: | |
assignee: | Reedip (reedip-banerjee) → nobody |
this is a neutron client error, moving to that project.