Actions
Bug #18017
closedPackage methods should have a specific message when the package manager completly fails to run
Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Pull Request:
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