SUSE Support

Here When You Need Us

Cloud instance repos fail due to outdated packages

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

Environment

Google Cloud
Azure Cloud
AWS Cloud

Situation

An instance fails to communicate with the SUSE update infrastructure due to outdated packages.

Resolution

To update packages to a supported level, follow these steps:
  • Create a PAYG instance with the same OS as instance with broken repos
  • login as root
  • Create a temporary directory:
mkdir -p /root/packages/rpms


For Google run:

zypper --pkg-cache-dir /root/packages/ download cloud-regionsrv-client cloud-regionsrv-client-plugin-gce regionServiceClientConfigGCE python3-gcemetadata SUSEConnect python3-cssselect python3-cssselect python3-lxml python3-M2Crypto python3-zypp-plugin

For AWS:

zypper --pkg-cache-dir /root/packages/ download cloud-regionsrv-client cloud-regionsrv-client-plugin-ec2 regionServiceClientConfigEC2 python3-ec2metadata SUSEConnect python3-cssselect python3-cssselect python3-lxml python3-M2Crypto python3-zypp-plugin

For Azure:

zypper --pkg-cache-dir /root/packages/ download cloud-regionsrv-client cloud-regionsrv-client-plugin-azure regionServiceClientConfigAzure python3-azuremetadata SUSEConnect python3-cssselect python3-cssselect python3-lxml python3-M2Crypto python3-zypp-plugin


Then run:

find /root/packages/ -type f -name "*.rpm" -exec cp {} /root/packages/rpms/ \;
cd /root/packages
tar -czvf suse-public-registration.tgz rpms
  • Transfer suse-public-registration.tgz to the broken instance

tar xvfz suse-public-registration.tgz
cd rpms
zypper --no-refresh --no-remote --non-interactive install *.rpm
registercloudguest --force-new

Cause

If instances are not patched regularly, they can become incompatible with our update infrastructure API which causes the failure of the repositories needed to patch an instance.

Status

Top Issue

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:000021552
  • Creation Date: 09-Sep-2024
  • Modified Date:10-Sep-2024
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications

< 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.