yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #55105
[Bug 1600708] Re: Update ‘--max-kbps’ and ‘--max-burst-kbps’ parameter to 2147483648 or greater than 2147483648 using qos-bandwidth-limit-rule-update command,Neutron server thrown an exception
Reviewed: https://review.openstack.org/350491
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=58316f7a8c07a4fbe912624a3bf9e08fdc6696f2
Submitter: Jenkins
Branch: master
commit 58316f7a8c07a4fbe912624a3bf9e08fdc6696f2
Author: QunyingRan <ran.qunying@xxxxxxxxxx>
Date: Wed Aug 3 05:56:50 2016 -0400
Add error informations for users when value is invalid in database
User can set bandwidth max-kbps or max-burst-kbps in QOS and
the value may be bigger than definiton in database. We need give
error information for users but throw exception in neutron server
Change-Id: Id18fbd2331a470dd175648e27890d766ead26871
Closes-Bug:1600708
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1600708
Title:
Update ‘--max-kbps’ and ‘--max-burst-kbps’ parameter to 2147483648 or
greater than 2147483648 using qos-bandwidth-limit-rule-update
command,Neutron server thrown an exception
Status in neutron:
Fix Released
Bug description:
In Mitaka,
Update ‘--max-kbps’ and ‘--max-burst-kbps’ parameter to 2147483648 or greater than 2147483648 using qos-bandwidth-limit-rule-update command,
Neutron server thrown an exception "DBDataError: (pymysql.err.DataError) (1264, u"Out of range value for column 'max_kbps' at row 1")"
[root@devstack218 devstack]# neutron qos-bandwidth-limit-rule-update 11a8e94a-92d0-41b5-a7bf-36f2a55f4573 bw-limiter --max-kbps 2147483648
Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-82a00cf8-3efd-4c82-830e-8295560866f0']
[root@devstack218 devstack]# neutron qos-bandwidth-limit-rule-update 11a8e94a-92d0-41b5-a7bf-36f2a55f4573 bw-limiter --max-burst-kbps 2147483648
Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-52fd2986-5076-42c4-b564-10d58984f87f']
[root@devstack218 devstack]#
Similarly, Creating qos-bandwidth-limit-rule specified the ‘--max-
kbps’ and ‘--max-burst-kbps’ parameter to 2147483648 or greater than
2147483648 also leads to abnormal
[root@devstack218 devstack]# neutron qos-bandwidth-limit-rule-create bw-limiter --max-kbps 2147483648
Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-54f916f1-cde3-4998-9bc4-1882e376b1cc']
[root@devstack218 devstack]# neutron qos-bandwidth-limit-rule-create bw-limiter --max-kbps 2147483647 --max-burst-kbps 2147483648
Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-72dbf5c5-c8f7-4b23-8537-3aebc29758f5']
[root@devstack218 devstack]#
The detail info of Neutron-Server,please see
http://paste.openstack.org/show/529609/
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1600708/+subscriptions
References