Updated openstack/openstack
Project: openstack/nova d8ab58339cb2a47680b9a73383e0748916271b47 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
This commit is contained in:
committed by
Gerrit Code Review
parent
14c662bbe2
commit
bb9f4eec68