Salt-Master 2015.5.5-1 on Scientific Linux 6 fails loading some primitive pillars from YAML
After update of Salt-Master to Salt : 2015.5.5-1 from EPEL-Testing on Scientific Linux 6, can't catch what exactly had happened, but the very same pillars loading failing :
Machine running :
Scientific Linux release 6.5 (Carbon)
Example of simple failing pillar
graphite_server: tkgraphite-01.tkl.local
graphite_web: graphite.tkl.local
graphite:
config:
port: 2003
pickle_port: 2004
Refresh pillar fails with error :
2015-08-27 16:30:05,751 [salt.master ][ERROR ][31359] Error in function _p
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/master.py", line 1460, in run_func
ret = getattr(self, func)(load)
File "/usr/lib/python2.6/site-packages/salt/master.py", line 1236, in _pillar
'pillar': data})
File "/usr/lib/python2.6/site-packages/salt/payload.py", line 122, in dumps
except (OverflowError, msgpack.exceptions.PackValueError):
AttributeError: 'module' object has no attribute 'exceptions
Here are the versions (Salt-Master, minion, ssh, api - everything ):
Salt: 2015.5.5
Python: 2.6.6 (r266:84292, Jul 22 2015, 16:47:47)
Jinja2: 2.2.1
M2Crypto: 0.20.2
msgpack-python: 0.1.13
msgpack-pure: Not Installed
pycrypto: 2.0.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.3.1
RAET: Not Installed
ZMQ: 3.2.4
Mako: Not Installed
Tornado: Not Installed
After downgrading back to previous, stable version, on the same machine :
Salt: 2015.5.3
Python: 2.6.6 (r266:84292, Jul 22 2015, 16:47:47)
Jinja2: 2.2.1
M2Crypto: 0.20.2
msgpack-python: 0.1.13
msgpack-pure: Not Installed
pycrypto: 2.0.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.3.1
RAET: Not Installed
ZMQ: 3.2.4
Mako: Not Installed
Tornado: Not Installed
All runs ok. I already running the 2015.5.3, but maybe, from Monday - I can try to upgrade, and play again with pillars to help somehow. And yes, running in debug mode, not actually makes the situation clear. The same error. Strange that when running with log-level debug I can see Salt-Master loading HUGE complex pillar, and failing on a pillar consisting of just 4 lines.
@Galser, thanks for the report. It looks like older versions of msgpack don't have an exceptions module.
@jfindlay , maybe. I will try to do test with a forced update of msgpack on Monday, and then, post results here.
And on negative side - it's production setup, so, will be a bit tricky. :-)
Any idea when 2015.5.6 or 2015.8.? will be released? This currently has me blocked.
@ahammond, 2015.8.0 has already been released, and we're working on a 2015.5.6 release right now.
I'd imagine that 2015.8.0 would be available in epel-testing or fasttrack, but...
[email protected][salt]:~ $ sudo yum --disablerepo \* --enablerepo epel-testing info salt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel-testing: linux.mirrors.es.net
Installed Packages
Name : salt
Arch : noarch
Version : 2015.5.5
Release : 1.el6
Size : 18 M
Repo : installed
From repo : epel
Summary : A parallel remote execution system
URL : http://saltstack.org/
License : ASL 2.0
Description : Salt is a distributed remote execution system used to execute commands and
: query data. It was developed in order to bring the best solutions found in
: the world of remote execution together and make them better, faster and more
: malleable. Salt accomplishes this via its ability to handle larger loads of
: information, and not just dozens, but hundreds or even thousands of individual
: servers, handle them quickly and through a simple and manageable interface.
[email protected][salt]:~ $ sudo yum --disablerepo \* --enablerepo fasttrack info salt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
fasttrack | 3.3 kB 00:00
fasttrack/primary_db | 1.2 kB 00:00
Installed Packages
Name : salt
Arch : noarch
Version : 2015.5.5
Release : 1.el6
Size : 18 M
Repo : installed
From repo : epel
Summary : A parallel remote execution system
URL : http://saltstack.org/
License : ASL 2.0
Description : Salt is a distributed remote execution system used to execute commands and
: query data. It was developed in order to bring the best solutions found in
: the world of remote execution together and make them better, faster and more
: malleable. Salt accomplishes this via its ability to handle larger loads of
: information, and not just dozens, but hundreds or even thousands of individual
: servers, handle them quickly and through a simple and manageable interface.
I see there's a copr, but that's at 2015.5.2. Any other resources that I'm not aware of? Otherwise I'm guess I'm building a build... and I'd really rather not.
@ahammond, sorry, I'm failing at communicating today, see http://repo.saltstack.com/.
@jfindlay I'm actually doing a little happy dance right now. Thanks!!!
@Galser or @ahammond Is this issue good to close? Or does more work need to be done here?
Works for me, but I didn't open the bug. :)