]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Don't rely on provider_id for resource deletion
authorJohn Griffith <john.griffith8@gmail.com>
Fri, 11 Sep 2015 06:21:40 +0000 (06:21 +0000)
committerJohn Griffith <john.griffith8@gmail.com>
Fri, 11 Sep 2015 22:37:48 +0000 (16:37 -0600)
commit1525bb4d8e99b1b948fe079f15e400a8262c1f5e
treef20999baaa4b568935955d46f74356e3bb1979a2
parent5be886df367da9ee953f146a53a93034ff7e004f
Don't rely on provider_id for resource deletion

Provider_id info isn't necessarily reliable when dealing
with failure cases.  There are a number of cases where the
info in the Cinder database may not be updated.

This change uses the old delete routines instead of trying
to use the provider_id info.  There are ways to do both,
however it's probably not that beneficial for now.

Change-Id: Idbfd98b19f3c7f1b231ed26a2cc6c98aa2899e2a
Closes-Bug: #1494597
cinder/tests/unit/test_solidfire.py
cinder/volume/drivers/solidfire.py