]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update cloned volumes QoS settings.
authorJohn Griffith <john.griffith@solidfire.com>
Sat, 25 May 2013 23:52:30 +0000 (17:52 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Thu, 30 May 2013 17:00:31 +0000 (11:00 -0600)
commit46f1e0a129b8165a21a23e8e45c9021680f2382f
treeb3dd9dd082763a72ef27a03212415ef677782d39
parent440ada164a2dd2e003205c9925ba1d3411d9fb13
Update cloned volumes QoS settings.

The SolidFire device inherits all settings (including QoS) from
the parent on a clone.  This meant that although we were expecting
QoS to be updated when a clone was issued with a different Volume
Type than the parent volume it was never acted upon.

This change fixes that bug by simply adding the *new* qos settings
to the ModifyVolume call after cloning.

Fixes bug: 1184235

Change-Id: I81786a07312027d543b9f06e54dfbf57e6085bc9
(cherry picked from commit 37fa1ef51ef389ed7ac0affb1dd59ba680ca52df)
cinder/volume/drivers/solidfire.py