Issues with salt-key.

76 views
Skip to first unread message

Jakub Mikusek

unread,
Jul 8, 2015, 5:08:33 AM7/8/15
to salt-...@googlegroups.com
Morning all,

Since upgrading to 2015.5.2 from 2014.7.x salt-key refuses to work.
Before I could list all minions without any issues - after the upgrade
salt-key comes back with the following:

$ sudo salt-key --list=all
minions_rejected:
Data failed to compile:
$

$ sudo salt-key --log-file-level=all --list=rej
minions_rejected:
Data failed to compile:
$

In /var/log/salt/key I can only see the following:

2015-07-08 10:06:18,127 [salt.utils.event ][DEBUG ][28311]
MasterEvent PUB socket URI:
ipc:///var/run/salt/master/master_event_pub.ipc
2015-07-08 10:06:18,128 [salt.utils.event ][DEBUG ][28311]
MasterEvent PULL socket URI:
ipc:///var/run/salt/master/master_event_pull.ipc
2015-07-08 10:06:18,129 [salt.utils.event ][DEBUG ][28311] Sending
event - data = {'_stamp': '2015-07-08T09:06:18.128444'}
2015-07-08 10:06:19,133 [salt.utils.lazy ][DEBUG ][28311]
LazyLoaded highstate.output
2015-07-08 10:06:19,133 [salt.output ][TRACE ][28311] data =
{'minions_rejected': []}


Any hints how to troubleshoot this further will be appreciated. Google
search doesn't return anything to work on since the message is pretty
generic.

Saltstack details:
$ salt-key --versions-report
Salt: 2015.5.2
Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
Jinja2: unknown
M2Crypto: 0.20.2
msgpack-python: 0.4.4
msgpack-pure: Not Installed
pycrypto: 2.0.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.5.0
RAET: Not Installed
ZMQ: 4.0.5
Mako: Not Installed

running on CentOS 6.6

$ rpm -qa 'salt*'
salt-master-2015.5.2-3.el6.noarch
salt-2015.5.2-3.el6.noarch
salt-api-2015.5.2-3.el6.noarch
salt-minion-2015.5.2-3.el6.noarch



--
"Imagination is more important than knowledge" -> Albert Einstein
tel: +353 83 44 50 623
jabber: ja...@mikusek.org
gg: 3386899 skype: mmmick3y

Jakub X.

unread,
Jul 9, 2015, 6:04:15 AM7/9/15
to salt-...@googlegroups.com


On Wednesday, 8 July 2015 10:08:33 UTC+1, Jakub X. wrote:
Morning all,

Since upgrading to 2015.5.2 from 2014.7.x salt-key refuses to work.
Before I could list all minions without any issues - after the upgrade
salt-key comes back with the following:
 

Anyone? 

Jakub Mikusek

unread,
Jul 9, 2015, 6:34:27 AM7/9/15
to salt-...@googlegroups.com
I got somewhere I think.

Problem is with highstate outputter for salt-key - it works just fine
with 'nested'.

I shall create git issue, I presume - or is this expected?

Colton Myers

unread,
Jul 24, 2015, 3:56:26 PM7/24/15
to salt-...@googlegroups.com
That is definitely expected. Highstate outputter is designed only for state runs, it expects the data to be formatted in a very specific manner. If you have output set to highstate in your master config, you should remove that setting, and only override on a per-command basis if you want.

--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC


--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages