Bug #8172
closedUpgrade from 2.11 to 3.1 on sles does not preserve the rudder-jetty java parameters
Description
On SLES11, upgrading from 2.11 to 3.1 on SLES 11 failed to preserve the configured java parameters, and restored default config file (with only 1 GB allocated to webapp)
Updated by Nicolas CHARLES over 8 years ago
- Related to Bug #6773: Rudder-ldap and rudder-jetty settings should be user configurable in /etc/default added
Updated by Nicolas CHARLES over 8 years ago
- Related to Bug #7850: Upgrading from 2.11 to 3.1.6, with a distributed setup ( external DB ), on SLES, leads to invalid config file for LDAP added
Updated by Nicolas CHARLES over 8 years ago
- Related to Bug #7166: Migrations to 3.1 may fail due to a wrong Jetty configuration migration on RPM based systems added
Updated by Nicolas CHARLES over 8 years ago
- Translation missing: en.field_tag_list set to Sponsored
- Priority changed from N/A to 1 (highest)
Updated by François ARMAND over 8 years ago
Could you specify what are the files that are reverted, and that should not ?
There is a multitude of way to change these parameter, a specific case would help understand the problem.
Updated by Nicolas CHARLES over 8 years ago
- Assignee set to Benoît PECCATTE
In pré-3.1, conf file for rudder-jetty was user modifiable in /opt/rudder/etc/rudder-jetty.conf; starting of 3.1 it is /etc/default/rudder-jetty.conf
If user configured something in /opt/rudder/etc/rudder-jetty.conf, it is lost in upgrade to 3.1 - at least for SLES - as /etc/default/rudder-jetty.conf contain only default content
Related ticket #7850 states the same for slapd config file
Updated by François ARMAND over 8 years ago
- Translation missing: en.field_tag_list changed from Sponsored to Sponsored, Next minor release
This is important and should be simple to correct.
Updated by Benoît PECCATTE over 8 years ago
I need to reproduce this since there is already code to migrate these parameters on sles, we need more informations to identify this bug
Updated by Benoît PECCATTE over 8 years ago
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
I cannot reproduce, I just tested on a fresh install
- rudder 2.11 on SLES 11
- change jetty settings
- upgrade rudder to 3.1
-> setting are properly restored in /etc/default/rudder-jetty.conf
Could you elaborate a bit more on how to reproduce ?
Updated by Nicolas CHARLES over 8 years ago
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
It appeared twice:
once in an upgrade from 2.11.8 to 3.1.1, upon upgrade, XMX value was lost
once in distributed setup (remote rudder-reports), upgrading from 2.11.8 to 3.1.3
both on sles11
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.10 to 3.1.11
Updated by Nicolas CHARLES over 8 years ago
It seemed it appeared also on an upgrade from 3.1.6 to 3.1.10 on SLES11
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.11 to 3.1.12
Updated by François ARMAND over 8 years ago
- Related to Bug #8418: Configuration files do not get updated when user has modified the stock ones added
Updated by Nicolas CHARLES over 8 years ago
It may be related to the conffiles ticket that was handled recently
Updated by Benoît PECCATTE over 8 years ago
- Status changed from New to In progress
Updated by Benoît PECCATTE over 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/986
Updated by François ARMAND over 8 years ago
- Assignee changed from Jonathan CLARKE to François ARMAND
I'm merging that, Jon doesn't have any added value on it.
We need a linter for that :/
Updated by François ARMAND over 8 years ago
Benoit, could you upmerge it please?
Updated by François ARMAND over 8 years ago
- Assignee changed from François ARMAND to Benoît PECCATTE
Updated by Benoît PECCATTE over 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|3901c64991e57e5351f84598084c71746eafabc8.
Updated by Alexis Mousset over 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.12 and 3.2.5 which were released today.
- 3.1: Announce Changelog
- 3.2: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/