]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Modify template account creation in SolidFire drvr
authorJohn Griffith <john.griffith8@gmail.com>
Sat, 20 Jun 2015 13:58:51 +0000 (07:58 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Tue, 23 Jun 2015 23:36:41 +0000 (16:36 -0700)
commit7c6e41833dc9d348be0b64bfbbc2375121bd7873
tree77f0b85943796daf1f0f8d35e5a32f6e220274ba
parent2b61c330542dfc127ab161dcd810d8dc2aa9a070
Modify template account creation in SolidFire drvr

On a fresh cluster with no template account, we'll hit
an exception when doing the initial "check for account".

This patch modifies the create_template account method slightly
to use a try/except block to set this up.

Change-Id: I8ff7ff893412f5b30f8a88dc3b44ea592db01ced
cinder/tests/unit/test_solidfire.py
cinder/volume/drivers/solidfire.py