06230585f9
Disk availability check has been added to sysinv api request processing via pecan hook. Also, close of second webob temporary copy and proper error parsing on middleware have been added. As result of this change, the disk space required reduced from 3x to 2x the file size, also, the processing does not proceed if there is no space available. Test Plan: load-import directly on sysinv (System Controller) PASS: Verify if disk space available less than 2x file size PASS: Verify if disk space available higher than 2x file size PASS: Verify proper error returned when no space available PASS: Verify proper load import if there is space available PASS: Verify deleting and re-importing the load PASS: Verify disk space needed decreased 1x the file size PASS: Verify the temporary /scratch file copies are always removed Regression: load-import to several subclouds PASS: Verify load import to 50 subclouds, 2 in parallel PASS: Verify load import to 50 subclouds, all in parallel PASS: Verify the time to accomplish 50 subclouds is acceptable Story: 2009266 Task: 43501 Bug: 1945737 Signed-off-by: Adriano Oliveira <adriano.oliveira@windriver.com> Change-Id: Id5a04d0e39e42afd0578e521f79739ef3b360231 |
||
---|---|---|
.. | ||
controllers | ||
middleware | ||
__init__.py | ||
acl.py | ||
app.py | ||
config.py | ||
hooks.py |