yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54665
[Bug 1609717] [NEW] CLI client tries to find meter-label-rule by using name even though name attribute is not supported in meter-label-rule.
Public bug reported:
Behavior of Show/Delete meter-label-rule is odd.
Case1. There is more than one meter-label-rule in system.
ubuntu@neutron-ml2:~$ neutron meter-label-rule-list
+--------------------------------------+----------+-----------+------------------+
| id | excluded | direction | remote_ip_prefix |
+--------------------------------------+----------+-----------+------------------+
| 4b8cc074-4903-4fb9-bf6c-dbc62ae9f935 | False | ingress | 10.10.10.10/32 |
| ba880ef9-6af0-4dbc-be63-b4c9418e6ac8 | False | ingress | 10.10.10.11/32 |
+--------------------------------------+----------+-----------+------------------+
-Request and Response
===============
ubuntu@neutron-ml2:~$ neutron meter-label-rule-delete a
Multiple metering_label_rule matches found for name 'a', use an ID to be more specific.
================
Error above is returned even though there is no meter-label-rule with name 'a'.
Case2. There is a meter-label-rule in system.
ubuntu@neutron-ml2:~$ neutron meter-label-rule-list
+--------------------------------------+----------+-----------+------------------+
| id | excluded | direction | remote_ip_prefix |
+--------------------------------------+----------+-----------+------------------+
| ba880ef9-6af0-4dbc-be63-b4c9418e6ac8 | False | ingress | 10.10.10.11/32 |
+--------------------------------------+----------+-----------+------------------+
-Request and Response
ubuntu@neutron-ml2:~$ neutron meter-label-rule-delete a
Deleted metering_label_rule: a
The resource is deleted even though name of the meter-label-rule is not
'a'.
** Affects: neutron
Importance: Undecided
Assignee: Kengo Hobo (hobo-kengo)
Status: New
** Tags: metering
** Changed in: neutron
Assignee: (unassigned) => Kengo Hobo (hobo-kengo)
** Tags added: metering
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1609717
Title:
CLI client tries to find meter-label-rule by using name even though
name attribute is not supported in meter-label-rule.
Status in neutron:
New
Bug description:
Behavior of Show/Delete meter-label-rule is odd.
Case1. There is more than one meter-label-rule in system.
ubuntu@neutron-ml2:~$ neutron meter-label-rule-list
+--------------------------------------+----------+-----------+------------------+
| id | excluded | direction | remote_ip_prefix |
+--------------------------------------+----------+-----------+------------------+
| 4b8cc074-4903-4fb9-bf6c-dbc62ae9f935 | False | ingress | 10.10.10.10/32 |
| ba880ef9-6af0-4dbc-be63-b4c9418e6ac8 | False | ingress | 10.10.10.11/32 |
+--------------------------------------+----------+-----------+------------------+
-Request and Response
===============
ubuntu@neutron-ml2:~$ neutron meter-label-rule-delete a
Multiple metering_label_rule matches found for name 'a', use an ID to be more specific.
================
Error above is returned even though there is no meter-label-rule with name 'a'.
Case2. There is a meter-label-rule in system.
ubuntu@neutron-ml2:~$ neutron meter-label-rule-list
+--------------------------------------+----------+-----------+------------------+
| id | excluded | direction | remote_ip_prefix |
+--------------------------------------+----------+-----------+------------------+
| ba880ef9-6af0-4dbc-be63-b4c9418e6ac8 | False | ingress | 10.10.10.11/32 |
+--------------------------------------+----------+-----------+------------------+
-Request and Response
ubuntu@neutron-ml2:~$ neutron meter-label-rule-delete a
Deleted metering_label_rule: a
The resource is deleted even though name of the meter-label-rule is
not 'a'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1609717/+subscriptions
Follow ups