Skip to content

bug: Component Manager unable to get firmware update status #1819

@inf0rmatiker

Description

@inf0rmatiker

Version

main

Describe the bug.

Unable to use component-manager to get the firmware update status of a switch.

fac cm get-firmware-update-status switch --switch-id sw100ns3dce61l6ibclidaa3mtd7sp2n9d0afqdb137an3mjg0dpjkn9hd0

Results in:

Error:
   0: The API call to the Forge API server returned code: 'Operation is not implemented or not supported', message: "component manager is not configured"
   1: code: 'Operation is not implemented or not supported', message: "component manager is not configured"

Location:
   crates/admin-cli/src/main.rs:211

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
command terminated with exit code 1

Minimum reproducible example

1. Start a rack firmware update with component-manager.
2. Query its status:


forge-admin-cli cm get-firmware-update-status switch --switch-id sw100ns3dce61l6ibclidaa3mtd7sp2n9d0afqdb137an3mjg0dpjkn9hd0

Relevant log output

Other/Misc.

No response

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA defect in existing software (deprecated - use issue type, but it's needed for reporting now)rack lifecycleIssues that relate to managing the lifecycle of a full rack (compute, switches and powershelves)

    Type

    No fields configured for Bug.

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions