Bug #3220
closedTechnique Rug / YaST Pakcage Manager Configuration (ZMD) : Rug could be unusable after a lot of request.
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.
Updated by Matthieu CERDA almost 12 years ago
- Target version changed from 2.3.10 to 2.3.11
Updated by Jonathan CLARKE almost 12 years ago
- Project changed from Rudder to 24
- Category deleted (
Techniques)
Updated by Matthieu CERDA over 11 years ago
- Target version changed from 2.3.11 to 2.3.12
Updated by Nicolas PERRON over 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.
Updated by Matthieu CERDA over 11 years ago
- Target version changed from 2.3.12 to 2.3.13
Updated by Nicolas PERRON almost 11 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.
Updated by Nicolas PERRON almost 11 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.
Updated by Jonathan CLARKE almost 11 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?
Updated by Nicolas PERRON almost 11 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 4That 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.
Updated by Vincent MEMBRÉ almost 11 years ago
- Target version changed from 2.4.13 to 2.6.11
Retargeting to 2.6 since 2.4 is not maintained anymore
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.6.11 to 2.6.12
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.6.12 to 2.6.13
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.6.13 to 2.6.14
Updated by Jonathan CLARKE over 10 years ago
- Target version changed from 2.6.14 to 2.6.16
Updated by Jonathan CLARKE over 10 years ago
- Target version changed from 2.6.16 to 2.6.17
Updated by Nicolas PERRON over 10 years ago
- Target version changed from 2.6.17 to 2.6.18
Updated by Matthieu CERDA about 10 years ago
- Target version changed from 2.6.18 to 2.6.19
Updated by Vincent MEMBRÉ about 10 years ago
- Target version changed from 2.6.19 to 2.6.20
Updated by François ARMAND almost 10 years ago
- Assignee deleted (
Jonathan CLARKE) - Target version changed from 2.6.20 to 2.10.10
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.10 to 2.10.11
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.11 to 2.10.12
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 24 to Rudder
- Category set to Techniques
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.12 to 2.10.13
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.13 to 2.10.14
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.14 to 2.10.15
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.15 to 2.10.16
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.16 to 2.10.17
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.17 to 2.10.18
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.18 to 2.10.19
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.19 to 2.10.20
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.10.20 to 2.11.18
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.11.18 to 2.11.19
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.19 to 2.11.20
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.20 to 2.11.21
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.21 to 2.11.22
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.22 to 2.11.23
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.23 to 2.11.24
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 2.11.24 to 308
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 308 to 3.1.14
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.14 to 3.1.15
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.15 to 3.1.16
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.16 to 3.1.17
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.17 to 3.1.18
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.18 to 3.1.19
Updated by François ARMAND over 7 years ago
- Status changed from Discussion to Rejected
This is not supported anymore \o/ \o/ \o/