Project

General

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 over 11 years ago. Updated over 11 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
Actions

Also available in: Atom PDF