SUSE Support

Here When You Need Us

suse_register updates /etc/zmd/zmd.conf with unnecessary proxy information

This document (7006462) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10 Service Pack 3

Situation

SLES10 SP3 is setup to register with a SMT server.
In /etc/sysconfig/proxy proxy settings are enabled and variable for all _PROXY are set, including NO_PROXY.

When clientSetup4SMT.sh is run, it invokes suse_register which updates proxy-url in /etc/zmd/zmd.conf.
ZMD does not honor the NO_PROXY settings if it is set. This causes problems when the client tries to contact the SMT server and the client doesn't find the SMT server and no updates are available.

Eventually you will see the following error messages in /var/log/zmd-messages.log:

2010-07-19 18:56:28 INFO  WebCache             Retrieval of 'http://host.domain.com/repo/repoindex.xml' (try 1) failed: The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:56:30 INFO  WebCache             Attempting to retrieve 'http://host.domain.com/repo/repoindex.xml' (try 2)
2010-07-19 18:57:45 INFO  WebCache             Retrieval of 'http://host.domain.com/repo/repoindex.xml' (try 2) failed: The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:57:47 INFO  WebCache             Attempting to retrieve 'http://host.domain.com/repo/repoindex.xml' (try 3)
2010-07-19 18:59:02 INFO  WebCache             Retrieval of 'http://host.domain.com/repo/repoindex.xml' (try 3) failed: The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:59:04 INFO  Progress             Progress.Stop Message: Download failed: (http://host.domain.com/repo/repoindex.xml) The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:59:04 INFO  Progress             Progress.Stop Message: Failed to download XML metadata: Download failed: (http://host.domain.com/repo/repoindex.xml) The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:59:04 INFO  ServiceManager       Failed to add service 'http://host.domain.com' (keeping): Failed to download XML metadata: Download failed: (http://host.domain.com/repo/repoindex.xml) The remote server returned an error: (503) Service Unavailable.

 

Resolution

A workaround is to manually edit /etc/zmd/zmd.conf and remove the values for proxy_url, proxy-password and proxy_username.

Engineering built a patch which evaluates the NO_PROXY variable and provides a proxy-excludes to ZMD. This will add a line to /etc/zmd/zmd.conf adding the NO_PROXY value from /etc/sysconfig/proxy.

The suseRegister update, suseRegister-1.2-9.48.2 released September 2010 includes the patch to resolve the problem. Please update the package with the latest available update.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7006462
  • Creation Date: 16-Jul-2010
  • Modified Date:24-Feb-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.