[pve-devel] [Patch V2 manager] fix #1691: use asynchronous API call for HD create

Wolfgang Link w.link at proxmox.com
Thu Apr 19 08:39:49 CEST 2018


It should use an asynchronous API call to create an image,
because some storages may need longer to alloc an image.

If a storage needs more than 30 sec
the proxy will timeout and we have an orphan image.

Also, it is possible to increase the timeout for some
storages if an asynchronous call is used
---
 www/manager6/qemu/HDEdit.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/manager6/qemu/HDEdit.js b/www/manager6/qemu/HDEdit.js
index 237128e5..4b6039a7 100644
--- a/www/manager6/qemu/HDEdit.js
+++ b/www/manager6/qemu/HDEdit.js
@@ -364,6 +364,8 @@ Ext.define('PVE.qemu.HDEdit', {
 
     isAdd: true,
 
+    backgroundDelay: 5,
+
     initComponent : function() {
 	var me = this;
 
-- 
2.11.0





More information about the pve-devel mailing list