Project

General

Profile

Actions

Bug #22688

closed

Error at upgrade from 7.2 to 7.3

Added by Nicolas CHARLES 12 months ago. Updated 10 months 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:
No

Description

INFO: An update of Techniques is needed and has been scheduled at next webapp startup.
+ 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
Unstaged changes after reset:
M    directives/Demo/install_cchoco_module_for_windows__copy_/activeTechniqueSettings.xml
+ for file in $FOLDERS
+ git add techniques/OpenSCAP_Policies_plugin
+ git commit -m 'OpenSCAP Policies plugin installation'
On branch master
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
    modified:   directives/Demo/install_cchoco_module_for_windows__copy_/activeTechniqueSettings.xml

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    campaigns/
    run.log
    shared-files/__MACOSX/
    shared-files/agent-hello
    shared-files/company-website.zip
    shared-files/fake-website/
    shared-files/fake-website1/
    shared-files/fake-website2/
    shared-files/packages/
    shared-files/rootshell/
    workspace/

no changes added to commit (use "git add" and/or "git commit -a")
Command '/var/rudder/packages/rudder-plugin-openscap/postinst upgrade' returned a non-zero return code, 1.

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #23224: rudder package doesn't upgrade openscap, and it brings a lot of chaosReleasedFélix DALLIDETActions
Actions #1

Updated by Nicolas CHARLES 12 months ago

it's even worse than that: openscap is disabled from being upgradable

Actions #2

Updated by Alexis Mousset 12 months ago

  • Subject changed from error at upgrde from 7.2 to 7.3 to Error at upgrade from 7.2 to 7.3
Actions #3

Updated by Nicolas CHARLES 11 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #4

Updated by Nicolas CHARLES 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/569
Actions #5

Updated by Nicolas CHARLES 10 months ago

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

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder plugin openscap v7.3.3-2.1

Actions #7

Updated by Nicolas CHARLES 9 months ago

  • Related to Bug #23224: rudder package doesn't upgrade openscap, and it brings a lot of chaos added
Actions

Also available in: Atom PDF