Skip to content

bug: hard startup failure in the API server's DPF SDK initialization due to no site-wide BMC root credential #4130

Description

@rapphil

Version

v2.0.0-rc.11

Describe the bug.

Nico-api is not able to start with the following error:

Error: Failed to initialize DPF SDK: Invalid state: Site wide BMC root credentials not set

Location:
    crates/api-core/src/setup.rs:533:28

However I cannot set the BMC root credentials because the API is not up and running.

Minimum reproducible example

* fresh site
* configure `dpf.enabled = true`
* empty Vault (no machines/bmc/site/root)
* start the API server.

Relevant log output

Error: Failed to initialize DPF SDK: Invalid state: Site wide BMC root credentials not set

Location:
    crates/api-core/src/setup.rs:533:28

Other/Misc.

No response

Code of Conduct

  • I agree to follow NVIDIA Infra Controller's Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report

Metadata

Metadata

Assignees

Labels

bugA defect in existing software (deprecated - use issue type, but it's needed for reporting now)interest/dsx

Type

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions