Project

General

Profile

Actions

Bug #17875

closed

After migration to 6.1, apt_get fails because of missing `rudder` global parameters

Added by Anonymous over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
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


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #17893: After migration standard technique packageManagement doesn't work anymoreRejectedActions
Related to Rudder - Bug #17873: SLES12 upgrade error 6.0 to 6.1ReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF