swift-manage-shard-ranges may unhelpfully quarantine input file

Bug #1929447 reported by Alistair Coles
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
New
Undecided
Unassigned

Bug Description

If a user accidentally types something like:

  sudo /opt/ss/bin/swift-manage-shard-ranges /etc/swift/container.ring.gz info
  ContainerBroker: Quarantined /etc/swift to /quarantined/containers/swift due to corrupted database

then as shown, there can be undesirable quarantining!

Ideally s-m-s-r would *safely* pre-check that the input file is a container db.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.