Large remote template files cause high memory usage on API server
Bug #1233366 reported by
Jason Dunsmore
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Jason Dunsmore |
Bug Description
The API downloads the entire template before validating it. For a 100 MB file, this causes the API process to use several hundred megabytes of memory. If several requests like this come in simultaneously, the API server will run out of memory.
information type: | Private Security → Public |
Changed in heat: | |
assignee: | nobody → Jason Dunsmore (jasondunsmore) |
status: | New → In Progress |
Changed in heat: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/49044 github. com/openstack/ heat/commit/ 7df46139580bca2 8c1ab3ba2c26e44 0617a92ccc
Committed: http://
Submitter: Jenkins
Branch: master
commit 7df46139580bca2 8c1ab3ba2c26e44 0617a92ccc
Author: Jason Dunsmore <email address hidden>
Date: Mon Sep 30 13:13:21 2013 -0500
Validate template size during download
The API downloads the entire template before validating it. For a 100 MB
file, this causes the API process to use several hundred megabytes of
memory. If several requests like this come in simultaneously, the API
server will run out of memory.
Closes-Bug: #1233366
Change-Id: I453274d62e71b3 f860322dfcd98c2 830ef039e9b