Supermicro only baseboard serial number set #296
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#296
Loading…
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?
Describe the bug
On our Supermicro Servers there is nearly never a system or chassis serial number set. That leads to this error:
Expected behavior
Maybe fall back to baseboard serial ?
Environment:
Additional context
Working fix in my setup for netbox_agent/vendors/supermicro.py :
Hi,
as a fellow supermicro user I can confirm that patch is needed.
if you have many, could you complain to supermicro of their incompetence so they finally start getting this right?
You might wanna have some conditions that whatever is returned is value is in fact looking like a serial number
(so [0-9A-F]{1,20} or something - don't have one to look at right now)
At least for us, it's probably not the fault of Supermicro. Supermicro doesn't sell its servers directly. We have to buy them from resellers, and on the bill, they show up with a custom serial from the reseller.
For example:
A Supermicro server with the serial supermicro-xyz shows up as reseller-xyz.
I think the resellers are supposed to set those serial numbers, but they nearly never do.
The "workaround" I proposed was to set the system serial number to the motherboard serial number if it is set to the default of "0123456789". Since the motherboard serial is set by Supermicro and is hopefully a unique identifier, this should resolve the issue.