Project

General

Profile

Actions

Bug #15440

closed

Newer version of zypper changed the behaviour of the --quiet option which breaks zypper_pattern module

Added by Félix DALLIDET over 4 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

In our zypper* packages modules we always used the "--quiet" options in our commands.
BUT, since the newer versions of zypper it now truncate the good part of stdout on some commands like "zypper info".

Behaviour did not change for the command "zypper list-updates" which the only one that we parse in the "zypper" module.
We only need to change the "zypper_pattern" one to get rid of the --quiet options in at least the info command

Actions #1

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #2

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #3

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.15 to 5.0.16
Actions #4

Updated by Alexis Mousset about 4 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #5

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
Actions #6

Updated by Félix DALLIDET almost 4 years ago

  • Status changed from New to Resolved

Closing this issue since it has been fixed on the zypper side for future SLES/OpenSuse releases: https://github.com/openSUSE/zypper/issues/287
Also, we applied the workaround (not running the quiet option and change the matching part) in https://github.com/Normation/ncf/pull/1039/files.

Actions #7

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods - Package Management to Generic methods
Actions

Also available in: Atom PDF