Super Micro Microcloud #173
Labels
No labels
help wanted
need testing
status: accepted
status: discussing
type: bug
type: documentation
type: duplicate
type: enhancement
type:hardware
type: invalid
type: major feature
type: minor feature
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/netbox-agent#173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm running the agent on a new supermicro micro cloude server. Getting
`Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmp/netbox/netbox_agent/cli.py", line 48, in
main()
File "/tmp/netbox/netbox_agent/cli.py", line 44, in main
return run(config)
File "/tmp/netbox/netbox_agent/cli.py", line 39, in run
server.netbox_create_or_update(config)
File "/tmp/netbox/netbox_agent/server.py", line 342, in netbox_create_or_update
chassis = self._netbox_create_chassis(datacenter, tenant, rack)
File "/tmp/netbox/netbox_agent/server.py", line 167, in _netbox_create_chassis
device_type = get_device_type(self.get_chassis())
File "/tmp/netbox/netbox_agent/vendors/supermicro.py", line 54, in get_chassis
return self.chassis[0]['Product Name'].strip()
KeyError: 'Product Name'
`
Looking at the code this should match
`
Hi @wolfman2g1
Could you send me the whole dmidecode output please ?
I'll see what happens and add it to tests
Thanks
I've pushed a fix here https://github.com/Solvik/netbox-agent/pull/178 ; is it working for you ?