[pve-devel] [PATCH storage v2 1/2] fix #1895: use json for 'rbd ls -l' and 'rbd info'

Dominik Csapak d.csapak at proxmox.com
Thu Sep 6 11:36:56 CEST 2018


On 09/06/2018 11:35 AM, Dominik Csapak wrote:
> since ceph changed the plain output format for 12.2.8
> we have to change the code anyway, and when were at it,
> we can change it to the (hopefully) more robust json output
> 
> Co-authored-by: Alwin Antreich <a.antreich at proxmox.com>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> changes from v1:
> * incorporated the change from alwins patch [1]
> * incorporated thomas feedback:
>   * rename r/l to more meaningful names
>   * check for output of $raw
>   * return hash slice instead of saving the content again
> * refactor parent image name generation
> 

forgot of course to include the reference to [1]

1: https://pve.proxmox.com/pipermail/pve-devel/2018-September/033609.html





More information about the pve-devel mailing list