Project

General

Profile

Actions

Bug #16735

closed

When upgrading from 5.0 to 6.0 (on centos7), incompatible plugins are not disabled

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

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Error - Blocking
Regression:

Description

Yet /opt/rudder/bin/rudder-upgrade seems to be ran


Subtasks 1 (0 open1 closed)

Bug #16745: when upgrding rudder from 5.0 to 6.0, the rudder-pkg restaure pkg cannot restart correctly Jetty, so rudder-upgrade doesn't checkk compatibility, and rudder cannot startReleasedAlexis MoussetActions
Actions #1

Updated by Nicolas CHARLES about 4 years ago

  • Subject changed from When upgrading from 5.0 to 6.0 (on centos7), plugins are not disabled to When upgrading from 5.0 to 6.0 (on centos7), incompatible plugins are not disabled
Actions #2

Updated by Nicolas CHARLES about 4 years ago

Rudder upgrade does diesable them, yet the postinst does

if [ -f /tmp/rudder-plugins-upgrade ]
then
  /opt/rudder/bin/rudder-pkg plugin restore-status < /tmp/rudder-plugins-upgrade
fi

Actions #3

Updated by Nicolas CHARLES about 4 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #4

Updated by Nicolas CHARLES about 4 years ago

  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2200
Actions #5

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.0.3 to 6.0.4
Actions #6

Updated by Nicolas CHARLES about 4 years ago

  • Status changed from In progress to Pending release
Actions #8

Updated by Nicolas CHARLES about 4 years ago

ok, now it fails because rudder-jetty cannot be restarted

INFO: rudder-server-relay setup complete.
  Installing : 1398866025:rudder-webapp-6.0.3.rc1.git202002180103-1.EL.7.x86_64                                                                                                                                                         16/32 
warning: /opt/rudder/etc/openldap/slapd.conf created as /opt/rudder/etc/openldap/slapd.conf.rpmnew
warning: /opt/rudder/etc/rudder-web.properties created as /opt/rudder/etc/rudder-web.properties.rpmnew
warning: user rudder-slapd does not exist - using root
warning: group rudder-slapd does not exist - using root
INFO: Creating groups ...INFO: Creating users ... 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.
Created symlink from /etc/systemd/system/multi-user.target.wants/rudder-slapd.service to /usr/lib/systemd/system/rudder-slapd.service.
Created symlink from /etc/systemd/system/rudder-server.service.requires/rudder-slapd.service to /usr/lib/systemd/system/rudder-slapd.service.
INFO: Restarting rudder-slapd... Done
enable /opt/rudder/share/plugins/scale-out-relay/scale-out-relay.jar
[]
Restarting jetty
 $ service rudder-jetty restart
Stopping Jetty: ERROR: no pid found at /var/rudder/run/rudder-jetty.pid
Setting umask to 0007
Starting Jetty: already running.
done
INFO: Launching script to check if a migration is needed ...
Done

Actions #9

Updated by Nicolas CHARLES about 4 years ago

  • Fix check changed from To do to Error - Blocking
Actions #10

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.0.4 to 6.0.3
Actions #11

Updated by Alexis Mousset about 4 years ago

  • Name check changed from To do to Reviewed
Actions #12

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.3 which was released today.

Actions

Also available in: Atom PDF