Reject resize operation for accelerator
Bug #1893751 reported by
Brin Zhang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Brin Zhang | ||
Ussuri |
Fix Released
|
Low
|
Brin Zhang |
Bug Description
When resize with a new flavor with accelerator, we should raise
forbidden exception to reject the resize operation. As the comments in https:/
Changed in nova: | |
importance: | Undecided → Low |
tags: | added: cyborg |
Changed in nova: | |
assignee: | nobody → Brin Zhang (zhangbailin) |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/748560 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=97267fc05c6 0b60761ebe8ec27 73e8920148ae06
Committed: https:/
Submitter: Zuul
Branch: master
commit 97267fc05c60b60 761ebe8ec2773e8 920148ae06
Author: zhangbailin <email address hidden>
Date: Fri Aug 28 09:48:49 2020 +0800
Reject resize operation for accelerator
When resize with a new flavor with accelerator, we should raise /review. opendev. org/#/c/ 715326/ 22/nova/ compute/ api.py@ 3907
forbidden exception to reject the resize operation.
Add related unit test.
Follow up the comment:
https:/
Co-Authored-By: Wenping Song <email address hidden>
Closes-Bug: #1893751
Change-Id: Ie20a620588e3b0 d18055c34ec7671 e91e6bf6ee0