Skip to content

Gracefully handle direct site deletion #104

@JPadovano1483

Description

@JPadovano1483

If a fully deployed site/namespace is deleted directly and the database record still exists, the management controller errors and crashes due to the manage accesspoint DNS being unresolvable. This becomes a larger problem when the colocated site sync module tries to redeploy the site due to the namespace not existing. The router module starts to error and stops the sync from properly deploying.

To replicate:

  • Fully deploy an sk2 site (create manage AP and fully bootstrap to 'deployed' state)
  • delete the namespace the site is deployed to in kubernetes
  • observe the logs from the management controller

This needs to be handled more gracefully so the router module doesn't keep trying to reach a deleted accesspoint, blocking the redeployment of that same accesspoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions