Clear cache on SUSE Manager Proxy

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

Environment

SUSE Manager 3
SUSE Manager 2.1

Situation

SUSE Manager Proxy is a way to:
- Work around DMZs
- Save bandwidth via RPM caching
- Alleviate a little bit of the computational load to the SUSE Manager server via XMLRPC API response caching.

In some situations (e.g. disk space problems, digest verification issues reported by zypper), it might be desired to flush the cache in the Proxy.

Resolution

Please follow the following procedure in the Proxy. Take into account that during the time the Proxy is stopped, the clients behind it won't have access to the SUSE Manager (and hence, neither to patches and remote commands). This should be a pretty fast procedure though:

spacewalk-proxy stop
rm -rf  /var/cache/squid/*
squid -z -N
spacewalk-proxy start

Cause


Additional Information

Repository digest verification issue reported by zypper:

proxyclient3:/etc/ssl/certs # zypper ref -s
All services have been refreshed.
Repository 'SLES11-SP4-Pool for x86_64' is up to date.
Retrieving repository 'SLES11-SP4-SUSE-Manager-Tools x86_64' metadata [\]

Warning: Digest verification failed for file 'updateinfo.xml.gz'
[/var/cache/zypp/raw/susemanager:sles11-sp4-suse-manager-tools-x86_64qmNNht/repodata/updateinfo.xml.gz]

  expected 0fe3250dcca441ff3ec9d5935982e7e12af3690d
  but got  bca670744a56453e847c669b705bb7939a2c399e

Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.

However if you made certain that the file with checksum 'bca6..' is secure, correct
and should be used within this operation, enter the first 4 characters of the checksum
to unblock using this file on your own risk. Empty input will discard the file.

Unblock or discard? [bca6/? shows all options] (discard):

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:7018416
  • Creation Date: 23-Dec-2016
  • Modified Date:03-Mar-2020
    • SUSE Manager

< Back to Support Search

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

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center