vm-import-controller/pkg/source/openstack
Volker Theile ebf60d5ec9 VM Import Controller uses too much memory during QCOW2 conversion phase
- Create the volume image using RAW disk format instead of QCOW2, so no conversion is required after downloading. This will reduce memory consumption.
- Download and write the image file in chunks (32KiB by default), so the whole file doesn't need to be downloaded completely and stored in memory before it is written to disk.
- Fix a variable name shadowing issue.
- Improve logging.

Related to: https://github.com/harvester/harvester/issues/6674

Signed-off-by: Volker Theile <vtheile@suse.com>
2024-10-09 17:43:32 +08:00
..
client_test.go address openstack network duplication when interface may have both ipv6 and ipv4 addresses and add preflight check to identify duplicate source network definitions 2024-10-07 11:09:01 +08:00
client.go VM Import Controller uses too much memory during QCOW2 conversion phase 2024-10-09 17:43:32 +08:00