Re: RGW: Delete orphan period for non-existent realm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How do you clean up the <orphan_uuid>:staging object?  The orphan_uuid belongs to a realm that was accidentally created here. It was later moved to another rgw realm root pool. This remnant has no periods only the staging object.

radosgw-admin --cluster flash period list
{
    "periods": [
        "24dca961-5761-4bd1-972b-685a57e2fcf7:staging",
        "a5632c6c4001615e57e587c129c1ad93:staging",
        "fac3496d-156f-4c09-9654-179ad44091b9"
    ]
}

a5632c6c4001615e57e587c129c1ad93 - this realm no longer exists


fac3496d-156f-4c09-9654-179ad44091b9 - this period is for the realm  24dca961-5761-4bd1-972b-685a57e2fcf7 which exists
 


On Thu, Oct 27, 2016 at 8:38 PM, Orit Wasserman <owasserm@xxxxxxxxxx> wrote:
On Thu, Oct 27, 2016 at 12:30 PM, Richard Chan
<richard@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi Cephers,
>
> In my period list I am seeing an orphan period
>
> {
>     "periods": [
>         "24dca961-5761-4bd1-972b-685a57e2fcf7:staging",
>         "a5632c6c4001615e57e587c129c1ad93:staging",
>         "fac3496d-156f-4c09-9654-179ad44091b9"
>     ]
> }
>
>
> The realm a5632c6c4001615e57e587c129c1ad93 no longer exists.
>
> How do I clean this up?
>
> radosgw-admin --cluster flash period delete --realm-id
> a5632c6c4001615e57e587c129c1ad93
> missing period id
>

you need to provide period id not realm id for this command.

try:
radosgw-admin --cluster flash period delete --period <period id to delete>

> doesn't work as it wants a period id, instead of deleting by realm-id
>
>
>
>
>
>
>
> --
> Richard Chan
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



--
Richard Chan
Chief Architect

TreeBox Solutions Pte Ltd
1 Commonwealth Lane #03-01
Singapore 149544
Tel: 6570 3725

Co.Reg.No. 201100585R
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux