sm volume driver: fix backend adding failure
Fixes bug 915085 Change-Id: I908d2090815a90bae479d5caf8516e52fd879c8e
This commit is contained in:
@@ -2121,7 +2121,7 @@ class StorageManagerCommands(object):
|
||||
|
||||
try:
|
||||
db.sm_backend_conf_create(ctxt,
|
||||
dict(flavor_id=flavors[0]['id'],
|
||||
dict(flavor_id=flavors['id'],
|
||||
sr_uuid=None,
|
||||
sr_type=sr_type,
|
||||
config_params=config_params))
|
||||
|
||||
Reference in New Issue
Block a user