67
67
def run_instance(self, context, instance_id, **_kwargs):
68
68
"""Launch a new instance with specified options."""
69
69
instance_ref = self.db.instance_get(context, instance_id)
71
71
raise exception.Error("Instance has already been created")
72
72
logging.debug("instance %s: starting...", instance_id)
73
73
project_id = instance_ref['project_id']