5dbafb0b2f
There is a race condition between collect_ceph_status.sh writing the status file and check_ceph_status.py reading that file. This patch fixes that by directing ceph output into a temp file, and then replacing the old state file with the new temp file using an atomic mv operation. Change-Id: If332d187f8dcb9f7fcd8b4a47f791beb8e27eaaa Closes-Bug: 1755207 |
||
---|---|---|
.. | ||
check_ceph_status.py | ||
collect_ceph_status.sh |