Project

General

Profile

Actions

Bug #3220

closed

Technique Rug / YaST Pakcage Manager Configuration (ZMD) : Rug could be unusable after a lot of request.

Added by Nicolas PERRON about 11 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
1
Assignee:
-
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When we are using rug with our Technique Rug / YaST Pakcage Manager Configuration (ZMD), we should check that no mono process is already running. Indeed, rug needs to run mono process to be synced with libzypp and if we don't wait the process to be done, all of them will accumulate and will result in a non functionnal rug.

Actions #1

Updated by Matthieu CERDA about 11 years ago

  • Target version changed from 2.3.10 to 2.3.11
Actions #2

Updated by Jonathan CLARKE about 11 years ago

  • Project changed from Rudder to 24
  • Category deleted (Techniques)
Actions #3

Updated by Matthieu CERDA about 11 years ago

  • Target version changed from 2.3.11 to 2.3.12
Actions #4

Updated by Nicolas PERRON almost 11 years ago

  • Status changed from New to Rejected

This bug lacks of informations about the context and it seems that we can't reproduce it. Unless we met again this bug, this is more appropriate to reject it.

Actions #5

Updated by Matthieu CERDA almost 11 years ago

  • Target version changed from 2.3.12 to 2.3.13
Actions #6

Updated by Nicolas PERRON over 10 years ago

  • Status changed from Rejected to New
  • Target version changed from 2.3.13 to 2.4.13

I'd like to reopen this bug since it's still present: ZMD is broken but any request from rug use ZMD. This behavior leads to an accumulation of CFEngine processes and no report in the WebUI.

In fact, what I have heard from SuSE is that there is no way to detect if ZMD is broken. If ZMD is broken, we need to:
- kill all rug and ZMD process
- launch /etc/init.d/novell-zmd stop
- launch /etc/init.d/novell-zmd start
- wait for ZMD to synchronize rug DB with libzypp

What was suggested to me was to use zypper instead of rug, because it does not use ZMD but directly libzypp. This bug concerns only SLES 10 which is no more supported.

Actions #7

Updated by Nicolas PERRON over 10 years ago

I wonder now if we should add to the management of Rug some promises to kill all mono processes and novell-zmd if too many mono processes are running.

The other solution seems to use zypper but it means to rework all package management. On SLES 10, it is possible to use the same configurations files for repositories than on SLES 11 but:
- it will require to use command line to add a repository:

zypper -n --gpg-no-checks sa -r /etc/zypp/repos.d/myRepository.conf

- the only way to know if a repository is already there is to add it from a file and expect to have a return code equal to 4

Zypper is very limited on SLES 10 but is far more reliable since no mono process is used.

Actions #8

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from New to Discussion
  • Assignee set to Nicolas PERRON

Nicolas PERRON wrote:

I wonder now if we should add to the management of Rug some promises to kill all mono processes and novell-zmd if too many mono processes are running.

That is rather easy to do, and seems like a quick win here.

The other solution seems to use zypper but it means to rework all package management. On SLES 10, it is possible to use the same configurations files for repositories than on SLES 11 but:
- it will require to use command line to add a repository: [...]
- the only way to know if a repository is already there is to add it from a file and expect to have a return code equal to 4

That sounds fine, we can get CFEngine to execute a command and set the result classes based on return codes. However, that will make the promises run slower, of course (each and every command run does). I'm not against it, but if it can be avoided by the above workaround, let's avoid it.

What do you think, Nicolas and Nicolas?

Actions #9

Updated by Nicolas PERRON over 10 years ago

  • Assignee changed from Nicolas PERRON to Jonathan CLARKE

Jonathan CLARKE wrote:

Nicolas PERRON wrote:

I wonder now if we should add to the management of Rug some promises to kill all mono processes and novell-zmd if too many mono processes are running.

That is rather easy to do, and seems like a quick win here.

I prefered to do so, but I fear that it might definitively corrupt packages Databases if it is made too often. A Novell Guy advise me to use zypper instead.

The other solution seems to use zypper but it means to rework all package management. On SLES 10, it is possible to use the same configurations files for repositories than on SLES 11 but:
- it will require to use command line to add a repository: [...]
- the only way to know if a repository is already there is to add it from a file and expect to have a return code equal to 4

That sounds fine, we can get CFEngine to execute a command and set the result classes based on return codes. However, that will make the promises run slower, of course (each and every command run does). I'm not against it, but if it can be avoided by the above workaround, let's avoid it.

What do you think, Nicolas and Nicolas?

After a discussion with a Novell guy, it seems that zypper on SLES 10 SP3 is very limited and buggy and it is not possible to automatically accept choice. He recommended me to upgrade zypper like on this repository: http://download.opensuse.org/repositories/zypp:/zc10/SLE_10_SP3/ .
The problem is that upgrading to another version of zypper will not provide dependencies for ZMD then ZMD is removed and Rug is not more usable.

Actions #10

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.4.13 to 2.6.11

Retargeting to 2.6 since 2.4 is not maintained anymore

Actions #11

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.6.11 to 2.6.12
Actions #12

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.6.12 to 2.6.13
Actions #13

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.6.13 to 2.6.14
Actions #14

Updated by Jonathan CLARKE almost 10 years ago

  • Target version changed from 2.6.14 to 2.6.16
Actions #15

Updated by Jonathan CLARKE almost 10 years ago

  • Target version changed from 2.6.16 to 2.6.17
Actions #16

Updated by Nicolas PERRON over 9 years ago

  • Target version changed from 2.6.17 to 2.6.18
Actions #17

Updated by Matthieu CERDA over 9 years ago

  • Target version changed from 2.6.18 to 2.6.19
Actions #18

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.6.19 to 2.6.20
Actions #19

Updated by François ARMAND about 9 years ago

  • Assignee deleted (Jonathan CLARKE)
  • Target version changed from 2.6.20 to 2.10.10
Actions #20

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.10 to 2.10.11
Actions #21

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.11 to 2.10.12
Actions #22

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 24 to Rudder
  • Category set to Techniques
Actions #23

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.12 to 2.10.13
Actions #24

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.13 to 2.10.14
Actions #25

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.10.14 to 2.10.15
Actions #26

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.10.15 to 2.10.16
Actions #27

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.16 to 2.10.17
Actions #28

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.17 to 2.10.18
Actions #29

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.18 to 2.10.19
Actions #30

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.19 to 2.10.20
Actions #31

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.20 to 2.11.18
Actions #32

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #33

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #34

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #35

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #36

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #37

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #38

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 2.11.24 to 308
Actions #39

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 308 to 3.1.14
Actions #40

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #41

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #42

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #43

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #44

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #45

Updated by François ARMAND about 7 years ago

  • Status changed from Discussion to Rejected

This is not supported anymore \o/ \o/ \o/

Actions

Also available in: Atom PDF