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

[FEATURE] xname assignment for discovery #59

Open
njones-lanl opened this issue Sep 3, 2024 · 2 comments
Open

[FEATURE] xname assignment for discovery #59

njones-lanl opened this issue Sep 3, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@njones-lanl
Copy link

Is your feature request related to a problem? Please describe.
xnames are currently assigned very statically, and it doesn't work for the format that xnames try to assign (cabinet slot etc)

Describe the solution you'd like
To me this seems like something we'd either need to have key off something set in redfish, or off of some sort of human input.

Describe alternatives you've considered
Can't think of any.

Additional context
Currently all nodes populate with a prefix of x1000c1s7.

@njones-lanl njones-lanl added the enhancement New feature or request label Sep 3, 2024
@davidallendj
Copy link
Collaborator

This was something that me and @synackd talked about before and I think the solution to this may be related to #2 by allowing the user to specify other parameters. I'm stilling thinking about the best way to specify each node name and when. I'll probably end up adding another column to the cache database and allow changing the name right after a scan and/or when running a collect.

@alexlovelltroy
Copy link
Member

I toyed with this for a while and didn't find anything I liked. Here's what I explored:

  1. create a yaml configuration file or obtain one from the vendor that describes a normal rack with some level of detail which allows the system to infer location in the rack through switch-port number for the BMC. Only require manual intervention in cases where the rack is not "normal"

  2. Use PDU controls to switch on each host and identify it based on what switch port ultimately lights up.

  3. Bring up nodes without location information and use another process to update xnames after boot.

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

No branches or pull requests

3 participants