Skip to content
Snippets Groups Projects
Commit bdecfea2 authored by Stratos Psomadakis's avatar Stratos Psomadakis Committed by Guido Trotter
Browse files

Fix rbd showmapped output parsing


'rbd showmapped' output formatting differs between older and newer versions of
the ceph tools. Try to use json output formatting if available (currently
available only in the ceph master branch). For bobtail, argonaut and older
releases fallback to manually parsing the 'rbd showmapped' output, handling the
differences in the output format for each rbd version correctly.

Signed-off-by: default avatarStratos Psomadakis <psomas@grnet.gr>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent ae8de7e3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment