red-hat-storage / ocs-ci

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

Restart the node in teardown for volume to be mounted if the OSD is in crash status so that Ceph could recover for the further tests. #10884

Open am-agrawa opened 6 days ago

am-agrawa commented 6 days ago

Needed for test_detach_attach_worker_volume where the test failed as PVC did not get bound and volume did not get mounted as node restart couldn't be done which is the next step. So it's better to check the status of OSD pod in teardown and restart the node so that ceph could recover for further tests to be run.