Project

General

Profile

Actions

Bug #11064

closed

if plugin is broken, we cannot upgrade it

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

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

Description

if dsc technique disapeared, like because of upgrade of rudder, plugin cannot be upgraded anymore

The package is already installed, I will upgrade it.
Traceback (most recent call last):
  File "/opt/rudder/bin/rudder-pkg", line 326, in <module>
    install_file(args['<package.rpkg>'])
  File "/opt/rudder/bin/rudder-pkg", line 241, in install_file
    install(metadata, package_file, exist)
  File "/opt/rudder/bin/rudder-pkg", line 216, in install
    remove_files(DB['plugins'][metadata['name']])
  File "/opt/rudder/bin/rudder-pkg", line 211, in remove_files
    os.remove(filename)
OSError: [Errno 2] No such file or directory: '/var/rudder/configuration-repository/dsc/rudder-directives.ps1'

Actions #1

Updated by Nicolas CHARLES over 7 years ago

even removing it fail

/opt/rudder/bin/rudder-pkg remove rudder-plugin-dsc
Traceback (most recent call last):
  File "/opt/rudder/bin/rudder-pkg", line 330, in <module>
    remove(args['<package>'])
  File "/opt/rudder/bin/rudder-pkg", line 262, in remove
    remove_files(metadata)
  File "/opt/rudder/bin/rudder-pkg", line 211, in remove_files
    os.remove(filename)
OSError: [Errno 2] No such file or directory: '/var/rudder/configuration-repository/dsc/policy.psm1'

Actions #2

Updated by François ARMAND over 7 years ago

  • Target version set to 362
Actions #3

Updated by François ARMAND over 7 years ago

  • Assignee set to Alexis Mousset
Actions #4

Updated by Alexis Mousset over 7 years ago

  • Project changed from 52 to Rudder
  • Category changed from 79 to Packaging
  • Target version deleted (362)

This is a bug in rudder-pkg, moving to rudder-packages.

Actions #5

Updated by Alexis Mousset over 7 years ago

  • Target version set to 4.1.6
Actions #6

Updated by Alexis Mousset over 7 years ago

  • Status changed from New to In progress
Actions #7

Updated by Alexis Mousset over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1368
Actions #8

Updated by Alexis Mousset over 7 years ago

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

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.6 and 4.2.0~beta3 which were released today.

Actions

Also available in: Atom PDF