Re: Weird issues related to (large/small) weights in mixed nvme/hdd pool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, by randomly toggling settings *MOST* of the PGs in the test cluster is online, but a few are not. No matter how much I change, a few of them seem to not activate. They are running bluestore with version 12.2.2, i think created with ceph-volume.

Here is the output from ceph pg X query of one that won't activate (but was active before but got remapped due to one of my changes. What should I look for and where should I look next to understand?


# ceph pg 3.12c query
{
    "state": "activating",
    "snap_trimq": "[]",
    "epoch": 918,
    "up": [
        6,
        0,
        12
    ],
    "acting": [
        6,
        0,
        12
    ],
    "actingbackfill": [
        "0",
        "6",
        "12"
    ],
    "info": {
        "pgid": "3.12c",
        "last_update": "0'0",
        "last_complete": "0'0",
        "log_tail": "0'0",
        "last_user_version": 0,
        "last_backfill": "MAX",
        "last_backfill_bitwise": 0,
        "purged_snaps": [],
        "history": {
            "epoch_created": 314,
            "epoch_pool_created": 314,
            "last_epoch_started": 862,
            "last_interval_started": 860,
            "last_epoch_clean": 862,
            "last_interval_clean": 860,
            "last_epoch_split": 0,
            "last_epoch_marked_full": 0,
            "same_up_since": 872,
            "same_interval_since": 915,
            "same_primary_since": 789,
            "last_scrub": "0'0",
            "last_scrub_stamp": "2018-01-26 13:29:35.010846",
            "last_deep_scrub": "0'0",
            "last_deep_scrub_stamp": "2018-01-26 13:29:35.010846",
            "last_clean_scrub_stamp": "2018-01-26 13:29:35.010846"
        },
        "stats": {
            "version": "0'0",
            "reported_seq": "427",
            "reported_epoch": "918",
            "state": "activating",
            "last_fresh": "2018-01-26 17:26:39.603121",
            "last_change": "2018-01-26 17:26:36.161131",
            "last_active": "2018-01-26 17:25:09.770406",
            "last_peered": "2018-01-26 17:24:17.510532",
            "last_clean": "2018-01-26 17:24:17.510532",
            "last_became_active": "2018-01-26 17:24:09.211916",
            "last_became_peered": "2018-01-26 17:24:09.211916",
            "last_unstale": "2018-01-26 17:26:39.603121",
            "last_undegraded": "2018-01-26 17:26:39.603121",
            "last_fullsized": "2018-01-26 17:26:39.603121",
            "mapping_epoch": 915,
            "log_start": "0'0",
            "ondisk_log_start": "0'0",
            "created": 314,
            "last_epoch_clean": 862,
            "parent": "0.0",
            "parent_split_bits": 0,
            "last_scrub": "0'0",
            "last_scrub_stamp": "2018-01-26 13:29:35.010846",
            "last_deep_scrub": "0'0",
            "last_deep_scrub_stamp": "2018-01-26 13:29:35.010846",
            "last_clean_scrub_stamp": "2018-01-26 13:29:35.010846",
            "log_size": 0,
            "ondisk_log_size": 0,
            "stats_invalid": false,
            "dirty_stats_invalid": false,
            "omap_stats_invalid": false,
            "hitset_stats_invalid": false,
            "hitset_bytes_stats_invalid": false,
            "pin_stats_invalid": false,
            "stat_sum": {
                "num_bytes": 0,
                "num_objects": 0,
                "num_object_clones": 0,
                "num_object_copies": 0,
                "num_objects_missing_on_primary": 0,
                "num_objects_missing": 0,
                "num_objects_degraded": 0,
                "num_objects_misplaced": 0,
                "num_objects_unfound": 0,
                "num_objects_dirty": 0,
                "num_whiteouts": 0,
                "num_read": 0,
                "num_read_kb": 0,
                "num_write": 0,
                "num_write_kb": 0,
                "num_scrub_errors": 0,
                "num_shallow_scrub_errors": 0,
                "num_deep_scrub_errors": 0,
                "num_objects_recovered": 0,
                "num_bytes_recovered": 0,
                "num_keys_recovered": 0,
                "num_objects_omap": 0,
                "num_objects_hit_set_archive": 0,
                "num_bytes_hit_set_archive": 0,
                "num_flush": 0,
                "num_flush_kb": 0,
                "num_evict": 0,
                "num_evict_kb": 0,
                "num_promote": 0,
                "num_flush_mode_high": 0,
                "num_flush_mode_low": 0,
                "num_evict_mode_some": 0,
                "num_evict_mode_full": 0,
                "num_objects_pinned": 0,
                "num_legacy_snapsets": 0
            },
            "up": [
                6,
                0,
                12
            ],
            "acting": [
                6,
                0,
                12
            ],
            "blocked_by": [],
            "up_primary": 6,
            "acting_primary": 6
        },
        "empty": 1,
        "dne": 0,
        "incomplete": 0,
        "last_epoch_started": 916,
        "hit_set_history": {
            "current_last_update": "0'0",
            "history": []
        }
    },
    "peer_info": [
        {
            "peer": "0",
            "pgid": "3.12c",
            "last_update": "0'0",
            "last_complete": "0'0",
            "log_tail": "0'0",
            "last_user_version": 0,
            "last_backfill": "MAX",
            "last_backfill_bitwise": 0,
            "purged_snaps": [],
            "history": {
                "epoch_created": 314,
                "epoch_pool_created": 314,
                "last_epoch_started": 862,
                "last_interval_started": 860,
                "last_epoch_clean": 862,
                "last_interval_clean": 860,
                "last_epoch_split": 0,
                "last_epoch_marked_full": 0,
                "same_up_since": 872,
                "same_interval_since": 915,
                "same_primary_since": 789,
                "last_scrub": "0'0",
                "last_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_deep_scrub": "0'0",
                "last_deep_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_clean_scrub_stamp": "2018-01-26 13:29:35.010846"
            },
            "stats": {
                "version": "0'0",
                "reported_seq": "407",
                "reported_epoch": "908",
                "state": "peering",
                "last_fresh": "2018-01-26 17:26:24.797744",
                "last_change": "2018-01-26 17:26:20.117703",
                "last_active": "2018-01-26 17:25:09.770406",
                "last_peered": "2018-01-26 17:24:17.510532",
                "last_clean": "2018-01-26 17:24:17.510532",
                "last_became_active": "2018-01-26 17:24:09.211916",
                "last_became_peered": "2018-01-26 17:24:09.211916",
                "last_unstale": "2018-01-26 17:26:24.797744",
                "last_undegraded": "2018-01-26 17:26:24.797744",
                "last_fullsized": "2018-01-26 17:26:24.797744",
                "mapping_epoch": 915,
                "log_start": "0'0",
                "ondisk_log_start": "0'0",
                "created": 314,
                "last_epoch_clean": 862,
                "parent": "0.0",
                "parent_split_bits": 0,
                "last_scrub": "0'0",
                "last_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_deep_scrub": "0'0",
                "last_deep_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_clean_scrub_stamp": "2018-01-26 13:29:35.010846",
                "log_size": 0,
                "ondisk_log_size": 0,
                "stats_invalid": false,
                "dirty_stats_invalid": false,
                "omap_stats_invalid": false,
                "hitset_stats_invalid": false,
                "hitset_bytes_stats_invalid": false,
                "pin_stats_invalid": false,
                "stat_sum": {
                    "num_bytes": 0,
                    "num_objects": 0,
                    "num_object_clones": 0,
                    "num_object_copies": 0,
                    "num_objects_missing_on_primary": 0,
                    "num_objects_missing": 0,
                    "num_objects_degraded": 0,
                    "num_objects_misplaced": 0,
                    "num_objects_unfound": 0,
                    "num_objects_dirty": 0,
                    "num_whiteouts": 0,
                    "num_read": 0,
                    "num_read_kb": 0,
                    "num_write": 0,
                    "num_write_kb": 0,
                    "num_scrub_errors": 0,
                    "num_shallow_scrub_errors": 0,
                    "num_deep_scrub_errors": 0,
                    "num_objects_recovered": 0,
                    "num_bytes_recovered": 0,
                    "num_keys_recovered": 0,
                    "num_objects_omap": 0,
                    "num_objects_hit_set_archive": 0,
                    "num_bytes_hit_set_archive": 0,
                    "num_flush": 0,
                    "num_flush_kb": 0,
                    "num_evict": 0,
                    "num_evict_kb": 0,
                    "num_promote": 0,
                    "num_flush_mode_high": 0,
                    "num_flush_mode_low": 0,
                    "num_evict_mode_some": 0,
                    "num_evict_mode_full": 0,
                    "num_objects_pinned": 0,
                    "num_legacy_snapsets": 0
                },
                "up": [
                    6,
                    0,
                    12
                ],
                "acting": [
                    6,
                    0,
                    12
                ],
                "blocked_by": [],
                "up_primary": 6,
                "acting_primary": 6
            },
            "empty": 1,
            "dne": 0,
            "incomplete": 0,
            "last_epoch_started": 908,
            "hit_set_history": {
                "current_last_update": "0'0",
                "history": []
            }
        },
        {
            "peer": "3",
            "pgid": "3.12c",
            "last_update": "0'0",
            "last_complete": "0'0",
            "log_tail": "0'0",
            "last_user_version": 0,
            "last_backfill": "MAX",
            "last_backfill_bitwise": 0,
            "purged_snaps": [],
            "history": {
                "epoch_created": 314,
                "epoch_pool_created": 314,
                "last_epoch_started": 862,
                "last_interval_started": 860,
                "last_epoch_clean": 862,
                "last_interval_clean": 860,
                "last_epoch_split": 0,
                "last_epoch_marked_full": 0,
                "same_up_since": 872,
                "same_interval_since": 915,
                "same_primary_since": 789,
                "last_scrub": "0'0",
                "last_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_deep_scrub": "0'0",
                "last_deep_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_clean_scrub_stamp": "2018-01-26 13:29:35.010846"
            },
            "stats": {
                "version": "0'0",
                "reported_seq": "332",
                "reported_epoch": "862",
                "state": "peering",
                "last_fresh": "2018-01-26 17:24:08.851806",
                "last_change": "2018-01-26 17:24:07.009364",
                "last_active": "2018-01-26 17:23:22.271920",
                "last_peered": "2018-01-26 17:22:41.140650",
                "last_clean": "2018-01-26 17:22:41.140650",
                "last_became_active": "2018-01-26 17:14:06.103780",
                "last_became_peered": "2018-01-26 17:14:06.103780",
                "last_unstale": "2018-01-26 17:24:08.851806",
                "last_undegraded": "2018-01-26 17:24:08.851806",
                "last_fullsized": "2018-01-26 17:24:08.851806",
                "mapping_epoch": 915,
                "log_start": "0'0",
                "ondisk_log_start": "0'0",
                "created": 314,
                "last_epoch_clean": 791,
                "parent": "0.0",
                "parent_split_bits": 0,
                "last_scrub": "0'0",
                "last_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_deep_scrub": "0'0",
                "last_deep_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_clean_scrub_stamp": "2018-01-26 13:29:35.010846",
                "log_size": 0,
                "ondisk_log_size": 0,
                "stats_invalid": false,
                "dirty_stats_invalid": false,
                "omap_stats_invalid": false,
                "hitset_stats_invalid": false,
                "hitset_bytes_stats_invalid": false,
                "pin_stats_invalid": false,
                "stat_sum": {
                    "num_bytes": 0,
                    "num_objects": 0,
                    "num_object_clones": 0,
                    "num_object_copies": 0,
                    "num_objects_missing_on_primary": 0,
                    "num_objects_missing": 0,
                    "num_objects_degraded": 0,
                    "num_objects_misplaced": 0,
                    "num_objects_unfound": 0,
                    "num_objects_dirty": 0,
                    "num_whiteouts": 0,
                    "num_read": 0,
                    "num_read_kb": 0,
                    "num_write": 0,
                    "num_write_kb": 0,
                    "num_scrub_errors": 0,
                    "num_shallow_scrub_errors": 0,
                    "num_deep_scrub_errors": 0,
                    "num_objects_recovered": 0,
                    "num_bytes_recovered": 0,
                    "num_keys_recovered": 0,
                    "num_objects_omap": 0,
                    "num_objects_hit_set_archive": 0,
                    "num_bytes_hit_set_archive": 0,
                    "num_flush": 0,
                    "num_flush_kb": 0,
                    "num_evict": 0,
                    "num_evict_kb": 0,
                    "num_promote": 0,
                    "num_flush_mode_high": 0,
                    "num_flush_mode_low": 0,
                    "num_evict_mode_some": 0,
                    "num_evict_mode_full": 0,
                    "num_objects_pinned": 0,
                    "num_legacy_snapsets": 0
                },
                "up": [
                    6,
                    0,
                    12
                ],
                "acting": [
                    6,
                    0,
                    12
                ],
                "blocked_by": [],
                "up_primary": 6,
                "acting_primary": 6
            },
            "empty": 1,
            "dne": 0,
            "incomplete": 0,
            "last_epoch_started": 862,
            "hit_set_history": {
                "current_last_update": "0'0",
                "history": []
            }
        },
        {
            "peer": "10",
            "pgid": "3.12c",
            "last_update": "0'0",
            "last_complete": "0'0",
            "log_tail": "0'0",
            "last_user_version": 0,
            "last_backfill": "MAX",
            "last_backfill_bitwise": 0,
            "purged_snaps": [],
            "history": {
                "epoch_created": 314,
                "epoch_pool_created": 314,
                "last_epoch_started": 862,
                "last_interval_started": 860,
                "last_epoch_clean": 862,
                "last_interval_clean": 860,
                "last_epoch_split": 0,
                "last_epoch_marked_full": 0,
                "same_up_since": 872,
                "same_interval_since": 915,
                "same_primary_since": 789,
                "last_scrub": "0'0",
                "last_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_deep_scrub": "0'0",
                "last_deep_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_clean_scrub_stamp": "2018-01-26 13:29:35.010846"
            },
            "stats": {
                "version": "0'0",
                "reported_seq": "332",
                "reported_epoch": "862",
                "state": "peering",
                "last_fresh": "2018-01-26 17:24:08.851806",
                "last_change": "2018-01-26 17:24:07.009364",
                "last_active": "2018-01-26 17:23:22.271920",
                "last_peered": "2018-01-26 17:22:41.140650",
                "last_clean": "2018-01-26 17:22:41.140650",
                "last_became_active": "2018-01-26 17:14:06.103780",
                "last_became_peered": "2018-01-26 17:14:06.103780",
                "last_unstale": "2018-01-26 17:24:08.851806",
                "last_undegraded": "2018-01-26 17:24:08.851806",
                "last_fullsized": "2018-01-26 17:24:08.851806",
                "mapping_epoch": 915,
                "log_start": "0'0",
                "ondisk_log_start": "0'0",
                "created": 314,
                "last_epoch_clean": 791,
                "parent": "0.0",
                "parent_split_bits": 0,
                "last_scrub": "0'0",
                "last_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_deep_scrub": "0'0",
                "last_deep_scrub_stamp": "2018-01-26 13:29:35.010846",
                "last_clean_scrub_stamp": "2018-01-26 13:29:35.010846",
                "log_size": 0,
                "ondisk_log_size": 0,
                "stats_invalid": false,
                "dirty_stats_invalid": false,
                "omap_stats_invalid": false,
                "hitset_stats_invalid": false,
                "hitset_bytes_stats_invalid": false,
                "pin_stats_invalid": false,
                "stat_sum": {
                    "num_bytes": 0,
                    "num_objects": 0,
                    "num_object_clones": 0,
                    "num_object_copies": 0,
                    "num_objects_missing_on_primary": 0,
                    "num_objects_missing": 0,
                    "num_objects_degraded": 0,
                    "num_objects_misplaced": 0,
                    "num_objects_unfound": 0,
                    "num_objects_dirty": 0,
                    "num_whiteouts": 0,
                    "num_read": 0,
                    "num_read_kb": 0,
                    "num_write": 0,
                    "num_write_kb": 0,
                    "num_scrub_errors": 0,
                    "num_shallow_scrub_errors": 0,
                    "num_deep_scrub_errors": 0,
                    "num_objects_recovered": 0,
                    "num_bytes_recovered": 0,
                    "num_keys_recovered": 0,
                    "num_objects_omap": 0,
                    "num_objects_hit_set_archive": 0,
                    "num_bytes_hit_set_archive": 0,
                    "num_flush": 0,
                    "num_flush_kb": 0,
                    "num_evict": 0,
                    "num_evict_kb": 0,
                    "num_promote": 0,
                    "num_flush_mode_high": 0,
                    "num_flush_mode_low": 0,
                    "num_evict_mode_some": 0,
                    "num_evict_mode_full": 0,
                    "num_objects_pinned": 0,
                    "num_legacy_snapsets": 0
                },
                "up": [
                    6,
                    0,
                    12
                ],
                "acting": [
                    6,
                    0,
                    12
                ],
                "blocked_by": [],
                "up_primary": 6,
                "acting_primary": 6
            },
            "empty": 1,
            "dne": 0,
            "incomplete": 0,
            "last_epoch_started": 862,
            "hit_set_history": {
                "current_last_update": "0'0",
                "history": []
            }
        },
        {
            "peer": "12",
            "pgid": "3.12c",
            "last_update": "0'0",
            "last_complete": "0'0",
            "log_tail": "0'0",
            "last_user_version": 0,
            "last_backfill": "MAX",
            "last_backfill_bitwise": 0,
            "purged_snaps": [],
            "history": {
                "epoch_created": 0,
                "epoch_pool_created": 0,
                "last_epoch_started": 0,
                "last_interval_started": 0,
                "last_epoch_clean": 0,
                "last_interval_clean": 0,
                "last_epoch_split": 0,
                "last_epoch_marked_full": 0,
                "same_up_since": 0,
                "same_interval_since": 0,
                "same_primary_since": 0,
                "last_scrub": "0'0",
                "last_scrub_stamp": "0.000000",
                "last_deep_scrub": "0'0",
                "last_deep_scrub_stamp": "0.000000",
                "last_clean_scrub_stamp": "0.000000"
            },
            "stats": {
                "version": "0'0",
                "reported_seq": "0",
                "reported_epoch": "0",
                "state": "unknown",
                "last_fresh": "0.000000",
                "last_change": "0.000000",
                "last_active": "0.000000",
                "last_peered": "0.000000",
                "last_clean": "0.000000",
                "last_became_active": "0.000000",
                "last_became_peered": "0.000000",
                "last_unstale": "0.000000",
                "last_undegraded": "0.000000",
                "last_fullsized": "0.000000",
                "mapping_epoch": 0,
                "log_start": "0'0",
                "ondisk_log_start": "0'0",
                "created": 0,
                "last_epoch_clean": 0,
                "parent": "0.0",
                "parent_split_bits": 0,
                "last_scrub": "0'0",
                "last_scrub_stamp": "0.000000",
                "last_deep_scrub": "0'0",
                "last_deep_scrub_stamp": "0.000000",
                "last_clean_scrub_stamp": "0.000000",
                "log_size": 0,
                "ondisk_log_size": 0,
                "stats_invalid": false,
                "dirty_stats_invalid": false,
                "omap_stats_invalid": false,
                "hitset_stats_invalid": false,
                "hitset_bytes_stats_invalid": false,
                "pin_stats_invalid": false,
                "stat_sum": {
                    "num_bytes": 0,
                    "num_objects": 0,
                    "num_object_clones": 0,
                    "num_object_copies": 0,
                    "num_objects_missing_on_primary": 0,
                    "num_objects_missing": 0,
                    "num_objects_degraded": 0,
                    "num_objects_misplaced": 0,
                    "num_objects_unfound": 0,
                    "num_objects_dirty": 0,
                    "num_whiteouts": 0,
                    "num_read": 0,
                    "num_read_kb": 0,
                    "num_write": 0,
                    "num_write_kb": 0,
                    "num_scrub_errors": 0,
                    "num_shallow_scrub_errors": 0,
                    "num_deep_scrub_errors": 0,
                    "num_objects_recovered": 0,
                    "num_bytes_recovered": 0,
                    "num_keys_recovered": 0,
                    "num_objects_omap": 0,
                    "num_objects_hit_set_archive": 0,
                    "num_bytes_hit_set_archive": 0,
                    "num_flush": 0,
                    "num_flush_kb": 0,
                    "num_evict": 0,
                    "num_evict_kb": 0,
                    "num_promote": 0,
                    "num_flush_mode_high": 0,
                    "num_flush_mode_low": 0,
                    "num_evict_mode_some": 0,
                    "num_evict_mode_full": 0,
                    "num_objects_pinned": 0,
                    "num_legacy_snapsets": 0
                },
                "up": [],
                "acting": [],
                "blocked_by": [],
                "up_primary": -1,
                "acting_primary": -1
            },
            "empty": 1,
            "dne": 1,
            "incomplete": 0,
            "last_epoch_started": 0,
            "hit_set_history": {
                "current_last_update": "0'0",
                "history": []
            }
        }
    ],
    "recovery_state": [
        {
            "name": "Started/Primary/Active",
            "enter_time": "2018-01-26 17:26:36.161072",
            "might_have_unfound": [],
            "recovery_progress": {
                "backfill_targets": [],
                "waiting_on_backfill": [],
                "last_backfill_started": "MIN",
                "backfill_info": {
                    "begin": "MIN",
                    "end": "MIN",
                    "objects": []
                },
                "peer_backfill_info": [],
                "backfills_in_flight": [],
                "recovering": [],
                "pg_backend": {
                    "pull_from_peer": [],
                    "pushing": []
                }
            },
            "scrub": {
                "scrubber.epoch_start": "0",
                "scrubber.active": false,
                "scrubber.state": "INACTIVE",
                "scrubber.start": "MIN",
                "scrubber.end": "MIN",
                "scrubber.subset_last_update": "0'0",
                "scrubber.deep": false,
                "scrubber.seed": 0,
                "scrubber.waiting_on": 0,
                "scrubber.waiting_on_whom": []
            }
        },
        {
            "name": "Started",
            "enter_time": "2018-01-26 17:26:34.624357"
        }
    ],
    "agent_state": {}
}
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux