cinder/cinder/tests
jarbassaidai 6bcb6fea74 SF: Handle qos values on extend volume
For the Solidfire cinder driver when volume extend is called on a volume
that has a qos with scaledIOPs=True, the values scaleMin, scaleMax,
scaleBurst are ignored, thus when a volume grows the iops values stay
the same when they should either grow or shrink.

To correct the bug _retrieve_qos_setting has a new argument size with a
default value of zero. This allows all previous calls to function
properly, and saved duplicating code.

Extend volume now calls _retrive_qos_settings with the new size argument
and then includes that qos with the call to solidfire api  ModifyVolume.

Closes-Bug: #1783588
Change-Id: I8cb7b1eccbc63ef4077e86324afdd1a11409343d
(cherry picked from commit 12a7bf699d)
2020-05-14 17:29:11 +00:00
..
compliance Use assertEqual/Less/Greater/In/IsNone 2016-07-04 17:58:16 +02:00
functional Add OS-SCH-HNT in extensions list 2019-06-08 13:30:09 +00:00
unit SF: Handle qos values on extend volume 2020-05-14 17:29:11 +00:00
__init__.py
fake_driver.py Add empty check before using zone driver 2019-02-14 09:47:08 +08:00
fixtures.py Implement privsep boilerplate in cinder. 2018-06-06 09:42:54 +08:00
README.rst Update the documentation link 2017-08-26 06:52:48 -07:00

IMPORTANT DEFINITION OF TESTS IN CINDER

Cinder has a number of different test types, PLEASE be sure to refer to the Cinder Testing Docs to familiarize yourself with the various options before creating any new tests.

Please check Cinder-Testing.