Skip to content

Setup check for the HaRP container's version #697

@kyteinsky

Description

@kyteinsky

Describe why it is important and where it will be useful

We don't have any automation in updates of the manually installed deploy daemons. It is easy to forget the updates and then face 403 issues for example when new rules are added to the deploy daemon and app_api expects them there but the daemon is too old.

Describe your proposed solution

It would be good to have a minimum supported version set in app_api and do periodic setup checks, maybe once a week, to check if the all the deploy daemons are at least that version.
Unfortunately, the ship has sailed for Docker Socket Proxy (DSP) but HaRP does have a route for that: https://github.com/nextcloud/HaRP/blob/190adfa070a7450fe0278b4b853ba566f2e4313c/haproxy_agent.py#L517-L518
The setup check should therefore only perform this check on the HaRP daemons.

Describe alternatives you've considered, if relevant

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions