Salt minion fails to start after initial configuration
This document (7018591) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Enterprise Storage 4
Situation
:~ # systemctl status -l salt-minion.service
● salt-minion.service - The Salt Minion
Loaded: loaded (/usr/lib/systemd/system/salt-minion.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Mon 2017-02-06 12:45:46 CET; 56s ago
Process: 7843 ExecStart=/usr/bin/salt-minion (code=exited, status=0/SUCCESS)
Main PID: 7843 (code=exited, status=0/SUCCESS)
Feb 06 12:45:46 ses-nue-1 systemd[1]: Started The Salt Minion.
Feb 06 12:45:46 ses-nue-1 salt-minion[7843]: [ERROR ] Error parsing configuration file: /etc/salt/minion - expected '<document start>', but found '<block mapping start>'
Feb 06 12:45:46 ses-nue-1 salt-minion[7843]: in "<string>", line 510, column 1:
Feb 06 12:45:46 ses-nue-1 salt-minion[7843]: hash_type: sha256
Feb 06 12:45:46 ses-nue-1 salt-minion[7843]: ^
Feb 06 12:45:46 ses-nue-1 salt-minion[7843]: [ERROR ] Error parsing configuration file: /etc/salt/minion - expected '<document start>', but found '<block mapping start>'
Feb 06 12:45:46 ses-nue-1 salt-minion[7843]: in "<string>", line 510, column 1:
Feb 06 12:45:46 ses-nue-1 salt-minion[7843]: hash_type: sha256
Feb 06 12:45:46 ses-nue-1 salt-minion[7843]: ^
Resolution
Cause
Additional Information
Correct:
master: salt.domain.com
Incorrect:
master:salt.domain.com
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:7018591
- Creation Date: 06-Feb-2017
- Modified Date:03-Mar-2020
-
- SUSE Enterprise Storage
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com