Project

General

Profile

Actions

Bug #16952

closed

error at installation of openscap plugin

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

Status:
Released
Priority:
N/A
Target version:
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

Actions

Also available in: Atom PDF