Re: [ceph-users] rest api json format incomplet informations

2013-11-25 Thread John Spray
You have found a bug in the underlying ceph command. One can see the same thing using "ceph -f json-pretty osd dump", we get an dict with the same "pool_snap_info" key used more than once, like this: "pool_snaps": { "pool_snap_info": { "snapid": 1, "stamp": "2013-11-25

[ceph-users] rest api json format incomplet informations

2013-11-25 Thread eric mourgaya
Hi, I'am trying to list snapshots of pool using ceph-rest-api. The json format only display the last snapshot of the pool not all. the ceph version is ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a) http://@ip/api/v0.1/osd/dump : 32013-11-25 11:37:34.695874ericsnap142013-11