Actions
Bug #10986
closedwebapp can't start after upgrade to 4.2
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
13
Name check:
Fix check:
Regression:
Description
This is a template, please edit and remove what is not relevant.
I found this bug in Rudder version 4.2, on xenial
This bug happens:
- During upgrade of Rudder server
Description:
[2017-06-22 09:15:06] INFO bootchecks - Resume policy update if it was running before shutdown [2017-06-22 09:15:06] INFO bootchecks - Flag file '/opt/rudder/etc/policy-update-running' does not exist, No need to start a new policy update [2017-06-22 09:15:06] INFO bootchecks - Check that system group / directive / rules for Rudder 4.2 are agent-specific [2017-06-22 09:15:06] ERROR bootchecks - Missing required system entry in bootstrap data (likely a bug, please report): 'nodeGroupId=all-nodes-with-cfengine-agent,groupCategoryId=SystemGroup s,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration' [2017-06-22 09:15:06] ERROR application - Fatal error during boot, Rudder will stop now javax.servlet.UnavailableException: Missing required system entry in bootstrap data (likely a bug, please report): 'nodeGroupId=all-nodes-with-cfengine-agent,groupCategoryId=SystemGroups,gro upCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration' at bootstrap.liftweb.checks.CheckCfengineSystemRuleTargets.FAIL(CheckCfengineSystemRuleTargets.scala:112) at bootstrap.liftweb.checks.CheckCfengineSystemRuleTargets.failMissingEntryMsg$1(CheckCfengineSystemRuleTargets.scala:130) at bootstrap.liftweb.checks.CheckCfengineSystemRuleTargets.$anonfun$checks$3(CheckCfengineSystemRuleTargets.scala:135)
Updated by François ARMAND over 7 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 7 years ago
OK, understood what is happening: on the webapp, depending of something, the bootstrap.ldif from either ldap-inventory/inventory-repository (not good) or scala-core (good!) is loaded. Because classpath order or something.
So, either remove bootstrap.ldif from inventory-repository jar, or specifically load the one from scala-core (not sure if possible, thought)
Updated by François ARMAND over 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Alexis Mousset
- Pull Request set to https://github.com/Normation/ldap-inventory/pull/115
Updated by François ARMAND over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset ldap-inventory|9d7457917e44330c549cd20e6d842051181b51eb.
Updated by Alexis Mousset over 7 years ago
- Status changed from Pending release to Released
- Priority changed from 0 to 13
This bug has been fixed in Rudder 4.2.0~beta1 which was released today.
- 4.2.0~beta1: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions