Yes, it's intentional. All ceph CLI operations are idempotent. On Tuesday, May 10, 2016, Swapnil Jain <swap...@linux.com> wrote:
> Hi > > I am using infernalis 9.2.1. While creating bucket, if the bucket already > exists, its still returns 0 as exit status. Is it intentional out of some > reason or a bug? > > > > root@node1:~# ceph osd crush add-bucket rack1 rack > > bucket 'rack1' already exists > > root@node1:~# echo $? > > 0 > > root@node1:~# > > > > -- > Swapnil >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com