Actions
Bug #13507
closedwhen upgrading from 4.3 to 5.0, even with option autoupdate-technique-library=true, techniques are not reloaded
Pull Request:
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
Updated by Nicolas CHARLES about 6 years ago
happened on debian 9, but not on centos 7
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 5.0.1 to 5.0.2
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 5.0.2 to 5.0.3
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 5.0.3 to 5.0.4
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 5.0.4 to 5.0.5
Updated by Alexis Mousset almost 6 years ago
- Target version changed from 5.0.5 to 5.0.6
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 5.0.6 to 5.0.7
Updated by François ARMAND over 5 years ago
- Target version changed from 5.0.7 to 5.0.9
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.9 to 5.0.10
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
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
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.11 to 5.0.12
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
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.13 to 5.0.14
- Priority changed from 58 to 57
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
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 5.0.15 to 5.0.16
Updated by Alexis Mousset almost 5 years ago
- Target version changed from 5.0.16 to 5.0.17
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.17 to 5.0.18
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.18 to 5.0.19
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.19 to 5.0.20
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.20 to 797
Updated by Alexis Mousset over 3 years ago
- Status changed from New to Rejected
not seen since, closing
Updated by Benoît PECCATTE over 3 years ago
- Target version changed from 797 to 5.0.20
Actions