Project

General

Profile

Actions

Bug #18017

closed

Package methods should have a specific message when the package manager completly fails to run

Added by Félix DALLIDET almost 4 years ago. Updated about 1 year ago.

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

Description

I had a minimal centos8, without any python installed, the yum module failed, but I expected rudder to return a better error message:

If you tried to install a virtual package, please use in place the concrete package you want to install.
Presence of package nginx in any version could not be repaired

When the module fails to even call its API:

E| compliant     Inventory                 inventory                                    Next inventory scheduled between 00:00 and 06:00
/var/rudder/cfengine-community/modules/packages/yum: line 10: exec: python2: not found
2020-07-21T11:06:49+00:00 rudder     info: Error occurred while getting supported API version.
2020-07-21T11:06:49+00:00    error: unsupported package module wrapper API version: -1
2020-07-21T11:06:49+00:00    error: Some error occurred while contacting package module - promise: nginx
2020-07-21T11:06:49+00:00    error: Method 'ncf_package' failed in some repairs

Actions #1

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.0.8 to 6.0.9
Actions #2

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.0.9 to 6.0.10
Actions #3

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.0.10 to 798
Actions #4

Updated by Benoît PECCATTE almost 3 years ago

  • Target version changed from 798 to 6.1.14
Actions #5

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #6

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #7

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #8

Updated by Benoît PECCATTE over 2 years ago

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

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #10

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #11

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #12

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #13

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #14

Updated by Nicolas CHARLES over 1 year ago

  • Regression set to No

it would be great to have a message saying: you dn't have python, you can't manage packages with Rudder

Actions #15

Updated by Benoît PECCATTE about 1 year ago

  • Status changed from New to Rejected

We know depend on python at install time so this should not happen anymore

Actions

Also available in: Atom PDF