Project

General

Profile

Actions

Refactor #15200

closed

db migrations should not be used to modify external databases

Added by Ohad Levy over 8 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Branch:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

in katello 3.0 db migrations are used to modify pulp and candlepin databases.

IMHO this is the wrong approach which creates a lot of upgrades related issues (e.g. its enough one backend service malfunction and the entire upgrade is broken).

I think this should be redesigned, to use foreman-tasks or out side of the rails db migration process.

not to mention, so of the modifications do take a lot of time, and the ux experience on the installer is far from behind friendly (e.g. pulp migrations them self took more than 30 minutes on my system).


Related issues 1 (1 open0 closed)

Related to Foreman - Refactor #15866: Provide alternative way of migrating data as oposed misuing db:migrate for this purposeNew07/27/2016Actions
Actions #1

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release set to 143
Actions #2

Updated by Justin Sherrill over 8 years ago

  • Status changed from New to Rejected
  • Translation missing: en.field_release changed from 143 to 166

We do avoid this when possible, but in this case the amount of changes needed was too dramatic and tables were going to be deleted in future migrations that contained needed data.

Actions #3

Updated by Ivan Necas over 8 years ago

  • Related to Refactor #15866: Provide alternative way of migrating data as oposed misuing db:migrate for this purpose added
Actions

Also available in: Atom PDF