Skip to content

Connection error because users not included in backup #140

Description

@simcod

Description

After restoring metal-api from a s3 backend, backup-restore-sidecar successfully restored the database. However, the metal-api was not able to connect to the database with following error:

...
{"level":"ERROR","msg":"db connection error","datastore":{"db":"metalapi","hosts":["metal-db"],"error":"cannot connect to DB: rethinkdb: Unknown user"}
...

It was necessary to redeploy the metal-stack control plane. The initdb job successfully created the metal user in the database again.
However, we should consider backing up and restoring the users as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: control-planeAffects the metal-stack control-plane area.

    Type

    No fields configured for Bug.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions