rhtyd opened a new pull request #3405: kvm: fix qemu hook race condition
URL: https://github.com/apache/cloudstack/pull/3405
 
 
   This fixes the qemu hooks `mkdir` race condition which can happen when
   too many VMs may launch on a KVM host executing the hooks script that
   tries to `mkdir` for the custom directory. On exception (multiple scripts
   trying to mkdir), the VM stops.
   
   The custom directory need not be created if it does not exist, instead
   the custom hooks should only execute when there is a custom directory.
   
   Feature documentation:
   
http://docs.cloudstack.apache.org/en/4.11.2.0/adminguide/hosts.html#kvm-libvirt-hook-script-include
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [x] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to