Mantis - py_salt
Viewing Issue Advanced Details
5190 block always 2014-07-18 17:20 2018-01-03 13:21
janci  
dam  
normal  
closed  
fixed  
none    
none  
0005190: py_salt
Hi,
salt-minion does not work after install. The problem is that python modules that are installed as dependencies are not for python 2.7 and salt requires python 2.7 to run (because of #!/opt/csw/bin/python2.7 in the main binary).
Namely, these modules should be updated to support 2.7:
PyYAML
pyzmq
msgpack-python

(because they install into /opt/csw/lib/python instead of /opt/csw/lib/python2.[67])

And CSWpython27 should be also added to dep list.
In order to make salt work, I had to manually install these deps from sources using
/opt/csw/bin/python2.7 setup.py install
Issue History
2014-07-18 17:20 janci New Issue
2014-07-18 19:25 dam Note Added: 0010875
2014-07-21 11:16 janci Note Added: 0010876
2014-10-16 11:16 dam Note Added: 0010939
2014-10-16 11:16 dam Assigned To => dam
2014-10-16 11:16 dam Status new => feedback
2018-01-03 13:21 dam Note Added: 0011263
2018-01-03 13:21 dam Status feedback => closed
2018-01-03 13:21 dam Resolution open => fixed

Notes
(0010875)
dam   
2014-07-18 19:25   
Are you using 0.14.0,REV=2013.08.04 ? That version is working fine. You can find it in bratislava, kiel and unstable.
(0010876)
janci   
2014-07-21 11:16   
Yup, exactly this version. From unstable.
Actually salt package itself is probably fine (only terribly outdated).
But it is not working with current deps - I've tried 3 clean installations (full pkgutil -u before that) and none has worked. It misses python modules I've mentioned. They are installed with salt as its dependencies but salt will not find them because it does not search include path /opt/csw/lib/python.
Or am I missing something?
(0010939)
dam   
2014-10-16 11:16   
The python modules are usually build for 2.6 and 2.7 (and later probably 3.x), however, the process takes some time. You can see the progress at
  http://buildfarm.opencsw.org/~maciej/python-modules.html [^]
That is also the reason why Python 2.7 is not listed as dependency as you can also use it with 2.6 and we don't have conditional dependencies.

I updated pyzmq, please see if this fixes your issue.
(0011263)
dam   
2018-01-03 13:21   
The issue is fixed quite some time ago.