nova/tools/xenserver
Bob Ball f985a11bc6 XenAPI: Refactor rotate_xen_guest_logs to avoid races
Moving console logs to a temporary file is a clear race when Nova tries to
access a file it might not be there.

We need to keep the readable file in place at all times.  Atomic operations
like mv are fine as if the file was opened before the mv operation Linux
will keep the contents available until the file is closed by Nova's plugin.

Futher, we need to be able to report the console logs from domains that have
been shutdown but still exist on the host.  Ensure we keep track of the domain
that we last booted with

Change-Id: Icfff9886d79f788be871bf28c8b729a57dcd94d2
Fixes-bug: 1466914
2015-06-26 12:17:38 +01:00
..
cleanup_sm_locks.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
destroy_cached_images.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
populate_other_config.py Switch to uuidutils from oslo_utils library 2015-02-25 20:05:49 -05:00
rotate_xen_guest_logs.sh XenAPI: Refactor rotate_xen_guest_logs to avoid races 2015-06-26 12:17:38 +01:00
stress_test.py Xen: Add race-condition troubleshooting script. 2012-07-25 00:32:24 +00:00
vdi_chain_cleanup.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
vm_vdi_cleaner.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00