diff options
Diffstat (limited to 'nova/scheduler')
-rw-r--r-- | nova/scheduler/manager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/scheduler/manager.py b/nova/scheduler/manager.py index feffb584b..824dc9eb0 100644 --- a/nova/scheduler/manager.py +++ b/nova/scheduler/manager.py @@ -76,9 +76,9 @@ class SchedulerManager(manager.Manager): context, volume_id, snapshot_id, image_id) except Exception as ex: with excutils.save_and_reraise_exception(): - self._set_vm_state_and_notify('create_volume', - {'vm_state': vm_states.ERROR}, - context, ex, {}) + LOG.warning(_("Failed to schedule create_volume: %(ex)s") % + locals()) + db.volume_update(context, volume_id, {'status': 'error'}) def live_migration(self, context, instance, dest, block_migration, disk_over_commit): |