Changing the default port for salt-api results in DeepSea stage 1 failing
This document (7022829) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Stage initialization output:
salt-api : ["Salt API is failing to authenticate - try 'systemctl restart salt-master'"]
deepsea_minions : valid
master_minion : valid
ceph_version : valid
Stage execution failed:
- salt-api failed
Resolution
Cause
Additional Information
1. Copy "/srv/salt/ceph/stage/1/default.sls" to for example "/srv/salt/ceph/stage/1/custom.sls".
2. Edit "/srv/salt/ceph/stage/1/custom.sls" and remove the following section from the top if this file:{% if salt['saltutil.runner']('validate.saltapi') == False %}
salt-api failed:
salt.state:
- name: just.exit
- tgt: {{ salt['pillar.get']('master_minion') }}
- failhard: True
{% endif %}
3. Edit "/srv/pillar/ceph/stack/global.yml" and add the line:stage_discovery: custom
4. Now re-run DeepSea stage 1.
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:7022829
- Creation Date: 10-Apr-2018
- Modified Date:03-Mar-2020
-
- SUSE Enterprise Storage
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com