Project

General

Profile

Actions

Bug #11207

closed

Broken empty options handling in apt module on some distros

Added by Dmitry Svyatogorov over 7 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Package install through 'Packages' technique always fails on ubuntu. The debug below shows "repo-install" operation instead of "install".
Rudder server Rudder 4.1.5.

# rudder agent version
Rudder agent 4.1.5-trusty0 (CFEngine Core 3.10.0)

# rudder agent run -d
…
rudder    debug: cf_pwait - Waiting for process 19433
rudder    debug: Received empty packages list after requesting: list-updates
rudder    debug: Installing package 'zookeeperd'
rudder    debug: Installing repo type package: 'Name=zookeeperd
Version=3.4.5+dfsg-1
'
rudder    debug: Sending install command to package module: 'options=
Name=zookeeperd
Version=3.4.5+dfsg-1
'
rudder    debug: Opened fds 7 and 10 for command '/var/rudder/cfengine-community/modules/packages/apt_get repo-install'.
rudder    debug: cf_pwait - Waiting for process 19467
rudder  verbose: Command '/var/rudder/cfengine-community/modules/packages/apt_get repo-install' returned with non zero return code: 100
rudder     info: Some error occurred while communicating with package module while installing package.
rudder    debug: Evaluating present action promise status: f
   error: Error installing package 'zookeeperd'
…

Files

debug.log (6.24 MB) debug.log Dmitry Svyatogorov, 2017-08-10 17:43
packageManagement.cf (6.65 KB) packageManagement.cf Dmitry Svyatogorov, 2017-08-10 17:44

Related issues 1 (0 open1 closed)

Related to Rudder - User story #10388: Add a generic method that handles using options in package actionsReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF