Bug 1477311
Summary: | Restrict --inconsistent-index flag from radosgw-admin bucket rm command because it can cause corrupted bucket index | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vikhyat Umrao <vumrao> |
Component: | RGW | Assignee: | Orit Wasserman <owasserm> |
Status: | CLOSED ERRATA | QA Contact: | Ramakrishnan Periyasamy <rperiyas> |
Severity: | medium | Docs Contact: | Bara Ancincova <bancinco> |
Priority: | medium | ||
Version: | 2.3 | CC: | cbodley, ceph-eng-bugs, hnallurv, kbader, kdreyer, mbenjamin, owasserm, sweil |
Target Milestone: | rc | ||
Target Release: | 3.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHEL: ceph-12.2.1-1.el7cp Ubuntu: ceph_12.2.1-2redhat1xenial | Doc Type: | Bug Fix |
Doc Text: |
.The `--inconsistent-index` option has been restricted
Using the `--inconsistent-index` option with the `radosgw-admin bucket rm` command could cause corruption of the bucket index if the command failed or was stopped. With this update, usage of `--inconsistent-index` requires a confirmation from users (the `--yes-i-really-mean-it` option), and a warning is printed when attempting to use this option.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-12-05 23:39:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1437916, 1494421 |
Description
Vikhyat Umrao
2017-08-01 18:20:32 UTC
*** Bug 1464554 has been marked as a duplicate of this bug. *** The current plan is to restrict rather than disable --inconsistent-index, PR is here: https://github.com/ceph/ceph/pull/17185 (assigning to Orit, author of this PR) Orit would you please cherry-pick this to luminous for Ceph v12.2.1? Moving this bug to Verified state. Command output when tried to purge objects using "--inconsistent-index" param. [ubuntu@host006 ~]$ sudo radosgw-admin --cluster qetest bucket rm --purge-objects --bypass-gc --inconsistent-index --bucket=test using --inconsistent_index can corrupt the bucket index do you really mean it? (requires --yes-i-really-mean-it) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3387 |