Bug 189248 - ZMD can't refresh services (unable to parse XML Metadata) zen lose my catalogs and services when he's unconnected from Internet
Summary: ZMD can't refresh services (unable to parse XML Metadata) zen lose my catalog...
Status: VERIFIED FIXED
: 186900 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Zenworks (show other bugs)
Version: Final
Hardware: i686 SuSE Linux 10.1
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Duncan Mac-Vicar
QA Contact: Jawaad Tariq
URL:
Whiteboard:
Keywords:
Depends on: 159974 188133
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-29 09:02 UTC by Jean-Jacques MOULINET
Modified: 2006-10-11 23:13 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Jacques MOULINET 2006-06-29 09:02:56 UTC
Hello,

I have done all recent updates concerning Zenworks, but i still have a problem...

When my laptop is unconnected from the network, sometimes, ZMD try to refresh services (dvd and update server) but can't and zmd-messages.log return me this error : "Failed to had service... failed to parse XML metadata : Unknown failure"

So all my services (including dvd) have "Inactive Status" et i have no more catalogs available...

The next time my computer is connected to the network after this, services and catalogs still broken, i must manually restart zmd (rug restart) to reactivate them...
Comment 1 Naresh Wignarajah 2006-06-29 21:15:00 UTC
I believe this is a duplicate assigning to James to review.
Comment 2 James Oakley 2006-06-30 15:28:33 UTC
I'm having the same problem with the following differences:

- There is a permanent network connection

- Restarting zmd has no effect

My zmd-messages contains the following:

30 Jun 2006 12:20:53 INFO  UnixWebServer        Unix server stopped
30 Jun 2006 12:20:53 WARN  ShutdownManager      Restarting daemon...
30 Jun 2006 12:20:53 INFO  Daemon               Starting ZMD version 7.1.1
30 Jun 2006 12:20:53 INFO  Daemon               Using Mono 1.1.13.8
30 Jun 2006 12:20:53 INFO  WebCache             Expiring cached files...
30 Jun 2006 12:20:53 INFO  KeyManager           Loading key whitelist
30 Jun 2006 12:20:54 INFO  Daemon               Loading trusted certificates...
30 Jun 2006 12:20:54 WARN  NetworkManagerModule Failed to connect to NetworkManager
30 Jun 2006 12:20:54 INFO  ModuleLoader         Loaded 'NetworkManager' - 'NetworkManager support'
30 Jun 2006 12:20:54 INFO  ModuleLoader         Loaded 'Package Management' - 'Package Management module for Linux'
30 Jun 2006 12:20:54 INFO  ModuleLoader         Loaded 'ZENworks Server' - 'SOAP methods used by a ZENworks server'
30 Jun 2006 12:20:54 INFO  ModuleLoader         Loaded 'XML-RPC interface' - 'Export ZMD public interfaces over XML-RPC'
30 Jun 2006 12:20:54 INFO  ServiceManager       Mounting Initial Services
30 Jun 2006 12:20:54 INFO  ServiceManager       Adding service (keeping if fail): http://ftp.ale.org/pub/suse/update/10.1
30 Jun 2006 12:20:54 INFO  ServiceManager       Adding service (keeping if fail): ftp://sipbuild.solutioninc.com/pub/suse/10.1/
30 Jun 2006 12:20:54 INFO  ServiceManager       Adding service (keeping if fail): http://software.opensuse.org/download/home:/jimfunk/SUSE-10.1/
30 Jun 2006 12:20:54 WARN  Daemon               Not starting remote web server
30 Jun 2006 12:20:54 INFO  UnixWebServer        Unix server listening for connections.
30 Jun 2006 12:20:54 INFO  DaemonHealth         Current RSS size is 18148 KB
30 Jun 2006 12:20:54 INFO  ServiceManager       Failed to add service 'ftp://sipbuild.solutioninc.com/pub/suse/10.1/' (keeping): Failed to parse XML metadata: Unknown failure
30 Jun 2006 12:20:54 INFO  WebCache             Expiring cached files...
30 Jun 2006 12:20:54 ERROR ServiceManager       Service Refresh Failed: Failed to parse XML metadata: Unknown failure
30 Jun 2006 12:20:55 INFO  ServiceManager       Failed to add service 'http://software.opensuse.org/download/home:/jimfunk/SUSE-10.1/' (keeping): Failed to parse XML metadata: Unknown failure
30 Jun 2006 12:20:56 INFO  ServiceManager       Failed to add service 'http://ftp.ale.org/pub/suse/update/10.1' (keeping): Failed to parse XML metadata: Unknown failure
Comment 3 Naresh Wignarajah 2006-06-30 17:27:28 UTC
James.  Related to bug #184813?
Comment 4 Jean-Jacques MOULINET 2006-07-03 07:57:51 UTC
(In reply to comment #3)
> James.  Related to bug #184813?

I also think, but it would be better if the "dvd" support should remain available even out-connection  ??? would'nt it ???
Comment 5 James Oakley 2006-07-04 11:38:38 UTC
(In reply to comment #3)
> James.  Related to bug #184813?
> 

The machine in question has a permanent link with a static IP, so there is no 'disconnection'. The refreshes failed, even after rczmd restart and even though I could curl the urls.

So, once I got back here after the weekend zmd had deleted the sources:

30 Jun 2006 13:50:54 INFO  ServiceManager       Attempting to retry service 'ftp://sipbuild.solutioninc.com/pub/suse/10.1/' (try 3)
30 Jun 2006 13:50:54 ERROR ServiceManager       Service refresh failed for 'suse101': Failed to parse XML metadata: Unknown failure
30 Jun 2006 13:50:54 ERROR ServiceManager       Maximum number of retry attempts reached for adding service 'ftp://sipbuild.solutioninc.com/pub/suse/10.1/'
30 Jun 2006 13:50:55 INFO  ServiceManager       Attempting to retry service 'http://software.opensuse.org/download/home:/jimfunk/SUSE-10.1/' (try 3)
30 Jun 2006 13:50:55 ERROR ServiceManager       Service refresh failed for 'funktronics': Failed to parse XML metadata: Unknown failure
30 Jun 2006 13:50:55 ERROR ServiceManager       Maximum number of retry attempts reached for adding service 'http://software.opensuse.org/download/home:/jimfunk/SUSE-10.1/'
30 Jun 2006 13:50:56 INFO  ServiceManager       Attempting to retry service 'http://ftp.ale.org/pub/suse/update/10.1' (try 3)
30 Jun 2006 13:50:56 ERROR ServiceManager       Service refresh failed for 'SUSE-Linux-10.1-Updates': Failed to parse XML metadata: Unknown failure
30 Jun 2006 13:50:56 ERROR ServiceManager       Maximum number of retry attempts reached for adding service 'http://ftp.ale.org/pub/suse/update/10.1'

I re-added them and now it's working, so I have no idea what went wrong...
Comment 6 James Willcox 2006-07-21 19:49:52 UTC
The errors in that log are due to the zypp helper doing something bad. -> klaus
Comment 7 James Willcox 2006-07-21 20:55:38 UTC
*** Bug 186900 has been marked as a duplicate of this bug. ***
Comment 8 Federico Lucifredi 2006-10-11 23:13:15 UTC
presumed resolv ed in 10.2. AJ: please reopen if patch needed for 10.1