hi mircea,
no, i took the documentation from
https://github.com/napalm-automation/napalm-salt#install-napalm
# for i in libffi-dev libssl-dev python-dev python-cffi libxslt
python-pip; do rpm -qa | grep $i; done
libffi-devel-3.0.5-3.2.el6.x86_64
python-devel-2.6.6-64.el6.x86_64
python-cffi-0.6-5.el6.x86_64
libxslt-devel-1.1.26-2.el6_3.1.x86_64
libxslt-1.1.26-2.el6_3.1.x86_64
python-pip-7.1.0-1.el6.noarch
the rpms are there, the pip packages too (with pip2.7, because it's an
old machine and default python is 2.6) - it's true i did an ugly trick
and symlinked a few python2.6 modules to the 2.7 folder, but in my
opinion they shouldn't be relevant for our discussion (MySQLdb,
M2Crypto, pygit2)
below the output from salt -V
which module exactly have i missed (or should be upgraded) ?
thanks,
petre
###
Salt Version:
Salt: 2017.7.1
Dependency Versions:
cffi: 1.10.0
cherrypy: Not Installed
dateutil: 2.6.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.8.1
libgit2: 0.20.0
libnacl: Not Installed
M2Crypto: 0.20.2
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: 1.2.3c1
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: 0.20.3
Python: 2.7.13 (default, Jul 12 2017, 17:32:34)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 14.5.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.5
System Versions:
dist: redhat 6.7 Santiago
locale: UTF-8
machine: x86_64
release: 2.6.32-573.18.1.el6.x86_64
system: Linux
version: Red Hat Enterprise Linux Server 6.7 Santiago
On 15.09.2017 10:44, 'Mircea Ulinic' via Salt-users wrote:
> Hi Petre,
>
>> [DEBUG ] Could not LazyLoad napalm.grains: 'napalm' __virtual__
>> returned False: Please install the NAPALM library: `pip install
>> napalm`!
>
> This suggests you have an older version of the grains module.
>
>> [ERROR ] Proxymodule napalm is missing an init() or a shutdown() or
>> both. Check your proxymodule. Salt-proxy aborted.
>> [INFO ] Proxy Minion Stopping the Salt ProxyMinion
>> [ERROR ] Proxymodule napalm is missing an init() or a shutdown() or
>> both. Check your proxymodule. Salt-proxy aborted.
>> [INFO ] Shutting down the Salt ProxyMinion
>> The Salt ProxyMinion is shutdown.
>> Proxymodule napalm is missing an init() or a shutdown() or both.
>> Check your proxymodule. Salt-proxy aborted.
>
> This one says that the napalm proxy module is missing.
>
> Did you follow the notes from this section by any chance:
>
>
https://github.com/napalm-automation/napalm-salt#legacy-napalm-salt-installation
> [1]
> Because you shouldn’t :-)
> …Unless you really have some constraints to use older versions of
> Salt.
> Otherwise, I recommend you to install Nitrogen (2017.7), _without_
> any
> extension modules (everything is available in the official code
> base).
>
> Cheers,
> -Mircea
>
> --
> 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 [2].
> To view this discussion on the web visit
>
>
https://groups.google.com/d/msgid/salt-users/0235CA24-93A4-4F52-8943-06E3834CF0F6%40cloudflare.com
> [3].
> For more options, visit
https://groups.google.com/d/optout [4].
>
>
> Links:
> ------
> [1]
>
>
https://github.com/napalm-automation/napalm-salt#legacy-napalm-salt-installation
> [2] mailto:
salt-users+...@googlegroups.com
> [3]
>
>
https://groups.google.com/d/msgid/salt-users/0235CA24-93A4-4F52-8943-06E3834CF0F6%40cloudflare.com?utm_medium=email&utm_source=footer
> [4]
https://groups.google.com/d/optout
--
Petre Bandac
Network Scientist
-
pe...@kgb.ro