yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51479
[Bug 1585373] [NEW] qos-policy update without specify --shared causing it change to default False
Public bug reported:
update policy 3k-bm-limiter as shared policy.
update policy 3k-bm-limiter with only name field, causing default field shared=False being used.
Here is the console log:
nicira@newton-devstack:~$ neutron qos-policy-show 3k-bm-limiter
+-------------+--------------------------------------------------------------+
| Field | Value |
+-------------+--------------------------------------------------------------+
| description | bw-limit 3k |
| id | 163c5fc1-7bf2-455b-a92c-4118fc612822 |
| name | 3k-bm-limiter |
| rules | 76344f3d-0933-4cd6-be97-918aebe4741c (type: bandwidth_limit) |
| shared | False |
| tenant_id | 1cf34eba3d3240a68966ef61567c5650 |
+-------------+--------------------------------------------------------------+
nicira@newton-devstack:~$ neutron qos-policy-update --shared 3k-bm-limiter
Updated policy: 3k-bm-limiter
nicira@newton-devstack:~$ neutron qos-policy-show 3k-bm-limiter
+-------------+--------------------------------------------------------------+
| Field | Value |
+-------------+--------------------------------------------------------------+
| description | bw-limit 3k |
| id | 163c5fc1-7bf2-455b-a92c-4118fc612822 |
| name | 3k-bm-limiter |
| rules | 76344f3d-0933-4cd6-be97-918aebe4741c (type: bandwidth_limit) |
| shared | True |
| tenant_id | 1cf34eba3d3240a68966ef61567c5650 |
+-------------+--------------------------------------------------------------+
nicira@newton-devstack:~$ neutron qos-policy-update --name=bw-limiter 3k-bm-limiter
Updated policy: 3k-bm-limiter
nicira@newton-devstack:~$ neutron qos-policy-show bw-limiter
+-------------+--------------------------------------------------------------+
| Field | Value |
+-------------+--------------------------------------------------------------+
| description | bw-limit 3k |
| id | 163c5fc1-7bf2-455b-a92c-4118fc612822 |
| name | bw-limiter |
| rules | 76344f3d-0933-4cd6-be97-918aebe4741c (type: bandwidth_limit) |
| shared | False |
| tenant_id | 1cf34eba3d3240a68966ef61567c5650 |
+-------------+--------------------------------------------------------------+
nicira@newton-devstack:~$
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1585373
Title:
qos-policy update without specify --shared causing it change to
default False
Status in neutron:
New
Bug description:
update policy 3k-bm-limiter as shared policy.
update policy 3k-bm-limiter with only name field, causing default field shared=False being used.
Here is the console log:
nicira@newton-devstack:~$ neutron qos-policy-show 3k-bm-limiter
+-------------+--------------------------------------------------------------+
| Field | Value |
+-------------+--------------------------------------------------------------+
| description | bw-limit 3k |
| id | 163c5fc1-7bf2-455b-a92c-4118fc612822 |
| name | 3k-bm-limiter |
| rules | 76344f3d-0933-4cd6-be97-918aebe4741c (type: bandwidth_limit) |
| shared | False |
| tenant_id | 1cf34eba3d3240a68966ef61567c5650 |
+-------------+--------------------------------------------------------------+
nicira@newton-devstack:~$ neutron qos-policy-update --shared 3k-bm-limiter
Updated policy: 3k-bm-limiter
nicira@newton-devstack:~$ neutron qos-policy-show 3k-bm-limiter
+-------------+--------------------------------------------------------------+
| Field | Value |
+-------------+--------------------------------------------------------------+
| description | bw-limit 3k |
| id | 163c5fc1-7bf2-455b-a92c-4118fc612822 |
| name | 3k-bm-limiter |
| rules | 76344f3d-0933-4cd6-be97-918aebe4741c (type: bandwidth_limit) |
| shared | True |
| tenant_id | 1cf34eba3d3240a68966ef61567c5650 |
+-------------+--------------------------------------------------------------+
nicira@newton-devstack:~$ neutron qos-policy-update --name=bw-limiter 3k-bm-limiter
Updated policy: 3k-bm-limiter
nicira@newton-devstack:~$ neutron qos-policy-show bw-limiter
+-------------+--------------------------------------------------------------+
| Field | Value |
+-------------+--------------------------------------------------------------+
| description | bw-limit 3k |
| id | 163c5fc1-7bf2-455b-a92c-4118fc612822 |
| name | bw-limiter |
| rules | 76344f3d-0933-4cd6-be97-918aebe4741c (type: bandwidth_limit) |
| shared | False |
| tenant_id | 1cf34eba3d3240a68966ef61567c5650 |
+-------------+--------------------------------------------------------------+
nicira@newton-devstack:~$
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1585373/+subscriptions
Follow ups