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

ipmitool not working with 0.5.7 #1013

Closed
magicite opened this issue Dec 16, 2022 · 1 comment · Fixed by #1015
Closed

ipmitool not working with 0.5.7 #1013

magicite opened this issue Dec 16, 2022 · 1 comment · Fixed by #1015

Comments

@magicite
Copy link

See slack thread.

I updated to sidero 0.5.7 and noticed in the logs:

1.6712235117686722e+09  ERROR   controllers.Server      failed to check power state     {"server": "/4c4c4544-0054-5a10-804a-c8c04f515631", "error": "run /usr/sbin/ipmitool ipmitool -H 172.30.223.62 -U sidero -I lanplus -E -p 623 raw 0x00 0x01: Failed to initialize the OEM info dictionary\n (exit status 1)"}
github.com/siderolabs/sidero/app/sidero-controller-manager/controllers.(*ServerReconciler).Reconcile
        /src/app/sidero-controller-manager/controllers/server_controller.go:204
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
        /.cache/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
        /.cache/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        /.cache/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
        /.cache/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:234

Running the ipmitool directly from the sidero manager container gives the same Failed to initialize the OEM info dictionary error:

# kubectl exec -n sidero-system sidero-controller-manager-54c9f8d748-c9pv9 -c manager -- ipmitool -H 172.30.223.62 -U root -I lanplus -P xxx -p 623 raw 0x00 0x01
Failed to initialize the OEM info dictionary
command terminated with exit code 1

Some recent chatter on an old thread on this error over at ipmitool/ipmitool#232 that may be related.

smira added a commit to smira/pkgs that referenced this issue Dec 19, 2022
smira added a commit to smira/pkgs that referenced this issue Dec 19, 2022
See siderolabs/sidero#1013
See ipmitool/ipmitool#377

Signed-off-by: Andrey Smirnov <[email protected]>
(cherry picked from commit 165dff6)
@smira
Copy link
Member

smira commented Dec 19, 2022

Thanks for reporting the bug, fix will be released as Sidero 0.5.8

smira added a commit to smira/sidero that referenced this issue Dec 19, 2022
Fixes siderolabs#1013

Signed-off-by: Andrey Smirnov <[email protected]>
(cherry picked from commit 18116bc)
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 a pull request may close this issue.

2 participants