New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add check that alembic version of DB works with rucio release #1157
Comments
Hmm, it's technically not mandatory to use alembic to install the database, so looking for the alembic_version might not be the right approach. What we could do is to test if it is there and compare then, I am not so sure if this is really helpful though. |
It is a real pain to recover from this issues. I would really prefer that
there is only one way to install and upgrade the DB. If we want to maintain
the ability to install the DB without alembic, you shouldn't be able to use
alembic to upgrade the database.
…On Tue, 22 May 2018 at 15:06, Martin Barisits ***@***.***> wrote:
Hmm, it's technically not mandatory to use alembic to install the
database, so looking for the alembic_version might not be the right
approach. What we could do is to test if it is there and compare then, I am
not so sure if this is really helpful though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1157 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABG4FjQsPhzEFytXcCp8e_d4S6WbdgMpks5t1CmRgaJpZM4T-Ps0>
.
--
Benedikt Riedel
Scientific Programmer
University of Chicago
Computation Institute
|
We discussed this in the meeting today. We will add a check for this in all daemons on startup.
|
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Aug 19, 2020
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Aug 19, 2020
… to test for an old alembic revision in the database. Implement first tests for failing on old DB. Add alembic daemon startup test for old DB.
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Aug 19, 2020
… to test for an old alembic revision in the database. Add is_old_db test in run_tests_docker.sh. Add startup tests for old DB in all daemons. Add test_daemons.py for testing all daemons on that behavior.
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Aug 19, 2020
… to test for an old alembic revision in the database. Move alembic migration to tools/alembic_migration.sh. Add is_old_db test in alembic_migration.sh. Add startup tests for old DB in all daemons. Add test_daemons.py for testing all daemons on that behavior.
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Aug 21, 2020
… to test for an old alembic revision in the database. Move alembic migration to tools/alembic_migration.sh. Add is_old_db test in alembic_migration.sh. Add startup tests for old DB in all daemons. Add test_daemons.py for testing all daemons on that behavior.
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Aug 22, 2020
… to test for an old alembic revision in the database. Move alembic migration to tools/alembic_migration.sh. Add is_old_db test in alembic_migration.sh. Add startup tests for old DB in all daemons. Add test_daemons.py for testing all daemons on that behavior.
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Aug 28, 2020
… to test for an old alembic revision in the database. Move alembic migration to tools/alembic_migration.sh. Add is_old_db test in alembic_migration.sh. Add startup tests for old DB in all daemons. Add test_daemons.py for testing all daemons on that behavior.
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Sep 2, 2020
… to test for an old alembic revision in the database. Move alembic migration to tools/alembic_migration.sh. Add is_old_db test in alembic_migration.sh. Add startup tests for old DB in all daemons. Add test_daemons.py for testing all daemons on that behavior.
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Sep 14, 2020
… to test for an old alembic revision in the database. Move alembic migration to tools/alembic_migration.sh. Add is_old_db test in alembic_migration.sh. Add startup tests for old DB in all daemons. Add test_daemons.py for testing all daemons on that behavior.
bziemons
added a commit
to bziemons/rucio
that referenced
this issue
Sep 22, 2020
… to test for an old alembic revision in the database. Move alembic migration to tools/alembic_migration.sh. Add is_old_db test in alembic_migration.sh. Add startup tests for old DB in all daemons. Add test_daemons.py for testing all daemons on that behavior.
bari12
added a commit
that referenced
this issue
Sep 25, 2020
…ision_in_daemons Core & Internals: Add is_old_db method; Fix #1157
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
alembic_version
is not set in the DBModification
At start up the RESTful API checks whether the
alembic_version
is in a whitelist, or whether the code version is supported.The text was updated successfully, but these errors were encountered: