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 Linux Enterprise Server 15 SP5
Situation
/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
# 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
Additional Information
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com