Project

General

Profile

Actions

Bug #8172

closed

Upgrade from 2.11 to 3.1 on sles does not preserve the rudder-jetty java parameters

Bug #8172: Upgrade from 2.11 to 3.1 on sles does not preserve the rudder-jetty java parameters

Added by Nicolas CHARLES over 9 years ago. Updated over 3 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Server components
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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)


Subtasks 1 (0 open1 closed)

Bug #8648: Previous merge broke a binary file: rsyslog-4.8.0.tar.bz2ReleasedAlexis MoussetActions

Related issues 4 (1 open3 closed)

Related to Rudder - Bug #6773: Rudder-ldap and rudder-jetty settings should be user configurable in /etc/defaultReleasedBenoît PECCATTEActions
Related to Rudder - Bug #7850: Upgrading from 2.11 to 3.1.6, with a distributed setup ( external DB ), on SLES, leads to invalid config file for LDAPRejectedActions
Related to Rudder - Bug #7166: Migrations to 3.1 may fail due to a wrong Jetty configuration migration on RPM based systemsReleasedNicolas CHARLESActions
Related to Rudder - Bug #8418: Configuration files do not get updated when user has modified the stock onesNewActions

Updated by Nicolas CHARLES over 9 years ago Actions #1

  • Related to Bug #6773: Rudder-ldap and rudder-jetty settings should be user configurable in /etc/default added

Updated by Nicolas CHARLES over 9 years ago Actions #2

  • 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 9 years ago Actions #3

  • 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 9 years ago Actions #4

  • Translation missing: en.field_tag_list set to Sponsored
  • Priority changed from N/A to 1 (highest)

Updated by François ARMAND over 9 years ago Actions #5

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 9 years ago Actions #6

  • 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 9 years ago Actions #7

  • 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 9 years ago Actions #8

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 9 years ago Actions #9

  • 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 9 years ago Actions #10

  • 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 9 years ago Actions #11

  • Target version changed from 3.1.10 to 3.1.11

Updated by Nicolas CHARLES over 9 years ago Actions #12

It seemed it appeared also on an upgrade from 3.1.6 to 3.1.10 on SLES11

Updated by Vincent MEMBRÉ over 9 years ago Actions #13

  • Target version changed from 3.1.11 to 3.1.12

Updated by François ARMAND over 9 years ago Actions #14

  • Related to Bug #8418: Configuration files do not get updated when user has modified the stock ones added

Updated by Nicolas CHARLES over 9 years ago Actions #15

It may be related to the conffiles ticket that was handled recently

Updated by Benoît PECCATTE over 9 years ago Actions #16

  • Status changed from New to In progress

Updated by Benoît PECCATTE over 9 years ago Actions #17

  • 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 9 years ago Actions #18

  • 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 9 years ago Actions #19

Benoit, could you upmerge it please?

Updated by François ARMAND over 9 years ago Actions #20

  • Assignee changed from François ARMAND to Benoît PECCATTE

Updated by Benoît PECCATTE over 9 years ago Actions #21

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Updated by Alexis Mousset over 9 years ago Actions #22

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

Updated by Alexis Mousset over 3 years ago Actions #23

  • Priority set to 0
Actions

Also available in: PDF Atom