Re: [ceph-users] User deletes bucket with partial multipart uploads in, objects still in quota

2018-04-09 Thread David Turner
I believe there is a command in radosgw-admin to change the owner of a
bucket which might be able to resolve the incorrect quota issue.  I don't
know if that will work since the bucket doesn't think it exists.  Perhaps
creating a new bucket of the same name and trying to run commands against
that to both change the owner and delete the objects might help.  It also
might be necessary to rebuild the index for the faux bucket before it will
actually do anything.  This is a guess and not from experience with
situations like this.

On Wed, Apr 4, 2018 at 5:34 AM Matthew Vernon  wrote:

> On 04/04/18 10:30, Matthew Vernon wrote:
> > Hi,
> >
> > We have an rgw user who had a bunch of partial multipart uploads in a
> > bucket, which they then deleted. radosgw-admin bucket list doesn't show
> > the bucket any more, but  user stats --sync-stats still has (I think)
> > the contents of that bucket counted against the users' quota.
> >
> > So, err, how do I cause a) the users' quota usage to not include this
> > deleted bucket b) the associated storage to actually be cleared (since I
> > infer the failure to do so is causing the quota issue)?
>
> Sorry, should have said: this is running jewel.
>
> Regards,
>
> Matthew
>
>
> --
>  The Wellcome Sanger Institute is operated by Genome Research
>  Limited, a charity registered in England with number 1021457 and a
>  company registered in England with number 2742969, whose registered
>  office is 215 Euston Road, London, NW1 2BE.
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] User deletes bucket with partial multipart uploads in, objects still in quota

2018-04-04 Thread Matthew Vernon
On 04/04/18 10:30, Matthew Vernon wrote:
> Hi,
> 
> We have an rgw user who had a bunch of partial multipart uploads in a
> bucket, which they then deleted. radosgw-admin bucket list doesn't show
> the bucket any more, but  user stats --sync-stats still has (I think)
> the contents of that bucket counted against the users' quota.
> 
> So, err, how do I cause a) the users' quota usage to not include this
> deleted bucket b) the associated storage to actually be cleared (since I
> infer the failure to do so is causing the quota issue)?

Sorry, should have said: this is running jewel.

Regards,

Matthew


-- 
 The Wellcome Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] User deletes bucket with partial multipart uploads in, objects still in quota

2018-04-04 Thread Matthew Vernon
Hi,

We have an rgw user who had a bunch of partial multipart uploads in a
bucket, which they then deleted. radosgw-admin bucket list doesn't show
the bucket any more, but  user stats --sync-stats still has (I think)
the contents of that bucket counted against the users' quota.

So, err, how do I cause a) the users' quota usage to not include this
deleted bucket b) the associated storage to actually be cleared (since I
infer the failure to do so is causing the quota issue)?

Thanks,

Matthew


-- 
 The Wellcome Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com