Bug #3526
closedAdd a promise to remove Git lock file on configuration-repository if older than 5 minutes
Description
When trying to add a node on Rudder 2.5.2 on CentOS , we get the error:
Error when trying to accept node f58dab50-6f5b-4463-b44e-5a5be0fce562 <- Error when executing accept node process named accept_new_server:add_system_configuration_rules <- Could not update the technical group with ID 'NodeGroupId(hasPolicyServer-root)' <- Exception caught during execution of add command
This was from a fresh install from Rudder-vagrant (branch 2.5, vagrant up centos6).
It does not works any better when upgrading to Rudder 2.6 nigtlies.
It does work for a fresh install on Debian (from Rudder-vagrant, branch 2.5, vagrant up server).
It does work on dev machine, or in other test environment (orch-3).
In fact, this is due to a bad initialisation of the .git in /var/rudder/configuration-repository that let the '/var/rudder/configuration-repository/.git/index.lock' file.
Added by Matthieu CERDA almost 12 years ago
Added by Matthieu CERDA almost 12 years ago
Fixes #3526: Add a git lock age checking promise to the distributePolicy (correct the bodies)
Added by Matthieu CERDA almost 12 years ago
Fixes #3526: Add a git lock age checking promise to the distributePolicy (@# curly brackets)
Added by Jonathan CLARKE almost 12 years ago
Merge pull request #102 from Kegeruneku/bug_3526/dev/3526_delete_git_lock_if_too_old
Fixes #3526: Add a git lock age checking promise to the distributePolicy
Added by Matthieu CERDA almost 12 years ago
Fixes #3526: Add a git lock age checking promise to the distributePolicy (@# borken class definition)
Added by Jonathan CLARKE almost 12 years ago
Merge pull request #103 from Kegeruneku/bug_3526/dev/3526_delete_git_lock_if_too_old
Fixes #3526: Add a git lock age checking promise to the distributePolicy...
Added by Matthieu CERDA almost 12 years ago
Fixes #3526: Add a git lock age checking promise to the distributePolicy (Fix problematic mtime and reporting)
Added by Jonathan CLARKE almost 12 years ago
Merge pull request #104 from Kegeruneku/bug_3526/dev/3526_delete_git_lock_if_too_old
Fixes #3526: Add a git lock age checking promise to the distributePolicy...
Fixes #3526: Add a git lock age checking promise to the distributePolicy