external pillar: netbox module missing?

110 views
Skip to first unread message

heinz6...@gmail.com

unread,
Jan 30, 2021, 1:02:50 PM1/30/21
to Salt-users

Hi,

I wanted to use the netbox external pillar, as described in

But a
salt '*' pillar.items
tells me:

salt-master[221677]: [CRITICAL] Specified ext_pillar interface api_url is unavailable
salt-master[221677]: [CRITICAL] Specified ext_pillar interface api_token is unavailable
salt-master[221677]: [CRITICAL] Pillar render error: Failed to load ext_pillar netbox: 'api_url'

Do I need to install an additional package? How? I am workign on a CentOS8.2.

salt --versions-report
Salt Version:
         Salt: 3002.2
 
Dependency Versions:
         cffi: 1.14.1
     cherrypy: Not Installed
     dateutil: 2.6.1
    docker-py: Not Installed
        gitdb: Not Installed
    gitpython: Not Installed
       Jinja2: 2.11.2
      libgit2: Not Installed
     M2Crypto: 0.35.2
         Mako: Not Installed
      msgpack: 0.6.2
 msgpack-pure: Not Installed
 mysql-python: Not Installed
    pycparser: 2.20
     pycrypto: 3.9.7
 pycryptodome: 3.9.8
       pygit2: Not Installed
       Python: 3.6.8 (default, Apr 16 2020, 01:36:27)
 python-gnupg: Not Installed
       PyYAML: 5.3.1
        PyZMQ: 19.0.0
        smmap: Not Installed
      timelib: Not Installed
      Tornado: 4.5.3
          ZMQ: 4.3.3
 
System Versions:
         dist: centos 8 Core
       locale: UTF-8
      machine: x86_64
      release: 4.18.0-193.28.1.el8_2.x86_64
       system: Linux
      version: CentOS Linux 8 Core

Dirk Heinrichs

unread,
Jan 31, 2021, 2:42:42 AM1/31/21
to salt-...@googlegroups.com
heinz6...@gmail.com:

> Do I need to install an additional package? How? I am workign on a
> CentOS8.2.

Maybe. Don't know how it is on CentOS, but Debian has a Python Netbox
package:

% apt-cache search netbox
python3-pynetbox - Python API client library for NetBox


HTH...

    Dirk

--
Dirk Heinrichs <dirk.he...@altum.de>
GPG Public Key: D01B367761B0F7CE6E6D81AAD5A2E54246986015
Sichere Internetkommunikation: http://www.retroshare.org
Privacy Handbuch: https://www.privacy-handbuch.de


OpenPGP_signature

Heinz Meier

unread,
Jan 31, 2021, 6:57:22 AM1/31/21
to salt-...@googlegroups.com
netbox package installed. I assume it is a bug in netbox.

Michael

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/9d0b5d2e-8000-743a-252e-2397bd81a845%40altum.de.
Reply all
Reply to author
Forward
0 new messages