Project

General

Profile

Bug #7141

Rudder agent simulates an aptitude full-upgrade during each run

Added by Francois BAYART over 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
2
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

I have run a "rudder agent run" to test some changes, on my slowly nodes I can observe the rudder(cfengine) steps easily and I'm surprised to see "/usr/bin/aptitude --assume-yes --simulate --verbose full-upgrade" in begin of run.

2 observations:
- why simulate a full-upgrade at each run, it's very time consumption
- is-it possible to use apt-get and not aptitude ? On my system aptitude don't work (my /var/lib/aptitude/ is daily purged)

ncharles talk about fetching the list of patches from the cfengine stdlib

Is it possible to remove this ?

#1

Updated by Nicolas CHARLES over 5 years ago

  • Category changed from Agent to Documentation
  • Priority changed from N/A to 2
  • Target version set to 2.11.14

this is something that comes from the cfengine standart librairy (i know that is not a good reason)
Aptitude is used by defaut if you have /usr/bin/aptitude binary on the system

For the full upgrade, it is to get the list of patches, which is surely non relevant... we should remove it fro mdefaut implementation

#2

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.11.14 to 2.11.15
#3

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.11.15 to 2.11.16
#4

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.11.16 to 2.11.17
#5

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.11.17 to 2.11.18
#6

Updated by Nicolas CHARLES about 5 years ago

  • Category changed from Documentation to System techniques
#7

Updated by Nicolas CHARLES about 5 years ago

  • Tracker changed from Question to Bug
  • Subject changed from aptitude full-upgrade to aptitude full-upgrade on agent
  • Status changed from New to Pending technical review
  • Assignee set to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/823
#8

Updated by Nicolas CHARLES about 5 years ago

  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE
#9

Updated by Nicolas CHARLES about 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
#11

Updated by Alexis MOUSSET about 5 years ago

  • Subject changed from aptitude full-upgrade on agent to Rudder agent simulates an aptitude full-upgrade during each run
#12

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.18, 3.0.13, 3.1.6 and 3.2.0 which were released today.

Also available in: Atom PDF