Why does RHCS/Ceph Rados Gateway returns an error message while trying to delete objects from a bucket using the '--lazy-remove' option?

Solution Verified - Updated

Environment

  • Red Hat Ceph Storage 1.2.3
  • Red Hat Ceph Storage 1.3
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Issue

  • Rados Gateway returns an error message while trying to delete objects from a bucket using the '--lazy-remove' option.
# radosgw-admin bucket rm --purge-objects --bucket=8ixsvyve8xn7uykd1v38-dump --lazy-remove
ERROR: invalid flag --lazy-remove

Resolution

Root Cause

  • RHCS/Ceph Engineering has removed the code for the '--lazy-remove' option as it is no longer applicable.
SBR

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.