Skip to content

Conversation

@DavidePrincipi
Copy link
Member

Concurrent node/add-module actions fail on flock acquiring the lock file.

The lock file is created in a unique path by node/add-module, preventing the execution of multiple modules installation at the same time, which normally happens in cluster/create-cluster and cluster/add-node actions.

This commit changes extract-image behavior. The lock file is created under ./ (the working directory) instead of AGENT_INSTALL_DIR/.

Refs NethServer/dev#7058

Concurrent node/add-module actions fail on flock acquiring the lock
file.

The lock file is created in a unique path by node/add-module,
preventing the execution of multiple modules installation at the same
time, which normally happens in cluster/create-cluster and
cluster/add-node actions.

This commit changes extract-image behavior. The lock file is created
under ./ (the working directory) instead of AGENT_INSTALL_DIR/.
@DavidePrincipi DavidePrincipi self-assigned this Jan 24, 2025
@DavidePrincipi DavidePrincipi added the testing Start test suite label Jan 24, 2025
@DavidePrincipi DavidePrincipi merged commit b1765d2 into main Jan 24, 2025
8 of 17 checks passed
@DavidePrincipi DavidePrincipi deleted the fix-7058-1 branch January 24, 2025 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Start test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants