Bug 185206 - zmd drops services too early / does not revive dropped services
Summary: zmd drops services too early / does not revive dropped services
Status: VERIFIED FIXED
: 156995 190307 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Zenworks (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: James Willcox
QA Contact: Mauro Parra Miranda
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 08:29 UTC by Marcus Meissner
Modified: 2006-07-10 04:32 UTC (History)
8 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
zmd-messages.log (2.78 KB, text/plain)
2006-06-15 08:30 UTC, Marcus Meissner
Details
zmd-messages.log.2006-06-14 (3.28 KB, text/plain)
2006-06-15 08:31 UTC, Marcus Meissner
Details
zmd-backend.log (652.14 KB, text/plain)
2006-06-15 08:33 UTC, Marcus Meissner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meissner 2006-06-15 08:29:34 UTC
zmd (at the 10.1 + updated package manager stack) level drops my ZYPP update
sources.

What I do:
- boot laptop. network is down
- login to KDE
- zmd tries to refresh the update / zypp sources
  - this fails because it cannot resolve any host, including my uzpdate host.
- zmd sees the zypp exception and marks the source as bad
- network goes up (after I tell network manager to connect)
- zmd refreshes it every hour, but never calls the zypp backend helpers, it 
  just seems to remember it was bad once and never ever tries to start the
  refresh helper again

Logfiles attached.
Comment 1 Marcus Meissner 2006-06-15 08:30:29 UTC
Created attachment 89539 [details]
zmd-messages.log

zmd-messages.log
Comment 2 Marcus Meissner 2006-06-15 08:31:27 UTC
Created attachment 89540 [details]
zmd-messages.log.2006-06-14

zmd-messages.log.2006-06-14

here are the interesting parts... see the hourly refreshes... but there is nothing in the backend log
for 21:36 and 22:36!
Comment 3 Marcus Meissner 2006-06-15 08:33:00 UTC
Created attachment 89541 [details]
zmd-backend.log
Comment 4 Marcus Meissner 2006-06-15 08:37:13 UTC
this will likely happen on any Laptop and 10.1 and likely also SLED 10,
since NetworkManager + bringing up the Network post-login is default there.
Comment 5 Marcus Meissner 2006-06-15 08:50:13 UTC
LANG=C rug sl
--- No services found ---
Comment 6 Marcus Meissner 2006-06-15 09:21:34 UTC
perhaps ftp-1.gwdg.de was also not reachable yesterday evening. (it is not reachable as of 12 hours later, but I did not check yesterday).

neithertheless the service should still tbe there and only marked as Inactive, if at all.
Comment 7 Tom Tom 2006-06-15 14:06:14 UTC
There is no such word  "neitherthless". I guess you want to say "nevertheless= in spite of that; however". 
Comment 8 Joe Shaw 2006-06-15 16:33:11 UTC
Bug 156995 is almost certainly a dup of this one.
Comment 9 James Willcox 2006-06-15 17:11:41 UTC
The zmd log indicates that the parse-metadata helper is exiting due to SIGIOT (whatever that is).  So zmd is trying to refresh it, but zypp is having some sort of problem.  -> Klaus
Comment 10 Tambet Ingo 2006-06-15 17:17:29 UTC
*** Bug 156995 has been marked as a duplicate of this bug. ***
Comment 11 Joe Shaw 2006-06-15 17:23:48 UTC
See bug 183131 for info about the SIGIOT error message; it's an erroneous message caused by the helpers returning a negative value.
Comment 12 Marcus Meissner 2006-06-15 19:06:47 UTC
It is not a zypp problem I think.

I straced zmd and it never starts parse-metadata after the first failed 
attempt.

I think the ServiceManager never removes it from the busyServices hash
for some reason.
Comment 13 Klaus Kämpf 2006-06-16 08:20:07 UTC
The current version of libzypp-zmd-backend (rev 3635) adresses exactly the issue mentioned in the original comment and bug 183131.
If a refresh is not possible, its logged as a warning to ZMD but operation continues with unrefreshed sources.

Reassigning to ZMD because of comment #12 (ZMD never starts parse-metadata after the first failed attempt.)
Comment 14 James Willcox 2006-06-16 14:31:55 UTC
Fixed in svn (r30550).  ZMD was accidentally caching the result of the last parse-metadata run, which is why it wasn't running parse-metadata again (and explains why the logs seem to indicate that it did).
Comment 15 Nat Budin 2006-06-16 18:29:59 UTC
Verified fix with maw's 20060516 build.
Comment 16 Alberto Passalacqua 2006-06-17 17:44:37 UTC
Can users get the patch somewhere?

Thanks in advance
Comment 17 Marcus Meissner 2006-06-19 09:40:16 UTC
will be released as roll-up update for 10.1 at some later time ... just like the first zypp patch.
Comment 18 Marcus Meissner 2006-07-05 06:59:41 UTC
*** Bug 190307 has been marked as a duplicate of this bug. ***
Comment 19 Michael Meeks 2006-07-07 14:48:33 UTC
Are we certain this is fixed ? cf. unhappy journalist at:
    http://osnews.com/story.php?news_id=15103
Comment 20 Marcus Meissner 2006-07-07 14:55:22 UTC
he appears pretty confused in his article, mind.
Comment 21 Alberto Passalacqua 2006-07-07 21:37:25 UTC
The article refers to SLED, but he bug is still in SuSE 10.1 and no patch has been released (at least Zen didn't tell me). Is the patch coming?
Comment 22 Marcus Meissner 2006-07-07 21:46:40 UTC
we are still preparing this update for 10.1

a test repo is online, ftp://ftp.suse.com/pub/people/aj//10.1-packagemanagement-update-test/
Comment 23 Alberto Passalacqua 2006-07-08 15:03:08 UTC
Thank you! I'm installing it on my notebook.