diff --git a/reddwarf/instance/service.py b/reddwarf/instance/service.py index cf28bce7f8..65a94a6ecd 100644 --- a/reddwarf/instance/service.py +++ b/reddwarf/instance/service.py @@ -106,6 +106,8 @@ class InstanceController(BaseController): LOG.info("req : '%s'\n\n" % req) LOG.info("Comitting an ACTION again instance %s for tenant '%s'" % (id, tenant_id)) + if not body: + raise exception.BadRequest(_("Invalid request body.")) context = req.environ[wsgi.CONTEXT_KEY] instance = models.Instance.load(context, id) _actions = {