Project

General

Custom queries

Profile

Actions

Bug #3526

closed

Add a promise to remove Git lock file on configuration-repository if older than 5 minutes

Added by François ARMAND almost 12 years ago. Updated almost 12 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Matthieu CERDA
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #3531: Backport the git lock erase promise if older than 5 minutes from 2.5 to 2.4ReleasedMatthieu CERDA2013-09-02Actions
Related to Rudder - Bug #3533: Add a promise to remove Git lock file on configuration-repository if older than 5 minutes (#2)ReleasedMatthieu CERDA2013-04-25Actions

Added by Matthieu CERDA almost 12 years ago

Revision 08157449 (diff)

Fixes #3526: Add a git lock age checking promise to the distributePolicy

Added by Matthieu CERDA almost 12 years ago

Revision bb9d9201 (diff)

Fixes #3526: Add a git lock age checking promise to the distributePolicy (correct the bodies)

Added by Matthieu CERDA almost 12 years ago

Revision d6aa21ea (diff)

Fixes #3526: Add a git lock age checking promise to the distributePolicy (@# curly brackets)

Added by Jonathan CLARKE almost 12 years ago

Revision 1458db9b

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

Revision c1083ced (diff)

Fixes #3526: Add a git lock age checking promise to the distributePolicy (@# borken class definition)

Added by Jonathan CLARKE almost 12 years ago

Revision 73187a7a

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

Revision b562fb58 (diff)

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

Revision d64139d9

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...

Actions

Also available in: Atom PDF