]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: return 0 and an empty list when pool is entirely empty
authorJosh Durgin <josh.durgin@inktank.com>
Wed, 1 Jan 2014 01:00:06 +0000 (17:00 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Thu, 3 Apr 2014 19:20:22 +0000 (12:20 -0700)
commitc66b61f9dcad217429e4876d27881d9fb2e7666f
treeacbe42344c934d6c5e11daefd0eb474bf5823022
parent60b7aa96abfe09f7e9a263fa3f9b72c556dee8cb
rbd: return 0 and an empty list when pool is entirely empty

rbd_list will return -ENOENT when no rbd_directory object
exists. Handle this in the cli tool and interpret it as success with
an empty list.

Add this to the release notes since it changes command line behavior.

Fixes: #6693
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
(cherry picked from commit ac547a5b7dc94282f079aef78e66348d99d9d5e9)

Conflicts:
PendingReleaseNotes
src/rbd.cc
PendingReleaseNotes
src/rbd.cc
src/test/cli-integration/rbd/formatted-output.t