![]() If multiple processes are creating/erasing different fuel-devops
environments at the same time, there can be race condition during
libvirt object creation/deletion like:
'bridge virbr3 already exists' and others.
This patch allows to use a lock file to avoid such situation:
export DEVOPS_LOCK_FILE=/run/lock/devops_lock
If the environment variable DEVOPS_LOCK_FILE is not set, then
the lock file is not used (backward compatibility to avoid any
errors caused by using the lock file by default).
Change-Id: Id28f442959594aa5d6bb5c1d15e4f0880653070d
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
decorators.py | ||
exec_result.py | ||
helpers.py | ||
metaclasses.py | ||
network.py | ||
node_manager.py | ||
ntp.py | ||
retry.py | ||
scancodes.py | ||
ssh_client.py | ||
subprocess_runner.py | ||
templates.py | ||
xmlgenerator.py |