Actions
Bug #21006
closedPlugin can not be installed in 7.0.2
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
It fails with the following error:
+ PLUGIN_NAME=openscap + PRETTY_NAME='OpenSCAP Policies' + CONFIGURATION_PATH=/opt/rudder/share/plugins/openscap + SOURCE_DIR=/opt/rudder/share/plugins/openscap/techniques + CONFIG_REPO=/var/rudder/configuration-repository + CATEGORY='OpenSCAP Policies plugin' ++ sed 's/[^a-zA-Z0-9_]/_/g' ++ echo OpenSCAP Policies plugin + C_CATEGORY=OpenSCAP_Policies_plugin + FOLDERS=techniques/OpenSCAP_Policies_plugin + mkdir -p /var/rudder/configuration-repository/techniques/OpenSCAP_Policies_plugin + cat + cd /var/rudder/configuration-repository + git reset + for file in $FOLDERS + git add techniques/OpenSCAP_Policies_plugin + git commit -m 'OpenSCAP Policies plugin installation' On branch master Untracked files: (use "git add <file>..." to include in what will be committed) run.log nothing added to commit but untracked files present (use "git add" to track) + /opt/rudder/bin/rudder-fix-repository-permissions INFO: Correcting permissions on /var/rudder/configuration-repository... Done + chmod +x /opt/rudder/share/plugins/openscap/remove_configuration + /opt/rudder/bin/rudder_synchronize.py import technique /opt/rudder/share/plugins/openscap/techniques Traceback (most recent call last): File "/opt/rudder/bin/rudder_synchronize.py", line 356, in <module> import_techniques(args['<path>']), File "/opt/rudder/bin/rudder_synchronize.py", line 267, in import_techniques import_technique(os.path.join(root, file)) File "/opt/rudder/bin/rudder_synchronize.py", line 180, in import_technique techniqueId = techniqueData["id"] KeyError: 'id' Command '/var/rudder/packages/rudder-plugin-openscap/postinst upgrade' returned a non-zero return code, 1.
Updated by Félix DALLIDET over 2 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET over 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/462
Updated by Félix DALLIDET over 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|7c7f225b21ef3e604d8bcef24242bd33b45fc668.
Updated by Vincent MEMBRÉ over 1 year ago
- Status changed from Pending release to Released
- Priority changed from 80 to 0
Actions