Project

General

Profile

Actions

Bug #2802

closed

Rudder can't start after a migration if the Rudder Technique Reference Library branch is not the same than the /var/rudder/configuration-repository branch

Added by Nicolas PERRON over 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If in rudder-web.properties, the Rudder Technique Reference Library branch is not the same than the /var/rudder/configuration-repository branch, after a migration from 2.3 to 2.4.0~beta3, Rudder is broken.

in rudder-web.properties:

rudder.ptlib.git.refs.path=refs/heads/master

in /var/rudder/configuration-repository :

root@server:/var/rudder/configuration-repository# git branch
* brokenbranch
  master

Rudder can't start with this error message:

[...]
[2012-08-13 14:46:33] INFO  application - Use configuration file defined by JVM property -Drudder.configFile : /opt/rudder/etc/rudder-web.properties
[2012-08-13 14:46:34] INFO  application - Use configuration file defined by JVM property -Drudder.authFile : /opt/rudder/etc/rudder-users.xml
[2012-08-13 14:46:35] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
[...]
Caused by:
java.lang.RuntimeException: Missing techniques root category in Git, expecting category descriptor for Git path: '/var/rudder/configuration-repository/techniques/category.xml'
        at scala.sys.package$.error(package.scala:27)
[...]

Even if I try to reapply rudder-upgrade script to the good branch, Rudder still can't be started with the same error message.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #2804: In rudder upgrade, the Rudder Technique Reference Library attribute in rudder-wbe.properties should be checked with a more flexbile wayRejectedNicolas PERRON2012-08-13Actions
Related to Rudder - Bug #2805: After a migration from 2.3 to 2.4.0~beta3, if a migration has been made with a wrong git branch on /var/rudder/configuration-repository it is impossible to return in a normal stateRejectedNicolas PERRON2012-08-14Actions
Actions

Also available in: Atom PDF