Cannot create stack with OS::Mistral::Workflow resource

Bug #1450446 reported by Tatiana Kholkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Tatiana Kholkina

Bug Description

When I try to create a stack with workflow resource without definition (or other non-required property) it fails with the following error:
2015-04-30 06:21:21.464 INFO heat.engine.stack [-] Stack CREATE FAILED (test3): Resource CREATE failed: APIException: <html>
 <head>
  <title>400 Bad Request</title>
 </head>
 <body>
  <h1>400 Bad Request</h1>
  The server could not comply with the request since it is either malformed or otherwise incorrect.<br /><br />
Invalid DSL: '' is too short

Failed validating 'minLength' in schema['properties']['description']:
    {'minLength': 1, 'type': 'string'}

On instance['description']:
    ''

 </body>
</html>

Changed in heat:
assignee: nobody → Tetiana Lashchova (tlashchova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/179040

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/179040
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=5468a63cb87db0a3162ac163036e13e938f3c649
Submitter: Jenkins
Branch: master

commit 5468a63cb87db0a3162ac163036e13e938f3c649
Author: Tetiana Lashchova <email address hidden>
Date: Thu Apr 30 15:24:13 2015 +0300

    Remove empty properties from workflow definition

    Change-Id: I0837d2181356ef0d12033bc4998246da14711a08
    Closes-Bug: #1450446

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-1 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.