Project

General

Profile

Actions

Bug #18694

closed

Bug #18645: Upgrading 6.2 nightly to 6.2 nightly with plugins fails

Rudder-pkg fails at upgrade when no newer version of a plugin are available

Added by Félix DALLIDET about 4 years ago. Updated about 4 years ago.

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

Description

it shows an error like so:

INFO: Launching script to check if a migration is needed ...
/opt/rudder/bin/rudder-upgrade: line 618: [: missing `]'
/opt/rudder/bin/rudder-upgrade: line 618: 0: command not found
Traceback (most recent call last):
  File "/opt/rudder/share/commands/package", line 124, in <module>
    rudderPkg.upgrade_all("release")
  File "/opt/rudder/share/python/rudder-pkg/rudderPkg.py", line 365, in upgrade_all
    if currentVersion < latestVersion:
UnboundLocalError: local variable 'latestVersion' referenced before assignment
Job for rudder-jetty.service failed because the control process exited with error code.
See "systemctl status rudder-jetty.service" and "journalctl -xe" for details.
Done

Actions #1

Updated by Félix DALLIDET about 4 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET about 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/3425
Actions #3

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.2.0 to 6.2.0~rc1
Actions #4

Updated by Félix DALLIDET about 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.2.0~rc1 which was released today.

Actions #6

Updated by François ARMAND about 4 years ago

  • Fix check changed from To do to Checked
Actions

Also available in: Atom PDF