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.
Environment
Situation
Failed to apply state(s): highstate
(code 0)
Results:
Error: Could not parse state file. Please check YAML syntax.
Resolution
Cause
Additional Information
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.
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:000020975
- Creation Date: 15-Feb-2023
- Modified Date:15-Mar-2023
-
- SUSE Manager Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com