When disk creation fails, retry up to three times with a 5 second pause.
503: Service Unavailable "Could not perform action: createdisk at this time"
Execute method POST_cloudapi_disks_create failed.
querystr was:authkey=rooter
method was:/restmachine/cloudapi/disks/create
Traceback (most recent call last):
~ File "/opt/jumpscale7/lib/JumpScale/portal/portal/PortalRest.py", line 254, in execute_rest_call
result = method(ctx=ctx, **ctx.params)
~ File "/opt/jumpscale7/libext/cloudbrokerlib/authenticator.py", line 184, in wrapper
return func(*args, **kwargs)
~ File "/opt/jumpscale7/apps/portals/main/base/cloudapi__disks/methodclass/cloudapi_disks.py", line 92, in create
disk, _ = self._create(accountId, gid, name, description, size, type, iops)
~ File "/opt/jumpscale7/apps/portals/main/base/cloudapi__disks/methodclass/cloudapi_disks.py", line 141, in _create
volume = provider.create_volume(disk.sizeMax, disk.id, dtype.vpool, type)
~ File "/opt/jumpscale7/libext/CloudscalerLibcloud/compute/drivers/libvirt_driver.py", line 451, in create_volume
raise StorageException(ex.message, ex)
~ StorageException: 503: Service Unavailable "Could not perform action: createdisk at this time", 503: Service Unavailable "Could not perform action: createdisk at this time"
When disk creation fails, retry up to three times with a 5 second pause.