config/sysinv/sysinv/sysinv/sysinv/api
Adriano Oliveira 06230585f9 Sysinv api load import improvements
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
2021-10-05 15:47:48 -04:00
..
controllers Merge "Support application/json load-import request" 2021-09-23 22:12:59 +00:00
middleware Sysinv api load import improvements 2021-10-05 15:47:48 -04:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
acl.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
app.py Sysinv api load import improvements 2021-10-05 15:47:48 -04:00
config.py B&R: Add /v1/ihosts/wipe_osds public sysinv API 2019-09-13 16:43:41 +03:00
hooks.py Sysinv api load import improvements 2021-10-05 15:47:48 -04:00