Closed akash2144 closed 2 years ago
please check if your disk event will have ever specific_info i.e. event['payload']['specific_info']. if ever it will have some object and not a generation_id then it will break in parser. and generation_id is only for node event and not disk so it will fail if tomorrow if you have any object in 'specific_info' so let's change this also.
file: /root/cortx-ha/ha/core/event_analyzer/parser/parser.py line: 191 if specific_info and specific_info["generation_id"] and source == HEALTH_EVENT_SOURCES.MONITOR.value:
so you can make this check only for node events.
This check is added in PR#644. Currently we didn't receive any disk event from monitor. https://github.com/Seagate/cortx-ha/pull/664/files#:~:text=if%20resource_type%20%3D%3D%20CLUSTER_ELEMENTS.NODE.value%3A
Please refresh the test output with latest code, this should reflect > as delimiter now.
Please refresh the test output with latest code, this should reflect > as delimiter now.
Done. Updated test results.
Resolved.
Can u please rebase branch with latest fault_k8s
It's already rebased with latest fault_k8s. Please let me know if you see any warnings on PR.
@akash2144 from the test results,
looks like your setup had only 4 pods ( 2 server , 2 data I guess) . Is this as expected ? There should be 3+3 right ? Don't know why only 2 pods get created. I used following jenkins job for deployment on 3 node cluster : https://eos-jenkins.colo.seagate.com/job/Cortx-Automation/job/RGW/job/setup-cortx-rgw-cluster/ With same job on another 3 node cluster, 6 pods gets created (3 server + 3 data). Test details are added in PR description.
/dev/sda and /dev/sdb are missing. Is this expected as per cluster.conf Yes, As per cluster.conf we only have 2 data disk & 1 metadata disk per device
devices: data:
/dev/sdd
/dev/sde metadata:
/dev/sdc num_data: 2 num_metadata: 1 name: cvg-01 type: ios
devices: data:
/dev/sdg
/dev/sdh metadata:
/dev/sdf num_data: 2 num_metadata: 1 name: cvg-02 type: ios cvg_count: 2
…s for disk resources
Signed-off-by: Akash Dudhane akash.a.dudhane@seagate.com
Problem Statement
Design
Coding
Testing
Review Checklist
Review Checklist
Documentation
Checklist for Author
Test Details :
With Latest code changes consul keys are :