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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.