Plan created with only version breaks plan table

Bug #1459003 reported by Melissa Kam
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Fix Released
High
Ed Cranford

Bug Description

If a plan is created with just the version and nothing else, an invalid plan is created which causes all calls to plan to fail with 500s. The invalid plan can only be deleted by removing it from the database.

Error Responses + Stack Trace:
Your request could not be handled because of a problem in the server. Error Correlation id is: 438af5b2-dac1-4c62-9b63-b6e5717fb067'

{
    "debuginfo": null,
    "faultcode": "Server",
    "faultstring": "Could not find any element in your YAML mapping."
}

2015-05-26_20:01:50.18203 127.0.0.1 - - [26/May/2015 20:01:50] "POST /v1/plans HTTP/1.1" 201 216
2015-05-26_20:01:54.40805 2015-05-26 20:01:54.407 27382 ERROR solum.common.exception [-] Could not find any element in your YAML mapping.
2015-05-26_20:01:54.40830 2015-05-26 20:01:54.408 27382 ERROR solum.common.exception [-] abccbbfa-75c3-473f-8ba5-dc998cd5332a:Could not find any element in your YAML mapping.
2015-05-26_20:01:54.40915 127.0.0.1 - - [26/May/2015 20:01:54] "GET /v1/plans HTTP/1.1" 500 131

information type: Private Security → Public Security
Changed in solum:
assignee: nobody → Ed Cranford (ed--cranford)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solum (master)

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

Changed in solum:
status: New → In Progress
Changed in solum:
status: In Progress → Fix Committed
Changed in solum:
milestone: none → 2015.1.2
Changed in solum:
milestone: 2015.1.2 → 4.0.0
Changed in solum:
importance: Undecided → High
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

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