DeepSea
DeepSea copied to clipboard
ceph.stage.1: "Salt API is failing to authenticate - try 'systemctl restart salt-master'"
Description of Issue/Question
Execution of ceph.stage.1 fails with this error:
ld4975:~ # deepsea stage run ceph.stage.1
Starting stage: ceph.stage.1
Parsing ceph.stage.1 steps... ✓
[init] validate.saltapi........................................... ✓ (2s)
[init] validate.prep.............................................. ✓ (4s)
|_ cmd.shell(/usr/bin/zypper info ceph) on
ld4940.wdf.sap.corp................................... ✓ (0.9s)
ld4974.wdf.sap.corp................................... ✓ (0.9s)
ld4975.wdf.sap.corp................................... ✓ (0.9s)
ld4941.wdf.sap.corp................................... ✓ (1.0s)
ld4973.wdf.sap.corp................................... ✓ (1.0s)
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
ld4975:~ #
Setup
ld4975 - monitor / Salt master ld4940 - OSD / Salt minion ld4941 - OSD / Salt minion ld4973 - OSD / Salt minion ld4974 - OSD / Salt minion
Debug salt-api w/o errors
ld4975:~ # salt-api -l debug
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Including configuration from '/etc/salt/master.d/eauth.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/eauth.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/modules.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/modules.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/output.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/output.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/reactor.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/reactor.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/salt-api.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/salt-api.conf
[DEBUG ] Including configuration from '/etc/salt/master.d/sharedsecret.conf'
[DEBUG ] Reading configuration from /etc/salt/master.d/sharedsecret.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ld4975.wdf.sap.corp
[DEBUG ] Missing configuration file: /root/.saltrc
[DEBUG ] Configuration file path: /etc/salt/master
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] Setting up the Salt API
[DEBUG ] Created pidfile: /var/run/salt-api.pid
[DEBUG ] Chowned pidfile: /var/run/salt-api.pid to user: salt
[INFO ] The salt-api is starting up
[INFO ] Starting rest_cherrypy.start netapi module
[DEBUG ] Started 'salt.loaded.int.netapi.rest_cherrypy.start' with pid 2787
[DEBUG ] Process Manager starting!
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[INFO ] [03/Apr/2018:15:12:07] ENGINE Listening for SIGHUP.
[INFO ] [03/Apr/2018:15:12:07] ENGINE Listening for SIGTERM.
[INFO ] [03/Apr/2018:15:12:07] ENGINE Listening for SIGUSR1.
[INFO ] [03/Apr/2018:15:12:07] ENGINE Bus STARTING
[INFO ] [03/Apr/2018:15:12:07] ENGINE Started monitor thread '_TimeoutMonitor'.
[INFO ] [03/Apr/2018:15:12:07] ENGINE Serving on http://0.0.0.0:8008
[INFO ] [03/Apr/2018:15:12:07] ENGINE Bus STARTED
Versions Report
ld4975:~ # salt-run deepsea.version 0.8.2+git.0.6b39c2648
Is this still an issue?