Skip to content

config: add reboot_window for datetime constrained reboots #13

@lucab

Description

@lucab

Airlock needs to have additional knobs to configure a "maintenance window" for reboots. Those needs to added both for the default group, and for specific custom groups.

A reboot window works in conjunction (logical AND) with existing counting-semaphore logic.

Entries to be added to the lock section:

  • default_reboot_window_days: a set of short-day-names (like date %a, i.e. [ "Mon", "Wed" ])
  • default_reboot_window_start: start time, in 24h format (i.e. 23:45)
  • default_reboot_window_duration: length, in minutes

Entries to be added for each lock.groups section (these override defaults, if set):

  • reboot_window_days
  • reboot_window_start
  • reboot_window_duration

Note: this relies on the system clock of the environment where an airlock process is running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions