Project

General

Profile

Actions

Bug #7141

closed

Rudder agent simulates an aptitude full-upgrade during each run

Added by Francois BAYART over 9 years ago. Updated almost 9 years ago.

Status:
Released
Priority:
2
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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 ?

Actions #1

Updated by Nicolas CHARLES over 9 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

Actions #2

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.14 to 2.11.15
Actions #3

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.15 to 2.11.16
Actions #4

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.16 to 2.11.17
Actions #5

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.17 to 2.11.18
Actions #6

Updated by Nicolas CHARLES about 9 years ago

  • Category changed from Documentation to System techniques
Actions #7

Updated by Nicolas CHARLES about 9 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
Actions #8

Updated by Nicolas CHARLES almost 9 years ago

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

Updated by Nicolas CHARLES almost 9 years ago

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

Updated by Alexis Mousset almost 9 years ago

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

Updated by Vincent MEMBRÉ almost 9 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.

Actions

Also available in: Atom PDF