Actions
Bug #16952
closederror at installation of openscap plugin
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
While trying to install openscap plugin, I got the following error
[root@server vagrant]# rudder package install-file /vagrant/plugins/rudder-plugin-openscap-policies-6.0-0.1.rpkg Installing /vagrant/plugins/rudder-plugin-openscap-policies-6.0-0.1.rpkg + PLUGIN_FULL_NAME=rudder-plugin-openscap-policies + PRETTY_NAME='OpenSCAP Policies' + CONFIGURATION_PATH=/var/rudder/packages/rudder-plugin-openscap-policies + SOURCE_DIR=/var/rudder/packages/rudder-plugin-openscap-policies/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' [master 39404fe] OpenSCAP Policies plugin installation 1 file changed, 6 insertions(+) create mode 100644 techniques/OpenSCAP_Policies_plugin/category.xml + /opt/rudder/bin/rudder-fix-repository-permissions INFO: Correcting permissions on /var/rudder/configuration-repository... Done + chmod +x /var/rudder/packages/rudder-plugin-openscap-policies/rudder_synchronize.py /var/rudder/packages/rudder-plugin-openscap-policies/remove_configuration + /var/rudder/packages/rudder-plugin-openscap-policies/rudder_synchronize.py import technique /var/rudder/packages/rudder-plugin-openscap-policies/techniques Traceback (most recent call last): File "/var/rudder/packages/rudder-plugin-openscap-policies/rudder_synchronize.py", line 28, in <module> from rudder import RudderEndPoint, RudderError ImportError: No module named rudder execution of '/var/rudder/packages/rudder-plugin-openscap-policies/postinst install' failed None None
Updated by Nicolas CHARLES over 4 years ago
I don't have the /usr/share/rudder-api-client/ folder
Updated by Nicolas CHARLES over 4 years ago
installing rudder-api-client solves the issue
Updated by Nicolas CHARLES over 4 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 4 years ago
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/252
Updated by Nicolas CHARLES over 4 years ago
- Status changed from In progress to Pending technical review
Updated by Nicolas CHARLES over 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|d6ae2e8ba4fc4d08f7b7f15d9cf4724949296b16.
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.0-1.0 to 6.1-1.0
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
Actions