Env:
[root@19may5231-31 lifecycle]# rpm -qa | grep noobaa
noobaa-core-5.18.3-20250514.el9.x86_64
[root@19may5231-31 lifecycle]# mmdiag
Current GPFS build: "5.2.3.1".
Built on May 19 2025 at 17:06:32
[root@19may5231-31 lifecycle]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.4 (Plow)
Description of problem -
After running the lifecycle worker, it executed the policy successfully. However in the report it shows the num_objects_deleted" as 0 for "stats_acc"
This is for 4.18.3.
However in 4.19.0, this code block is not present in the report.
Example: Check the block in bold text.
[root@19may5231-31 lifecycle]# jq . lifecycle_run_1747733194338.json
{
"running_host": "19may5231-31",
"lifecycle_run_times":
,
"total_stats": {
"stats_acc": {
"num_objects_deleted": 0,
"num_objects_delete_failed": 0,
"objects_delete_errors": [],
"num_mpu_aborted": 0,
"num_mpu_abort_failed": 0,
"mpu_abort_errors": []
},
"cur_op_stats":
},
"buckets_statuses": {
"bucket7000": {
"bucket_process_times":
,
"bucket_stats": {
"stats_acc": {},
"cur_op_stats":
},
"rules_statuses": {
"expiration_days_1": {
"rule_process_times":
,
"rule_stats":
,
"state":
}
},
"state":
}
},
"state":
}
The ODF deployment type (Internal, External, Internal-Attached (LSO), Multicluster, DR, Provider, etc): scale
Steps to Reproduce:
1. Create a scale cluster with noobaa 5.18.3 and and apply a lifecycle policy.
2. Run the policy using "/usr/local/bin/noobaa-cli lifecycle --disable_runtime_validation" and see the report
3. In the report verify that all the object deleted count is proper