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

Refactor bootorder #55

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Refactor bootorder #55

wants to merge 4 commits into from

Conversation

majst01
Copy link
Contributor

@majst01 majst01 commented May 3, 2023

Always use redfish api to set the bootorder on supermicro, get rid of hand made authentication for these calls also.

TODO:

  • test manually with the cli on:
    • n1-medium
    • c1-xlarge

@robertvolkmann this is the library which is responsible to manipulate the server OutOfBand and set the bootorder properly which does not work always for n1-medium machines.

This PR tries to change the way it is actually done from ipmi -> redfish. Unsure if all older BMC Versions especially on c1-xlarge machines at fi-ts.

@majst01
Copy link
Contributor Author

majst01 commented Sep 3, 2023

On n1-medium machine we always get this error:


{"level":"error","ts":1693740463.7540627,"caller":"ipmi/ipmitool.go:199","msg":"run ipmitool","args":["-I","lanplus","-H","10.1.1.22","-p","623","-U","metal","-E","lan","print"],"output":"Set in Progress         : Set in Progress\n

Recommendation is:

Bei der LAN-Konfiguration wird Set in Progress bei älteren ipmitool Versionen nicht automatisch auf Set Complete gesetzt. Dies kann manuell über ein raw-Kommando gemacht werden (siehe dazu auch http://www.mail-archive.com/[email protected]/msg00095.html)

[root@sr2500 ~]# ipmitool lan print 1
Set in Progress         : Set In Progress
[...]
[root@sr2500 ~]# ipmitool raw 0x0c 1 1 0 0

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

Successfully merging this pull request may close these issues.

1 participant