siderolabs/sidero

ipmitool not working with 0.5.7

magicite opened this issue · 1 comments

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/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
        /.cache/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        /.cache/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
        /.cache/mod/sigs.k8s.io/controller-runtime@v0.13.1/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 commented

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