Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add baseboard info to server resource #930

Open
miragecentury opened this issue Aug 22, 2022 · 3 comments
Open

Add baseboard info to server resource #930

miragecentury opened this issue Aug 22, 2022 · 3 comments

Comments

@miragecentury
Copy link

Hi,
I have a Dell C6100 ( 2U 4 Nodes ) and 2 of my node have the same serial number but not the same board Number.
Sidero is not able to distinguish both.

How can i force the distinguish ?

  system:
    family: Server
    manufacturer: Dell
    productName: C6100
    serialNumber: C91S85J
    skuNumber: Unknown
    version: A00
@rsmitty
Copy link
Member

rsmitty commented Aug 22, 2022

Thx for the report @miragecentury. We can see if there's a way to grab the board number with the smbios library. Will create an issue for that. In the meantime, one thing you could do is set labels on the server resources and use label selectors on your server classes.

@rsmitty
Copy link
Member

rsmitty commented Aug 22, 2022

Actually, I'm going to update this issue. It's something that needs to be done on the sidero side, not in our library.

This is already implemented in the go-smbios library here: https://github.com/siderolabs/go-smbios/blob/master/smbios/baseboard_information.go. So we just need to add this info into the server resource it seems.

@rsmitty rsmitty changed the title Not enough data to match server Add baseboard info to server resource Aug 22, 2022
@miragecentury
Copy link
Author

I find that also my system uuid is the same due to the fact that is generate base on the s/n. ( that why sidero don t create the second server object, my issue is not only for serverclass matching ). But i find this Blog with a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants