0b9087fa41
``` Traceback (most recent call last): File "/usr/bin/netbox_agent", line 33, in <module> sys.exit(load_entry_point('netbox-agent==0.7.1', 'console_scripts', 'netbox_agent')()) File "/opt/netbox-agent/lib/python3.6/site-packages/netbox_agent/cli.py", line 50, in main return run(config) File "/opt/netbox-agent/lib/python3.6/site-packages/netbox_agent/cli.py", line 43, in run server.netbox_create_or_update(config) File "/opt/netbox-agent/lib/python3.6/site-packages/netbox_agent/server.py", line 417, in netbox_create_or_update self.inventory.create_or_update() File "/opt/netbox-agent/lib/python3.6/site-packages/netbox_agent/inventory.py", line 550, in create_or_update self.do_netbox_disks() File "/opt/netbox-agent/lib/python3.6/site-packages/netbox_agent/inventory.py", line 420, in do_netbox_disks disks = self.get_hw_disks() File "/opt/netbox-agent/lib/python3.6/site-packages/netbox_agent/inventory.py", line 344, in get_hw_disks size = int(disk.get('size', 0)) TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' ``` |
||
---|---|---|
.. | ||
drivers | ||
raid | ||
vendors | ||
__init__.py | ||
cli.py | ||
config.py | ||
dmidecode.py | ||
ethtool.py | ||
inventory.py | ||
ipmi.py | ||
lldp.py | ||
location.py | ||
logging.py | ||
lshw.py | ||
misc.py | ||
network.py | ||
power.py | ||
server.py | ||
virtualmachine.py |