netbox-agent icon indicating copy to clipboard operation
netbox-agent copied to clipboard

detailed project dependencies needed.

Open tirans opened this issue 2 years ago • 1 comments

Describe the bug Due to my experience in failing to run this repo on fedora 37 & ubuntu 22.04 with python3.10 it's obvious this repo will benefit from additional essential details on the required dependencies. I can add a dockerfile etc to this repo to minimize users issues.

Expected behavior tested on os distribution (ubuntu 20.04 etc) a list of depended packages versions.

Configuration file not loaded.

Environment:

  • OS: Ubuntu 22.04 / Fedora 37
  • Python3.10
  • Netbox agent version : master

Additional context another issue is that running netbox_agent/cli.py ends with logger = logging.getLogger(name) AttributeError: partially initialized module 'logging' has no attribute 'getLogger' (most likely due to a circular import)

tirans avatar Apr 17 '23 18:04 tirans

Hello @tirans , To run the program without this error: AttributeError: partially initialized module 'logging' has no attribute 'getLogger' (most likely due to a circular import) you can use the command: netbox_agent <argument name> or python3 -m netbox_agent.cli <argument name>

CllaudiaB avatar Aug 05 '24 15:08 CllaudiaB

Closing this since it's not a dependency issue. We never tested on Fedora but it should work as long as the commands listed in the README are present.

Note that it's not possible to dockerize this software since containers block access to most of the required hardware info.

ribetm avatar Jan 29 '25 21:01 ribetm

Note that it's not possible to dockerize this software since containers block access to most of the required hardware info.

That's what privileged containers are for

dimm0 avatar Mar 21 '25 20:03 dimm0