Reviewed: https://review.openstack.org/469282 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=09c946910f3ab2646a3fa3e7d1d3bfadbd1428d0 Submitter: Jenkins Branch: master
commit 09c946910f3ab2646a3fa3e7d1d3bfadbd1428d0 Author: Sławek Kapłoński <[email protected]> Date: Tue May 30 23:21:41 2017 +0000 Fix updating Qos policy to be default/not default During QoS policy update there was no project_id attribute loaded to QoS object. That caused problem with updating policy object because "get_default()" method requires project_id. This patch fixes it by first getting QoS policy object and then update it. Additionally there was mistake in assertion in QoS Default policy fullstack test and this patch fixes it also. Change-Id: I57011bd4d40479855203061554090d19bb668960 Closes-Bug: 1694553 ** 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/1694553 Title: Update QoS policy to be not default fails Status in neutron: Fix Released Bug description: When QoS policy is updated to be not default for a tenant then neutron-server have got internal server error because of missing project_id attribute in QoS policy object. This error can be observed for example in fullstack tests: http://logs.openstack.org/60/469260/1/check/gate-neutron-dsvm-fullstack-ubuntu-xenial/52a71ea/logs/dsvm-fullstack-logs/TestQoSPolicyIsDefault.test_update_default_status_conflict/neutron-server--2017-05-30--22-05-06-777718.txt.gz#_2017-05-30_22_05_14_752 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1694553/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

