[pve-devel] latest git code does not show my storage anymore

Alexandre DERUMIER aderumier at odiso.com
Tue May 14 18:00:37 CEST 2013


I just have tested http get with:

https://HOST:8006/api2/json/nodes/kvmtest1/storage?content=iso

{"data":[{"active":1,"content":"images,iso,vztmpl,backup,rootdir","total":"235423346688","avail":"10415554560","shared":0,"used":"225007792128","type":"dir","storage":"local"}]}

https://HOST:8006/api2/json/nodes/kvmtest1/storage?content=images 

{"data":[{"active":1,"content":"images","total":"10040796200960","avail":"6655669108736","shared":1,"used":"3385127092224","type":"netapppnfs","storage":"netappwebtest"},{"active":1,"content":"images","total":2191376056320,"avail":2159305830400,"shared":1,"used":32070225920,"type":"rbd","storage":"rbdtest"},{"active":1,"content":"images","total":0,"avail":0,"shared":1,"used":0,"type":"rbd","storage":"rbdtestpool"},{"active":"1","content":"images","total":0,"avail":0,"shared":1,"used":0,"type":"iscsi","storage":"nexenta"},{"active":1,"content":"images","total":"7494643957760","avail":"6004989206528","shared":1,"used":"1489654751232","type":"netapppnfs","storage":"netappbddtest"},{"active":1,"content":"images","total":"63452602368","avail":63427392176,"shared":1,"used":"25210192","type":"sheepdog","storage":"sheepdog"},{"active":1,"content":"images,iso,vztmpl,backup,rootdir","total":"235423346688","avail":"10415554560","shared":0,"used":"225007792128","type":"dir","storage":"local"}]}


What is this enable parameter ?


----- Mail original ----- 

De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 14 Mai 2013 17:54:17 
Objet: Re: [pve-devel] latest git code does not show my storage anymore 

The new enable parameter isn't optional. So your queries to iso and images have this one? 

Stefan 

Am 14.05.2013 um 17:44 schrieb Alexandre DERUMIER <aderumier at odiso.com>: 

> Works fine for me with last git. 
> 
> 
> ----- Mail original ----- 
> 
> De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
> À: pve-devel at pve.proxmox.com 
> Envoyé: Mardi 14 Mai 2013 17:16:06 
> Objet: [pve-devel] latest git code does not show my storage anymore 
> 
> Hi, 
> 
> with the latest git code i can't select my storages anymore. 
> 
> JS debug window tells me: 
> 
> GET https://HOST:8006/api2/json/nodes/cloud1-1283/storage?content=images 
> 400 (Parameter verification failed.) ext-all-debug.js:17836 
> 
> GET https://HOST:8006/api2/json/nodes/cloud1-1283/storage?content=iso 
> 400 (Parameter verification failed.) ext-all-debug.js:17836 
> 
> Greets, 
> Stefan 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list