Epimetheus icon indicating copy to clipboard operation
Epimetheus copied to clipboard

Default database initialisation by backend server

Open tfrisk opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. When creating a new installation from scratch, backend server fails to start if using fresh postgresql installation without any databases added.

Describe the solution you'd like It would be nice if epimetheus backend server would create database with sensible defaults if it does not exist. This would help with our attempts to create an openshift template for epimetheus.

Describe alternatives you've considered Alternative is to notice database is empty, notify user and frontend and then keep the backend server running. That would satisfy openshift as the pod would be kept running instead of going into crash loop.

Additional context We are writing openshift template for epimetheus and this issue/feature is blocking our efforts.

tfrisk avatar Sep 25 '20 13:09 tfrisk