Actions
Bug #17875
closedAfter migration to 6.1, apt_get fails because of missing `rudder` global parameters
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
32
Name check:
To do
Fix check:
To do
Regression:
Description
Hello
I update Rudder from version 6.0 to 6.1. But now I can't install package. When I run agent (agent install on know server or new agent on new server), it's encounter an error :
error: Invalid or missing arguments in package_module body 'apt_get': query_installed_ifelapsed = -678 query_updates_ifelapsed = -678 error: New package promise failed sanity check. error: Invalid or missing arguments in package_module body 'apt_get': query_installed_ifelapsed = -678 query_updates_ifelapsed = -678 error: New package promise failed sanity check. error: Invalid or missing arguments in package_module body 'apt_get': query_installed_ifelapsed = -678 query_updates_ifelapsed = -678 error: New package promise failed sanity check. error: Method 'ncf_package' failed in some repairs error: Method 'package_state_options' failed in some repairs E| error packageManagement Package sl Presence of package sl in latest available version could not be repaired E| n/a packageManagement Post-modification script sl No post-modification script was defined error: Method 'package_management_1_2_f2e6ec29_a761_4e1c_8939_f53545d0a400' failed in some repairs error: Method 'run_f2e6ec29_a761_4e1c_8939_f53545d0a400' failed in some repairs
So I create a new directive to install a package and rudder encounter the same error.
There the properties.json :
root@Mul ~ # cat /var/rudder/cfengine-community/inputs/properties.d/properties.json { "properties": { "rudder_file_edit_header": "### Managed by Rudder, edit with care ###" } }
Files
Actions