Project

General

Profile

Actions

Bug #13507

closed

when upgrading from 4.3 to 5.0, even with option autoupdate-technique-library=true, techniques are not reloaded

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

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Small
Priority:
56
Name check:
Fix check:
Regression:

Description

i setted the value to true, and upgraded to 5.0
techniques were copied, but were not reloaded in the webapp

Output is

NFO: Ensuring correct permissions on the keys directory... Done.
ok: Rudder agent has been enabled but not started, wait for next cron run.
ok: start service rudder-agent succeeded
INFO: Scheduling an inventory during next run...
Setting up rudder-reports (5.0.0-stretch0) ...
INFO: Waiting for PostgreSQL to be up... Done
Processing triggers for rsyslog (8.24.0-1) ...
Setting up ncf-api-virtualenv (5.0.0-stretch0) ...
Installing new version of config file /etc/apache2/conf-available/ncf-api-virtualenv.conf ...
Conf ncf-api-virtualenv already enabled
INFO: Restarting Apache HTTPd... Done
Setting up rudder-server-relay (5.0.0-stretch0) ...
Installing new version of config file /etc/apache2/sites-available/rudder.conf ...
Installing new version of config file /opt/rudder/etc/rudder-apache-relay-common.conf ...
Installing new version of config file /opt/rudder/etc/rudder-apache-relay-ssl.conf ...
INFO: Restarting Apache HTTPd... Done
INFO: rudder-server-relay setup complete.
Setting up rudder-inventory-endpoint (5.0.0-stretch0) ...
INFO: Launching script to check if a migration is needed
INFO: End of migration script
Setting up rudder-webapp (5.0.0-stretch0) ...

Configuration file '/opt/rudder/etc/rudder-web.properties'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** rudder-web.properties (Y/I/N/O/D/Z) [default=N] ? 
Installing new version of config file /opt/rudder/etc/rudder-users.xml ...
Installing new version of config file /opt/rudder/etc/rudder-apache-webapp-common.conf ...
Installing new version of config file /opt/rudder/etc/rudder-apache-webapp-ssl.conf ...
INFO: Restarting Apache HTTPd... Done
INFO: Launching script to check if a migration is needed
INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK,  SQL OK
INFO: Checking if inventory-web.properties database access credentials are all right... LDAP OK,  SQL skipped
INFO: A Technique library reload is needed and has been scheduled.
Warning: Long arguments are not supported, you probably tried to use one!
Overriding existing techniques
INFO: Correcting permissions on /var/rudder/configuration-repository... Done
Techniques have been updated, and update branch set to current state of the Techniques
[master 6b2a9cd] Update technique editor hook "ncf-hooks.d/post.write_technique.10_commit.sh" 
[master fe3188d] Update technique editor hook "ncf-hooks.d/post.write_technique.50_rudderify.sh" 
INFO: Alternative source path added: /var/rudder/configuration-repository/ncf
INFO: Alternative source path added: /var/rudder/configuration-repository/ncf
INFO: Alternative source path added: /var/rudder/configuration-repository/ncf
INFO: The /var/rudder/configuration-repository/techniques/ncf_techniques/category.xml file already exists. Not updating.
INFO: Alternative source path added: /var/rudder/configuration-repository/ncf
INFO: Checking PostgreSQL service status... OK
INFO: Checking LDAP service status... OK

INFO: The migration has completed successfully.
INFO: End of migration script
INFO: Correcting permissions on /var/rudder/configuration-repository... Done
[master b38a58b] Add ncf hooks to repository
INFO: Restarting Rudder webapp and inventory-endpoint... Done
Setting up rudder-server-root (5.0.0-stretch0) ...
Installing new version of config file /etc/init.d/rudder-server ...
Processing triggers for systemd (232-25+deb9u1) ...

and logs says
[2018-09-18 11:56:13] INFO  bootchecks - Check for force reload of Techniques library
[2018-09-18 11:56:13] INFO  bootchecks - Flag file '/opt/rudder/etc/force_technique_reload' does not exist, do not Technique library will not be reloaded
[2018-09-18 11:56:13] INFO  bootchecks - Resume policy update if it was running before shutdown

Actions #1

Updated by Nicolas CHARLES over 6 years ago

happened on debian 9, but not on centos 7

Actions #2

Updated by Benoît PECCATTE about 6 years ago

  • Effort required set to Small
Actions #3

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 5.0.1 to 5.0.2
Actions #4

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 5.0.2 to 5.0.3
Actions #5

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 5.0.3 to 5.0.4
Actions #6

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 5.0.4 to 5.0.5
Actions #7

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 5.0.5 to 5.0.6
Actions #8

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 5.0.6 to 5.0.7
Actions #9

Updated by François ARMAND almost 6 years ago

  • Target version changed from 5.0.7 to 5.0.9
Actions #10

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.9 to 5.0.10
Actions #11

Updated by Benoît PECCATTE over 5 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 61
Actions #12

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.10 to 5.0.11
  • Priority changed from 61 to 60
Actions #13

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.11 to 5.0.12
Actions #14

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.12 to 5.0.13
  • Priority changed from 60 to 58
Actions #15

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 58 to 57
Actions #16

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 57 to 56
Actions #17

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.15 to 5.0.16
Actions #18

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #19

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
Actions #20

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.18 to 5.0.19
Actions #21

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.19 to 5.0.20
Actions #22

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.20 to 797
Actions #23

Updated by Alexis Mousset over 3 years ago

  • Status changed from New to Rejected

not seen since, closing

Actions #24

Updated by Benoît PECCATTE over 3 years ago

  • Target version changed from 797 to 5.0.20
Actions

Also available in: Atom PDF