Applying the salt highstate fails with "Failed to apply state(s): highstate (code 0)"

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


SUSE Manager Server 4.3


When attempting to apply the salt highstate for a new salt minion, this fails with:
Client execution returned
Failed to apply state(s): highstate
(code 0)

Error: Could not parse state file. Please check YAML syntax.

On the client system using "Show full highstate output" returns:
'An Exception occurred while executing state.show_highstate: ''list'' object has no attribute ''values'''


Remove the client system from SUSE Manager and re-register it.


During registration the client systems custom state file was not created.

Additional Information

In the salt api log file, the following is logged for the relevant client system:

2023-02-10 15:59:26,838 [salt.utils.event :817 ][DEBUG   ][122929] Sending event: tag = salt/job/20230210145914724238/ret/<client_system_name>; data = {'return': ['Specified SLS packages.packages_ac642838fb294809b918d8b919bb64d2 in saltenv base is not available on the salt master or through a configured fileserver', 'Specified SLS custom.custom_ac642838fb294809b918d8b919bb64d2 in saltenv base is not available on the salt master or through a configured fileserver'], 'id': '<client_system_name>', 'fun': 'state.apply', 'jid': '20230210145914724238', '_stamp': '2023-02-10T14:59:26.838875'}
2023-02-10 15:59:26,840 [salt.transport.ipc:370 ][DEBUG   ][122929] Closing IPCMessageClient instance

The specified customer state file for the client is also not present in "/srv/susemanager/salt/custom/", using the above example, the file "custom_ac642838fb294809b918d8b919bb64d2.sls" should have been present but was not.


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:000020975
  • Creation Date: 16-Feb-2023
  • Modified Date:15-Mar-2023
    • SUSE Manager Server

< Back to Support Search

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

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