After upgrading, pillars won't show up in master-less configuration
Just upgraded to 2014.1.11, and now none of the pillar data shows up. Even after I simplified to the tutorial version.
rhettg@postalvm:/etc/salt$ sudo salt-call --versions-report
Salt: 2014.1.11
Python: 2.7.3 (default, Feb 27 2014, 19:58:35)
Jinja2: 2.6
M2Crypto: 0.21.1
msgpack-python: 0.1.10
msgpack-pure: Not Installed
pycrypto: 2.4.1
PyYAML: 3.10
PyZMQ: 13.0.0
ZMQ: 3.2.2
/etc/salt/minion configured as:
file_client: local
file_roots:
base:
- /srv/salt/states
pillar_roots:
base:
- /srv/pillar
With very simple pillar configs:
/srv/pillar/top.sls:
base:
'*':
- data
/srv/pillar/data.sls
info: some data
When I try to access pillar data:
rhettg@postalvm:/etc/salt$ sudo salt-call pillar.item info
local:
----------
Running with -l debug makes it seem like it's finding the pillar files:
[DEBUG ] Rendered data from file: /srv/pillar/top.sls:
base:
'*':
- data
[DEBUG ] Results of YAML rendering:
OrderedDict([('base', OrderedDict([('*', ['data'])]))])
[DEBUG ] Jinja search path: ['/srv/pillar']
[DEBUG ] Rendered data from file: /srv/pillar/data.sls:
info: some data
[DEBUG ] Results of YAML rendering:
OrderedDict([('info', 'some data')])
Any ideas?
+1 -- just ran into this issue.
RTFI and found this: https://github.com/saltstack/salt/issues/16210
Looks like it's being fixed!
:+1: yup lost an hour pulling my hair out with this one. The pull request to fix is crazy simple, how did that get missed? Return an empty dict instead of the pillar dict, /me facepalms
Sorry for the inconvenience this has caused. #16210 has the discussion and a link to the fix. We're currently testing a 2014.1.12 build and will hopefully release next week.