Project

General

Profile

Actions

Bug #9867

closed

Package management method says "Presence of package rudder-agent in latest available version was correct" but it's not

Added by Jérémy HOCDÉ almost 8 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:
Small
Priority:
0
Name check:
Fix check:
Regression:

Description

Hello,

I have a problem with Directive "Package management"
the agent says "Presence of package rudder-agent in latest available version was correct" but it's not
a newer version is available and don't seems to see it

  1. rudder agent update
    grep: : No such file or directory
    ok: Rudder agent promises were updated.
  1. rudder agent run
    grep: : No such file or directory
    grep: : No such file or directory
    Rudder agent 4.0.1-xenial0 (CFEngine Core 3.7.4)
    Node uuid: f166e10c-8dc4-4111-9978-1d2d42a0a899
    Start execution with config [20161228-135649-8566d05b]

M| State Technique Component Key Message
E| compliant Common Update Rudder policy, tools and ncf instance are already up to date. No action required.
E| compliant Common ncf Initialization The ncf initialization was correct
E| compliant Common Security parameters The internal environment security is acceptable
E| compliant Common Red Button Red Button is not in effect, continuing as normal...
E| n/a Common Process checking CFEngine proccesses check is done by the rudder-agent CRON job
E| compliant Common CRON Daemon Cron daemon status was correct
E| compliant Common Log system for reports Logging system for report centralization is already correctly configured
E| compliant Common Binaries update The CFEngine binaries in /var/rudder/cfengine-community/bin are up to date
E| compliant Inventory inventory Next inventory scheduled between 00:00 and 06:00
...
E| compliant packageManagement Package rudder-agent Presence of package rudder-agent in latest available version was correct
...
E| n/a packageManagement Post-modification script rudder-agent No post-modification script was set to run
...

  1. apt-cache policy rudder-agent
    rudder-agent:
    Installed: 4.0.1-xenial0
    Candidate: 4.0.2-xenial0
    Version table:
    4.0.2-xenial0 500
    500 http://mon.joli.depot.com rudder-4.0-xenial/main amd64 Packages *** 4.0.1-xenial0 100
    100 /var/lib/dpkg/status

amousset told me what is a cache into the agent, so I deleted cache files and try again
but it's the same

Do you have any idea ?

Actions #1

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from New to Discussion
  • Assignee set to Benoît PECCATTE

Alexis/Benoit/Nicolas Do you have more ideas about this ?

Actions #2

Updated by Benoît PECCATTE over 7 years ago

  • Found in version (s) 4.0.1 added
Actions #3

Updated by Benoît PECCATTE over 7 years ago

  • Found in version(s) old deleted (4.0.1)
Actions #4

Updated by Benoît PECCATTE over 7 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Getting started - demo | first install | level 1 Techniques
  • Priority set to 52
Actions #5

Updated by Alexis Mousset over 7 years ago

  • Project changed from Rudder to 41
  • Category changed from Techniques to Generic methods
  • Target version set to 1.0
  • Effort required set to Small
  • Priority changed from 52 to 60

Reproduced, this is a problem with the parsing of apt-get output by apt_get package module. Moving this ticket to ncf.

Actions #6

Updated by Alexis Mousset over 7 years ago

  • Status changed from Discussion to In progress
  • Assignee changed from Benoît PECCATTE to Alexis Mousset
Actions #7

Updated by Alexis Mousset over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ncf/pull/566
Actions #8

Updated by Alexis Mousset over 7 years ago

Inst tzdata [2016j-0+deb8u1] (2017a-0+deb8u1 Debian:stable-updates [all])
Inst rudder-agent [4.1.0~rc1-jessie0] (4.1.0-jessie0 release/4.1.0-2 jessie:jessie [amd64])

the problem comes from the "jessie:jessie" part which is expected by the package module to be separed by a comma.

Actions #9

Updated by Alexis Mousset over 7 years ago

  • Subject changed from Directive Package management says "Presence of package rudder-agent in latest available version was correct" but it's not to Package management method says "Presence of package rudder-agent in latest available version was correct" but it's not
Actions #11

Updated by Alexis Mousset over 7 years ago

  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
Actions #12

Updated by Alexis Mousset over 7 years ago

  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES
Actions #13

Updated by Anonymous over 7 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:d005aff3c15e497da82b4e1c2d0f9b9f9a92499e.

Actions #14

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from Pending release to Released
  • Priority changed from 60 to 63
Actions #15

Updated by Alexis Mousset over 2 years ago

  • Target version changed from 1.0 to ncf-1.0
  • Priority changed from 63 to 0
Actions #16

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF