Skip to content

Update BMC password will fail if inital password wasn't set #85

@Gal-Zaidman

Description

@Gal-Zaidman

In case we start with a brand new xPU with the inital password (for example after factory reset [1]) the role would fail and BMC password won't be set.
The reason is because of the redfish collection module implementation, it crawls on the URL path.
For example, if you try to PATCH https:///redfish/v1/AccountService/Accounts/root
then it will first do GET for:
https:///redfish/v1/AccountService/
https:///redfish/v1/AccountService/Accounts/
https:///redfish/v1/AccountService/Accounts/root

Because the inital password wasn't set then you won't be able to do GET for https://<DPU-BMC-IP>/redfish/v1/AccountService/ and the entire role would fail.

Suggested workaround:

  • For this role use CURL
  • Work with Ansible redfish collection to allow skipping the path validation, this is required for scalability as well (issue we talked about in the past)
  • Track the workaround removal

image

[1]
https://docs.nvidia.com/networking/display/bluefieldbmcv2404/bmc+management#src-2821766407_BMCManagement-FactoryResetRedfishCommand
https://docs.nvidia.com/networking/display/bluefieldbmcv2404/bmc+management#src-2821766407_BMCManagement-FactoryResetIPMICommand

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions