SUSE Support

Here When You Need Us

The highstate on some clients show the states "mgr_disable_salt_minion" and "mgr_remove_susemanagerconf" being executed

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

Environment

SUSE Manager Server 4.3.8
SUSE Manager Server 4.3.9
SUSE Manager Server 4.3.10

Situation

Executing a highstate on clients show for some the following two states being executed automatically:
 
mgr_disable_salt_minion
mgr_remove_susemanagerconf

Resolution

Working as expected. To prevent this, either update the clients still running with older 3000 version salt manually to a newer version (Long Terms Service Pack Support (LTSS) may be required), or add the salt pillar value "mgr_avoid_venv_salt_minion" value.

Cause

From SUSE Manager version 4.3.8 on-wards, by default clients still using the older salt version 3000, will automatically attempt to be migrated to the Salt Bundle (venv-salt).

Additional Information

This is done using the state "util.mgr_switch_to_venv_minion", the state is located in the default location at "/usr/share/susemanager/salt/util/mgr_switch_to_venv_minion.sls".

The file "/usr/share/susemanager/salt/switch_to_bundle/mgr_switch_to_venv_minion.sls" checks the "saltversion" grain of the minion that applies it and if that shows it's running with salt version 3000, it includes the "util.mgr_switch_to_venv_minion" state. 

This state is EXCLUDED and will never run for:
 
salt ssh minions
retail / saltboot minions

As already mentioned, it will also be completely disabled if the option "mgr_avoid_venv_salt_minion" is added to the salt pillar. To do this, create the below two files with the content as follows:

"/srv/pillar/top.sls" containing:
base:
  '*':
    - avoid_salt_bundle


"/srv/pillar/avoid_salt_bundle.sls" containing:
mgr_avoid_venv_salt_minion: true


Using of the salt bundle can also be disabled during bootstrapping and Clients can also be manually migrated to the Salt Bundle, for details see the online SUSE Manager documentation.

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:000021319
  • Creation Date: 10-Jan-2024
  • Modified Date:10-Jan-2024
    • SUSE Manager Server

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

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.

Open an Incident

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