Project

General

Profile

Actions

Bug #7606

closed

agent needs a timeout on zypper list-updates

Added by Florian Heigl almost 9 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Techniques
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:
58
Name check:
Fix check:
Regression:

Description

Poor thing is stuck on an unsigned repo.
AFAIK this is run without timeout? The result is that it will be stuck, badly.

@root@rudderc4 /data/admins/flo # /opt/rudder/bin/cf-agent -KI | grep -i pl1
2015-12-14T00:02:36+0100 info: /default/check_sudo_parameters/methods/'any'/default/check_sudo_installation/packages/'sudo'[0]: Q: zypper list-updates ...:File '/repodata/repomd.xml' not found on medium 'http://192.168.10.53/pulp/repos/sles11.3-os-pl1'

2015-12-14T00:04:49+0100 info: /default/check_sudo_parameters/methods/'any'/default/check_sudo_installation/packages/'sudo'[0]: Q: zypper list-updates ...:Abort, retry, ignore? [a/r/i/? shows all options] (a): Problem retrieving files from 'SLES11 SP3 PL1'.
2015-12-14T00:04:49+0100 info: /default/check_sudo_parameters/methods/'any'/default/check_sudo_installation/packages/'sudo'[0]: Q: zypper list-updates ...:File '/repodata/repomd.xml' not found on medium 'http://192.168.10.53/pulp/repos/sles11.3-os-pl1'
2015-12-14T00:04:49+0100 info: /default/check_sudo_parameters/methods/'any'/default/check_sudo_installation/packages/'sudo'[0]: Q: zypper list-updates ...:Warning: Disabling repository 'SLES11 SP3 PL1' because of the above error.

@

The nasty part is this way, even if you have a policy to delete the problematic repo, the agent seems to never reach it.
This one (demo) is stuck for over 10 minutes already.
It absolutely makes sense to allow "no timeout" for software installs, but for metadata fetch it's a bit of overkill. I think 15 seconds would be enough, this system has 8 repos assigned, so a maximum timeout could be under 5 minutes with this change.

Actions #1

Updated by Benoît PECCATTE over 8 years ago

  • Category set to Techniques
  • Target version set to 2.11.21
Actions #2

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #3

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #4

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #5

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.24 to 308
Actions #6

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 308 to 3.1.14
Actions #7

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #8

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #9

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #10

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #11

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #12

Updated by Jonathan CLARKE 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
Actions #13

Updated by Benoît PECCATTE over 7 years ago

  • Priority set to 45
Actions #14

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #15

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #16

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #17

Updated by Benoît PECCATTE over 7 years ago

  • Priority changed from 45 to 58
Actions #18

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #19

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #20

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #21

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 3.1.25 to 387
Actions #22

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 387 to 4.1.10
Actions #23

Updated by Benoît PECCATTE almost 7 years ago

  • Status changed from New to Rejected

There is now a global timeout (very long).
But more important, there is no more any question asked by zypper which would block the update.

Actions

Also available in: Atom PDF