red-hat-storage / ocs-ci

https://ocs-ci.readthedocs.io/en/latest/
MIT License
109 stars 166 forks source link

Test `test_validate_ceph_config_values_in_rook_config_override` fails due to new config value. #9438

Open abdulkandathil opened 6 months ago

abdulkandathil commented 6 months ago

Test:

tests/functional/z_cluster/test_ceph_default_values_check.py::TestCephDefaultValuesCheck::test_validate_ceph_config_values_in_rook_config_override

Description: Test fails due to new config value mon_warn_on_pool_no_redundancy in odf 4.15.

Error:

E       AssertionError: The Ceph config, set by rook-config-override is different than the expected. Please inform OCS-QE about this discrepancy. The expected values are:
E         ['', '[global]', 'bdev_flock_retry = 20', 'mon_osd_full_ratio = .85', 'mon_osd_backfillfull_ratio = .8', 'mon_osd_nearfull_ratio = .75', 'mon_max_pg_per_osd = 600', 'mon_pg_warn_max_object_skew = 0', 'mon_data_avail_warn = 15', '[
osd]', 'osd_memory_target_cgroup_limit_ratio = 0.8', 'bluestore_prefer_deferred_size_hdd = 0', '']
E         The cluster's Ceph values are:['', '[global]', 'bdev_flock_retry = 20', 'mon_osd_full_ratio = .85', 'mon_osd_backfillfull_ratio = .8', 'mon_osd_nearfull_ratio = .75', 'mon_max_pg_per_osd = 600', 'mon_pg_warn_max_object_skew = 0',
'mon_data_avail_warn = 15', 'mon_warn_on_pool_no_redundancy = false', 'bluestore_prefer_deferred_size_hdd = 0', '[osd]', 'osd_memory_target_cgroup_limit_ratio = 0.8', '']
E       assert Counter({'': ...io = 0.8': 1}) == Counter({'': ..._hdd = 0': 1})
E         Omitting 12 identical items, use -vv to show
E         Left contains 1 more item:
E         {'mon_warn_on_pool_no_redundancy = false': 1}
E         Full diff:
E           Counter({'': 2,
E                    '[global]': 1,
E                    'bdev_flock_retry = 20': 1,...
E
E         ...Full output truncated (15 lines hidden), use '-vv' to show
github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs.

abdulkandathil commented 2 months ago

Test is still failing on 4.16 as well.

https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/335/22659/1086209/1086505/log?item1Params=filter.cnt.name%3Dtest_valida%26page.page%3D1