SUSE Support

Here When You Need Us

States failed during bootstrap: pkg_|-salt-minion-package_|-venv-salt-minion_|-installed(retcode=2): The following packages failed to install/update: venv-salt-minion

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

Environment

SUSE Manager 4.3 Server
SUSE Linux Enterprise Server 15 SP5

Situation

Highstate against a system (registered to SUSE Manager Server) fails when such system is upgraded to a higher service pack version. When the system is bootstrapped again, it can't obtain the salt-bundle package.

/var/log/rhn/rhn_web_ui.log shows following error:
2024-08-25 11:54:14,037 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-7] ERROR com.suse.manager.webui.controllers.bootstrap.AbstractMinionBootstrapper - States failed during bootstrap: pkg_|-salt-minion-package_|-venv-salt-minion_|-installed(retcode=2): The following packages failed to install/update: venv-salt-minion
file_|-salt-minion-susemanager-config_|-/etc/venv-salt-minion/minion.d/susemanager.conf_|-managed(retcode=2): One or more requisite failed: bootstrap.salt-minion-package
file_|-salt-minion-minion_id-file_|-/etc/venv-salt-minion/minion_id_|-managed(retcode=2): One or more requisite failed: bootstrap.salt-minion-package
file_|-salt-minion-key-pub_|-/etc/venv-salt-minion/pki/minion/minion.pub_|-managed(retcode=2): One or more requisite failed: bootstrap.salt-minion-package
file_|-salt-minion-key-pem_|-/etc/venv-salt-minion/pki/minion/minion.pem_|-managed(retcode=2): One or more requisite failed: bootstrap.salt-minion-package
service_|-venv-salt-minion_|-venv-salt-minion_|-running(retcode=2): One or more requisite failed: bootstrap.salt-minion-minion_id-file, bootstrap.salt-minion-package, bootstrap.salt-minion-key-pem, bootstrap.salt-minion-susemanager-config, bootstrap.salt-minion-key-pub

Resolution

Reinstall the RPM package:
# zypper in rpm

Rebuild the RPM database:
# rpm --rebuilddb
# rpm --initdb
# rpm --rebuilddb

Verify the installed package list using rpm:
# rpm -qa --queryformat "%-35{NAME} %-35{DISTRIBUTION} %{VERSION}-%{RELEASE}\n" | sort -k 1,2 -t " " -i

Cause

Corrupted RPM database on top of affected SUSE Manager Server client.

Additional Information

This is a rare case where the RPM database is corrupted, and repositories are not listed:
updates.txt:
#==[ Command ]======================================#
# /usr/bin/zypper --non-interactive --no-gpg-checks services

rpm.txt:
#==[ Command ]======================================#
# rpm -qa --queryformat "%-35{NAME} %-35{DISTRIBUTION} %{VERSION}-%{RELEASE}\n" | sort -k 1,2 -t " " -i
NAME        

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:000021540
  • Creation Date: 27-Aug-2024
  • Modified Date:27-Aug-2024
    • SUSE Linux Enterprise Server
    • SUSE Manager Server
    • SUSE Manager

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