WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

initial dynamic config not checked/restored if lost #247

@minrk

Description

@minrk

Bug description

If the initial dynamic config set by setup_dynamic_config is lost, TraefikProxy never checks and restores the config. It has all the information needed to do so, it just doesn't check.

This can happen e.g. when the storage backend restarts without persistence (seen in #242) or there is data loss.

Restarting the Hub works to restore everything.

How to reproduce

  1. Launch redis-server with no persistence
  2. launch jupyterhub with traefik_redis
  3. restart redis-server (state lost)
  4. attempt a launch, it won't work

Expected behaviour

dynamic config is checked periodically and recreated, just like the routing table. This should perhaps be added to check_routes

Actual behaviour

dynamic config can only be recreated by restarting the Hub

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions