Project

General

Profile

Actions

Bug #18645

closed

Upgrading 6.2 nightly to 6.2 nightly with plugins fails

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

Status:
Released
Priority:
3
Category:
Plugins integration
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
22
Name check:
To do
Fix check:
Checked
Regression:

Description

I have branding and user management, and got the following error

INFO: Launching script to check if a migration is needed ...
Traceback (most recent call last):
  File "/opt/rudder/share/commands/package", line 123, in <module>
    rudderPkg.upgrade_all("release", args['--quiet'])
  File "/opt/rudder/share/python/rudder-pkg/rudderPkg.py", line 356, in upgrade_all
    latestVersion = pkgs.getLatestCompatibleRelease().version
AttributeError: 'NoneType' object has no attribute 'version'
Done
********************************************************************************
Due to incompatibility reasons for this specific version all plugins have been
disabled. Make sure to update your repo index and install the latest version of
your plugins before re-enabling them.

You can use the following commands to upgrade your plugins:
rudder package update
rudder package upgrade-all

I suspect it's because they are not available onthe repo, but i'm unsure of this hypothesis


Subtasks 1 (0 open1 closed)

Bug #18694: Rudder-pkg fails at upgrade when no newer version of a plugin are availableReleasedVincent MEMBRÉActions
Actions #1

Updated by Vincent MEMBRÉ about 4 years ago

Yes it's because of this

Actions #2

Updated by François ARMAND about 4 years ago

  • Priority changed from N/A to 1 (highest)
Actions #3

Updated by Vincent MEMBRÉ about 4 years ago

  • Priority changed from 1 (highest) to 3
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Infrequent - complex configurations | third party integrations
  • Priority changed from 0 to 22
Actions #4

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #5

Updated by Vincent MEMBRÉ about 4 years ago

  • Assignee changed from Vincent MEMBRÉ to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/rudder/pull/3405
Actions #6

Updated by Vincent MEMBRÉ about 4 years ago

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

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 #8

Updated by Vincent MEMBRÉ about 4 years ago

  • Fix check changed from To do to Checked
Actions

Also available in: Atom PDF