]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Eqlx fix NoSuchOptError for volume_name_template on clone
authorSean McGinnis <sean_mcginnis@dell.com>
Tue, 7 Oct 2014 15:10:57 +0000 (10:10 -0500)
committerSean McGinnis <sean_mcginnis@dell.com>
Thu, 9 Oct 2014 13:20:04 +0000 (08:20 -0500)
commitc11aeb9f8385408502be06ffc5869eb142136127
treef0c3f766dfc88d7d33f5d5e7e58b2d9380462af4
parent5e4e1f7ea71f9b4c7bd15809c58bc7a1838ed567
Eqlx fix NoSuchOptError for volume_name_template on clone

The eqlx driver was referencing the volume_name_template
config setting via self.configuration.volume_name_template.
This option is not imported in self.configuration.

The curent preferred method for volume clone is to reference
the passed in name, avoiding the need for the driver to
know what the naming template is all together.

Change-Id: If4963bbe61574c006ad04e5e88d04c7f7bc7cee1
Closes-Bug: 1378369
cinder/tests/test_eqlx.py
cinder/volume/drivers/eqlx.py