Translated message

A translation of this page exists in English.

RHCS 5.0z4 にアップグレードした後、RGW マルチサイト設定で配置グループのステータスが一致しないことが判明した

Solution In Progress - Updated -

Issue

  • RHCS 5.0z4 (パッケージ 16.2.0-152.el8cp) にアップグレードした後、マルチサイト設定で実行されている rados ゲートウェイを含む Ceph クラスターで、コマンド ceph status が PG の不整合を報告します。以下は出力サンプルです。

    ceph status
      cluster:
        id:     CLUSTER_ID
        health: HEALTH_ERR
                3 scrub errors
                Possible data damage: 3 pgs inconsistent
    
      services:
        mon: 3 daemons, quorum host03,host02,host01 (age 7d)
        mgr: host02(active, since 12d), standbys: host01, host03
        osd: 20 osds: 20 up (since 7d), 20 in (since 7d)
        rgw: 6 daemons active (6 hosts, 2 zones)
    
      data:
        pools:   15 pools, 721 pgs
        objects: 3.35M objects, 946 GiB
        usage:   3.1 TiB used, 25 TiB / 28 TiB avail
        pgs:     718 active+clean
                 3   active+clean+inconsistent
    
      io:
        client:   10 KiB/s rd, 0 B/s wr, 10 op/s rd, 0 op/s wr
    
  • 報告されたすべてのケースにおいて、影響を受ける配置グループはバケットインデックスとログプールの一部です。以下は出力サンプルです。

    ceph health detail
    
    HEALTH_ERR 3 scrub errors; Possible data damage: 3 pgs inconsistent
    [ERR] OSD_SCRUB_ERRORS: 3 scrub errors
    [ERR] PG_DAMAGED: Possible data damage: 3 pgs inconsistent
    pg 7.5 is active+clean+inconsistent, acting [16,18,19]
    pg 7.a is active+clean+inconsistent, acting [19,7,13]
    pg 9.1a is active+clean+inconsistent, acting [5,15,12] 
    
    ceph osd pool ls detail
    
    pool 7 'zone1.rgw.log' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 autoscale_mode on last_change 3820 lfor 0/3587/3591 flags hashpspool stripe_width 0 target_size_ratio 0.005 application rgw
    pool 9  'zone2.rgw.buckets.index' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 autoscale_mode on last_change 3821 flags hashpspool stripe_width 0 target_size_ratio 0.03 application rgw
    
  • なぜこの問題が発生するのでしょうか? この問題を防ぐにはどうしたらよいでしょうか?

Environment

  • マルチサイト設定で実行されている RGW を含む RHCS 5.0z4

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