"Volume cannot be deleted while migrating" as error message in
create_snapshot is inappropriate while volume is migrating.
Change-Id: I6cfaf312f9b1edbf4e54f737664290d6ab3b6332
Closes-Bug: #
1252175
if volume['migration_status'] != None:
# Volume is migrating, wait until done
- msg = _("Volume cannot be deleted while migrating")
+ msg = _("Snapshot cannot be created while volume is migrating")
raise exception.InvalidVolume(reason=msg)
if ((not force) and (volume['status'] != "available")):