[Kimchi-devel] [PATCH v2 0/3] Download remote image to storage pool
Hongliang Wang
hlwang at linux.vnet.ibm.com
Thu Sep 4 15:40:48 UTC 2014
Hi Cristian, seems something wrong when I send a request to create
volume from remote URL.
Remote Address:9.123.141.150:8001
Request URL:https://9.123.141.150:8001/storagepools/ISO/storagevolumes
Request Method:POST
Status Code:400 Bad Request
Request Payload:
{
name: "CorePure64-5.3.iso"
url:
"http://distro.ibiblio.org/tinycorelinux/5.x/x86_64/release/CorePure64-5.3.iso"
}
The response:
{
"reason":"KCHVOL0019E: Creating volume from url is not supported",
"code":"400 Bad Request"
}
On 09/04/2014 09:46 PM, Crístian Viana wrote:
> Changelog from previous version (v1):
>
> - Remove the text "downloading" from the download task status message.
> Now it only contains the data: <downloaded size>/<total size>.
>
> Crístian Viana (3):
> storagevolume: Download remote images to a storage pool
> storagevolume: Check storage pool before adding a volume
> storagevolume: Add download progress to task
>
> docs/API.md | 1 +
> src/kimchi/mockmodel.py | 39 ++++++++++++++++++++++-----
> src/kimchi/model/storagevolumes.py | 54 +++++++++++++++++++++++++++++++++++---
> tests/test_model.py | 24 +++++++++++++++++
> tests/test_rest.py | 14 +++++++++-
> 5 files changed, 120 insertions(+), 12 deletions(-)
>
More information about the Kimchi-devel
mailing list