Ceph - Scrub APIs 'list-inconsistent-snapset' does not list the faulty snapset attr properly

Solution Verified - Updated -

Issue

  • Scrub APIs 'list-inconsistent-snapset' does not list the faulty snapset attr properly
  • Deleting snapset attrs from all head objects does not show the proper sanpattr missing error in list-inconsistent-snapset.
# rados list-inconsistent-snapset 59.b --format=json-pretty
[
    {
        "name": "obj10",
        "nspace": "",
        "locator": "",
        "snap": "0x00000001",
        "ss_attr_missing": false,
        "ss_attr_corrupted": false,
        "clone_missing": false,
        "snapset_mismatch": false,
        "head_mismatch": false,
        "headless": false,
        "size_mismatch": false
    },
    {
        "name": "obj10",
        "nspace": "",
        "locator": "",
        "snap": "0x00000002",
        "ss_attr_missing": false,
        "ss_attr_corrupted": false,
        "clone_missing": false,
        "snapset_mismatch": false,
        "head_mismatch": false,
        "headless": false,
        "size_mismatch": false
    }
]
  • In the above output, it does not throw any error related to ss_attr_missing.

Environment

  • Red Hat Ceph Storage 2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content