Project

General

Profile

Actions

Bug #17313

closed

Upgrading Rudder from 5.0.18 to 6.1-nightly does not update techniques

Added by Nicolas CHARLES over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Techniques were not updated during upgrade, so policy generation fails because sysem techniques are invalid

May be relevant: i did had some error at upgrade that didn't seems blocking

INFO: Scheduling an inventory during next run...
  Updating   : 1398866025:rudder-server-relay-6.1.0.beta2.git202005030257-1.EL.7.x86_64                                                                                                                       2/16 
INFO: Setting Apache httpd as a boot service... Done
INFO: Creating users ... Done
INFO: Configuring systemd services... Done
INFO: Starting services... Done
INFO: rudder-server-relay setup complete.
  Installing : 1398866025:rudder-webapp-6.1.0.beta2.git202005030257-1.EL.7.x86_64                                                                                                                             3/16 
warning: /opt/rudder/etc/logback.xml created as /opt/rudder/etc/logback.xml.rpmnew
warning: /opt/rudder/etc/openldap/slapd.conf created as /opt/rudder/etc/openldap/slapd.conf.rpmnew
warning: /opt/rudder/etc/rudder-users.xml created as /opt/rudder/etc/rudder-users.xml.rpmnew
warning: /opt/rudder/etc/rudder-web.properties created as /opt/rudder/etc/rudder-web.properties.rpmnew
INFO: Creating groups ... Done
INFO: Creating users ... Done
INFO: Removing ncf-api-venv user and group ...userdel: ncf-api-venv mail spool (/var/spool/mail/ncf-api-venv) not found
 Done
INFO: Setting up systemd ...Created symlink from /etc/systemd/system/multi-user.target.wants/rudder-jetty.service to /usr/lib/systemd/system/rudder-jetty.service.
Created symlink from /etc/systemd/system/rudder-server.service.requires/rudder-jetty.service to /usr/lib/systemd/system/rudder-jetty.service.
INFO: Restarting rudder-slapd...Job for rudder-slapd.service failed because the control process exited with error code. See "systemctl status rudder-slapd.service" and "journalctl -xe" for details.
INFO: Applying selinux policy... Done
  Updating   : 1398866025:rudder-reports-6.1.0.beta2.git202005030257-1.EL.7.noarch                                                                                                                            4/16 
INFO: Setting PostgreSQL as a boot service... Done
INFO: Waiting for PostgreSQL to be up... Done
  Updating   : 1398866025:rudder-server-root-6.1.0.beta2.git202005030257-1.EL.7.noarch                                                                                                                        5/16 
  Cleanup    : 1398866025:rudder-server-root-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                         6/16 
  Cleanup    : 1398866025:rudder-webapp-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                              7/16 
  Erasing    : 1398866025:rudder-inventory-endpoint-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                  8/16 
  Erasing    : 1398866025:ncf-api-virtualenv-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                         9/16 
warning: file /var/lib/ncf-api-venv: remove failed: No such file or directory
INFO: Removing ncf-api-virtualenv selinux policy...libsemanage.semanage_direct_remove_key: Removing last ncf-api-virtualenv module (no other ncf-api-virtualenv module exists at another priority).
restorecon:  lstat(/var/lib/ncf-api-venv) failed:  No such file or directory
 Done
  Cleanup    : 1398866025:rudder-server-relay-5.0.18.rc1.git202004260445-1.EL.7.x86_64                                                                                                                       10/16 
  Erasing    : 1398866025:rudder-techniques-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                         11/16 
  Erasing    : 1398866025:ncf-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                                       12/16 
INFO: A back up copy of the /opt/rudder/etc/uuid.hive has been created in /var/backups/rudder
INFO: A back up copy of the /var/rudder/cfengine-community/policy_server.dat has been created in /var/backups/rudder
INFO: A back up copy of the /var/rudder/cfengine-community/ppkeys has been created in /var/backups/rudder
  Cleanup    : 1398866025:rudder-agent-5.0.18.rc1.git202004260445-1.EL.7.x86_64                                                                                                                              13/16 
  Erasing    : 1398866025:rudder-inventory-ldap-5.0.18.rc1.git202004260445-1.EL.7.x86_64                                                                                                                     14/16 
