nova/tools/xenserver
Bob Ball a40ee2ce1b XenAPI: Fix race on rotate_xen_guest_logs
There is a race between where Xen creates the domain and starts logging
and when XAPI returns to say that the domain has started.

If the cronjob to rotate the guest logs runs in this period, it can
delete the console logs before we set the last_dom_id which is used to
preserve logs.

This change adds a fixed delay before deleting any log files, allowing
the VM start operation to return after the domain has been successfully
created.

Change-Id: I82ae3e008974f33b60256366f171abf1f0369e60
Closes-Bug: 1535616
2016-01-19 10:15:08 +00:00
..
cleanup_sm_locks.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
destroy_cached_images.py xapi-tools: fixes cache cleaner script 2015-10-02 10:20:51 +00: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: Fix race on rotate_xen_guest_logs 2016-01-19 10:15:08 +00: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