Better Supermicro Support (currently bails out) #117

Closed
opened 2020-02-17 01:07:47 +01:00 by jczmok-iag · 2 comments
jczmok-iag commented 2020-02-17 01:07:47 +01:00 (Migrated from github.com)

Have a bailout now with the right lshw version.:

I attached the last lsow output as file

Traceback (most recent call last):
File "/usr/local/bin/netbox_agent", line 11, in
load_entry_point('netbox-agent==0.5.1.dev3+gbb7c8c8.d20200216', 'console_scripts', 'netbox_agent')()
File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/cli.py", line 40, in main
return run(config)
File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/cli.py", line 35, in run
server.netbox_update(config)
File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/server.py", line 336, in netbox_update
self.inventory = Inventory(server=self)
File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/inventory.py", line 56, in init
self.lshw = LSHW()
File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/lshw.py", line 48, in init
self.find_cpus(j)
File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/lshw.py", line 107, in find_cpus
c["product"] = obj["product"]
KeyError: 'product'

Have a bailout now with the right lshw version.: I attached the last lsow output as file Traceback (most recent call last): File "/usr/local/bin/netbox_agent", line 11, in <module> load_entry_point('netbox-agent==0.5.1.dev3+gbb7c8c8.d20200216', 'console_scripts', 'netbox_agent')() File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/cli.py", line 40, in main return run(config) File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/cli.py", line 35, in run server.netbox_update(config) File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/server.py", line 336, in netbox_update self.inventory = Inventory(server=self) File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/inventory.py", line 56, in __init__ self.lshw = LSHW() File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/lshw.py", line 48, in __init__ self.find_cpus(j) File "/usr/local/lib/python3.7/dist-packages/netbox_agent-0.5.1.dev3+gbb7c8c8.d20200216-py3.7.egg/netbox_agent/lshw.py", line 107, in find_cpus c["product"] = obj["product"] KeyError: 'product'
jczmok-iag commented 2020-02-17 01:10:05 +01:00 (Migrated from github.com)
[supermicro-lshw.txt](https://github.com/Solvik/netbox-agent/files/4211280/supermicro-lshw.txt)
ThomasADavis commented 2020-02-20 15:37:18 +01:00 (Migrated from github.com)

Is this a dual-socket system with just one socket filled?

btw, you'll have problems with the serial numbers - your vendor (not supermicro) was supposed to populate that.

Is this a dual-socket system with just one socket filled? btw, you'll have problems with the serial numbers - your vendor (not supermicro) was supposed to populate that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DGNum/netbox-agent#117
No description provided.