Ah, nevermind - i had to pass the --bucket=bucketname argument.
You'd think the command would print an error if missing the critical argument.
-Ben
On Wed, Mar 4, 2015 at 6:06 PM, Ben Hines bhi...@gmail.com wrote:
One of the release notes says:
rgw: fix bucket removal with data purge (Yehuda Sadeh)
Just tried this and it didnt seem to work:
bash-4.1$ time radosgw-admin bucket rm mike-cache2 --purge-objects
real0m7.711s
user0m0.109s
sys 0m0.072s
Yet the bucket was not deleted, nor purged:
-bash-4.1$ radosgw-admin bucket stats
[
mike-cache2,
{
bucket: mike-cache2,
pool: .rgw.buckets,
index_pool: .rgw.buckets.index,
id: default.2769570.4,
marker: default.2769570.4,
owner: smbuildmachine,
ver: 0#329,
master_ver: 0#0,
mtime: 2014-11-11 16:10:31.00,
max_marker: 0#,
usage: {
rgw.main: {
size_kb: 223355,
size_kb_actual: 223768,
num_objects: 164
}
},
bucket_quota: {
enabled: false,
max_size_kb: -1,
max_objects: -1
}
},
]
-Ben
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com