ceph-pools-audit is executing an invalid command

Bug #1828760 reported by Bob Church
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Bob Church

Bug Description

Brief Description
-----------------
After Ceph Mimic upgrade ceph-pools-audit is failing as it is executing a
Ceph Jewel command.

Severity
--------
Major: Pool replication factor changes for rados-gw pools will not be adjusted.

Steps to Reproduce
------------------
Install AIO-SX. View the logs of the completed ceph-pools-audit pod

Expected Behavior
------------------
Check for pool name: kube-rbd
++ ceph osd pool get kube-rbd crush_rule
++ awk '{print $2}'
+ pool_rule=storage_tier_ruleset

Actual Behavior
----------------
Check for pool name: kube-rbd
Invalid command: crush_ruleset not in size|min_size|pg_num|pgp_num|crush_rule|
hashpspool|nodelete|nopgchange|nosizechange|write_fadvise_dontneed|noscrub|
nodeep-scrub|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|
use_gmt_hitset|auid|target_max_objects|target_max_bytes|
cache_target_dirty_ratio|cache_target_dirty_high_ratio|cache_target_full_ratio|
cache_min_flush_age|cache_min_evict_age|erasure_code_profile|
min_read_recency_for_promote|all|min_write_recency_for_promote|fast_read|
hit_set_grade_decay_rate|hit_set_search_last_n|scrub_min_interval|
scrub_max_interval|deep_scrub_interval|recovery_priority|recovery_op_priority|
scrub_priority|compression_mode|compression_algorithm|
compression_required_ratio|compression_max_blob_size|
compression_min_blob_size|csum_type|csum_min_block|csum_max_block|
allow_ec_overwrites

Reproducibility
---------------
100%

System Configuration
--------------------
All configurations

Branch/Pull Time/Commit
-----------------------
Master branch, private build, from:
BUILD_DATE="2019-05-10 19:21:21 -0400"

Last Pass
---------
Worked prior to Ceph upgrade

Timestamp/Logs
--------------
See behavior above pulled from the logs

Test Activity
-------------
Developer Testing

Bob Church (rchurch)
Changed in starlingx:
assignee: nobody → Bob Church (rchurch)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/658724

Changed in starlingx:
status: New → In Progress
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking as release gating; related to ceph upgrade

tags: added: stx.2.0
tags: added: stx.config stx.storage
Changed in starlingx:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/658724
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=f0d520105d011d5794ca9522bf9334f9eb69646b
Submitter: Zuul
Branch: master

commit f0d520105d011d5794ca9522bf9334f9eb69646b
Author: Robert Church <email address hidden>
Date: Sun May 12 00:32:06 2019 -0400

    Fix ceph-pools-audit chart for Ceph Mimic

    Update the chart to get the 'crush_rule' for various pools instead of
    the Jewel compliant 'crush_ruleset'

    Further chart clean up is done to be bashate compliant and also provide
    cleaner logging.

    Change-Id: I37186fa3e78ebc63f27fd43b373f9e82004199de
    Closes-Bug: #1828760
    Signed-off-by: Robert Church <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
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.