warning: /etc/default/rudder-slapd saved as /etc/default/rudder-slapd.rpmsave
Stopping Jetty: ERROR: no pid found at /var/rudder/run/rudder-jetty.pid
  Erasing    : 1398866025:rudder-jetty-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                              15/16 
  Cleanup    : 1398866025:rudder-reports-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                            16/16 
Job for rudder-slapd.service failed because the control process exited with error code. See "systemctl status rudder-slapd.service" and "journalctl -xe" for details.
  Verifying  : 1398866025:rudder-webapp-6.1.0.beta2.git202005030257-1.EL.7.x86_64                                                                                                                             1/16 
  Verifying  : 1398866025:rudder-server-root-6.1.0.beta2.git202005030257-1.EL.7.noarch                                                                                                                        2/16 
  Verifying  : 1398866025:rudder-server-relay-6.1.0.beta2.git202005030257-1.EL.7.x86_64                                                                                                                       3/16 
  Verifying  : 1398866025:rudder-agent-6.1.0.beta2.git202005030257-1.EL.7.x86_64                                                                                                                              4/16 
  Verifying  : 1398866025:rudder-reports-6.1.0.beta2.git202005030257-1.EL.7.noarch                                                                                                                            5/16 
  Verifying  : 1398866025:rudder-server-root-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                         6/16 
  Verifying  : 1398866025:ncf-api-virtualenv-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                         7/16 
  Verifying  : 1398866025:rudder-webapp-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                              8/16 
  Verifying  : 1398866025:rudder-techniques-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                          9/16 
  Verifying  : 1398866025:rudder-inventory-ldap-5.0.18.rc1.git202004260445-1.EL.7.x86_64                                                                                                                     10/16 
  Verifying  : 1398866025:rudder-server-relay-5.0.18.rc1.git202004260445-1.EL.7.x86_64                                                                                                                       11/16 
  Verifying  : 1398866025:rudder-inventory-endpoint-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                 12/16 
  Verifying  : 1398866025:rudder-jetty-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                              13/16 
  Verifying  : 1398866025:ncf-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                                       14/16 
  Verifying  : 1398866025:rudder-agent-5.0.18.rc1.git202004260445-1.EL.7.x86_64                                                                                                                              15/16 
  Verifying  : 1398866025:rudder-reports-5.0.18.rc1.git202004260445-1.EL.7.noarch                                                                                                                            16/16 

Installed:
  rudder-webapp.x86_64 1398866025:6.1.0.beta2.git202005030257-1.EL.7                                                                                                                                               

Updated:
  rudder-server-root.noarch 1398866025:6.1.0.beta2.git202005030257-1.EL.7                                                                                                                                          

Dependency Updated:
  rudder-agent.x86_64 1398866025:6.1.0.beta2.git202005030257-1.EL.7  rudder-reports.noarch 1398866025:6.1.0.beta2.git202005030257-1.EL.7  rudder-server-relay.x86_64 1398866025:6.1.0.beta2.git202005030257-1.EL.7 

Replaced:
  ncf.noarch 1398866025:5.0.18.rc1.git202004260445-1.EL.7                                                    ncf-api-virtualenv.noarch 1398866025:5.0.18.rc1.git202004260445-1.EL.7                                
  rudder-inventory-endpoint.noarch 1398866025:5.0.18.rc1.git202004260445-1.EL.7                              rudder-inventory-ldap.x86_64 1398866025:5.0.18.rc1.git202004260445-1.EL.7                             
  rudder-jetty.noarch 1398866025:5.0.18.rc1.git202004260445-1.EL.7                                           rudder-techniques.noarch 1398866025:5.0.18.rc1.git202004260445-1.EL.7                                 

Complete!


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #17523: error when a technique with a directive attached change in 6.1 blocks all technique updatesReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF