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

Failing to onboard a storage box #155

Open
damyan opened this issue Oct 30, 2024 · 0 comments
Open

Failing to onboard a storage box #155

damyan opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@damyan
Copy link
Member

damyan commented Oct 30, 2024

Describe the bug
When I try to onboard a storage box, the metal-operator fails with

│ manager 2024-10-30T09:07:40Z    ERROR    Reconciler error    {"controller": "endpoint", "controllerGroup": "metal.ironcore.dev", "controllerKind": "Endpoint", "Endpoint": {"name":"storage-2"}, "namespace": "", "name": "storage-2", "reconcileID": "48354c4a-c225-4a5e-8171-0bc8b4074bd3", "error": "failed to create BMC client: failed to connect to redfish endpoint: 400: <?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n
│        \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n <head>\n  <title>400 - Bad Request</title>\n </head>\n <body>\n  <h1>400 - Bad Request</h1>\n </body>\n</html>\n"}
│ manager sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
│ manager     /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:316
│ manager sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
│ manager     /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:263
│ manager sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2
│ manager     /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:224

To Reproduce

  • add BMC creds to the MAC DB
  • create an endpoint for the box
    Expected is a BMC + BMCSecret to be created, but that fails with the error message above

Additional context
It is a Lenovo box with type 7Z01CTO1WW
Redfish seems to be properly working:

curl -k "https://[BMC-IPv6-IP-ADDRESS]/redfish/v1" | jq .
{
  "@odata.context": "/redfish/v1/$metadata#ServiceRoot.ServiceRoot",
  "@odata.etag": "\"1730275171\"",
[...]
}

Due to a slightly different model a different Redfish implementation might be present

@damyan damyan added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant