~ubuntu-branches/ubuntu/saucy/nova/saucy-proposed

« back to all changes in this revision

Viewing changes to nova/scheduler/manager.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2012-09-25 10:54:59 UTC
  • mfrom: (1.1.63)
  • Revision ID: package-import@ubuntu.com-20120925105459-fr27butcb6p498gp
Tags: 2012.2~rc2-0ubuntu1
[ Adam Gandelman ]
* debian/control: Add python-cinderclient to python-nova Depends.
* wrap-and-sort.

[ Chuck Short ]
* debian/nova-common.postinst: Change root_helper to rootwrap_config
  when upgrading from precise
* debian/pydist-overrides: dont try to install babel.
* New upstream version.
* debian/rules: FTBFS if testsuite fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
                context, volume_id, snapshot_id, image_id)
79
79
        except Exception as ex:
80
80
            with excutils.save_and_reraise_exception():
81
 
                self._set_vm_state_and_notify('create_volume',
82
 
                                             {'vm_state': vm_states.ERROR},
83
 
                                             context, ex, {})
 
81
                LOG.warning(_("Failed to schedule create_volume: %(ex)s") %
 
82
                            locals())
 
83
                db.volume_update(context, volume_id, {'status': 'error'})
84
84
 
85
85
    def live_migration(self, context, instance, dest,
86
86
                       block_migration, disk_over_commit):