Skip to content

rofl-scheduler: Grace period for expired machines #2469

@matevz

Description

@matevz

Currently, expired machines cannot be renewed and its state is silently removed thus losing all data. A grace period is common in such cases (e.g. in the domain registration world). When a service expires, there is a way to still extend it and restore the original state.

I would add something like grace_period inside the offer. Then when a machine expires, it is shut down by the scheduler, but the machine state is still stored on ROFL node. During that period, machine owner can call topup and it will restore the machine and extend it for the given period.

Future work:

  • also introduce grace_topup_fee that is added on top of the topup amount in order to save the machine from the grace state. This encourages machine owners to always topup their machine in time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c:roflCategory: ROFL
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions