Skip to content

[feature] Add ability to manually retry failed or cancelled firmware upgrades #323

@youhaveme9

Description

@youhaveme9

Currently, when a firmware upgrade fails or gets cancelled, users have no direct way to retry the upgrade operation without starting the entire process from scratch.

Proposed Solution:

  • Add a "Retry Upgrade" button/action in the admin interface and API that allows users to:
  • Retry failed upgrade operations
  • Add new retry_upgrade() method to DeviceFirmware model
  • Add new API endpoint: POST /api/v1/firmware-upgrader/upgrade-operation/{id}/retry/
  • Update upgrade status workflow to handle RETRYING state
  • Implement retry logic in upgrade tasks (celery/background jobs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions