Bug #11064
closed
if plugin is broken, we cannot upgrade it
Added by Nicolas CHARLES over 7 years ago.
Updated over 7 years ago.
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'
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'
- Target version set to 362
- Assignee set to Alexis Mousset
- 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.
- Target version set to 4.1.6
- Status changed from New to In progress
- 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
- Status changed from Pending technical review to Pending release
- 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.
Also available in: Atom
PDF