Project

General

Profile

Actions

Bug #16694

closed

SNMP installation uses deprecated package method, and it reports an error even though it works

Added by Nicolas CHARLES almost 5 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
43
Name check:
To do
Fix check:
Checked
Regression:

Description

   error: Package 'net-snmp' cannot be updated -- no match or not installed
rudder     info: Installing net-snmp...
   info          snmp                      None                      net-snmp           Verify that package net-snmp is installed and up-to-date could not be repaired
   error: Method 'package_install_version_cmp_update' failed in some repairs
   info          snmp                      None                      net-snmp           Install package net-snmp version == latest could not be repaired
   error: Method 'package_install_version_cmp' failed in some repairs
   info          snmp                      None                      net-snmp           Install package net-snmp version latest could not be repaired
   error: Method 'package_install_version' failed in some repairs
   info          snmp                      None                      net-snmp           Install package net-snmp could not be repaired
   error: Method 'package_install' failed in some repairs
E| error         SNMP installation         SNMP installation                            Installation of the SNMP agent package could not be repaired

we should use current package methods for that

It does install the package, and next runs show a compliant state


Subtasks 1 (0 open1 closed)

Bug #20968: package_present takes 4 arguments - parent ticket broke policy generationReleasedAlexis MoussetActions
Actions #1

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #2

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
Actions #3

Updated by François ARMAND over 4 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 48
Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.18 to 5.0.19
Actions #5

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.19 to 5.0.20
  • Priority changed from 48 to 47
Actions #6

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.20 to 797
  • Priority changed from 47 to 46
Actions #7

Updated by Benoît PECCATTE over 3 years ago

  • Target version changed from 797 to 6.1.14
  • Priority changed from 46 to 43
Actions #8

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #9

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #10

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #11

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #12

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #13

Updated by Alexis Mousset almost 3 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #14

Updated by Alexis Mousset almost 3 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/rudder-techniques/pull/1745
Actions #15

Updated by Alexis Mousset almost 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #16

Updated by Nicolas CHARLES over 2 years ago

  • Fix check changed from To do to Error - Blocking
Actions #17

Updated by Vincent MEMBRÉ over 2 years ago

  • Fix check changed from Error - Blocking to Checked
Actions #18

Updated by Vincent MEMBRÉ over 2 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.19, 6.2.13, 7.0.2 and 7.1.0~rc1 which were released today.

Actions

Also available in: Atom PDF