Project

General

Profile

Bug #30523

Make Candlepin database migration idempotent

Added by Eric Helms over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

The Candlepin database migration happens on every installer run because we cannot reliably detect if there are pending migrations. As a stop gap, we can store the Candlepin RPM in a file and check if it has changed.

See: https://bugzilla.redhat.com/show_bug.cgi?id=1861868

Associated revisions

Revision f32c2e7d (diff)
Added by Eric Helms over 2 years ago

Fixes #30523: Create providers to make database migration idempotent

Revision 34acdc91 (diff)
Added by Eric Helms over 2 years ago

Refs #30523: Let puppet-candlepin handle DB migration workflow

History

#1 Updated by The Foreman Bot over 2 years ago

  • Assignee set to Eric Helms
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-candlepin/pull/161 added

#2 Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Triaged changed from No to Yes
  • Target version set to 2.2.0
  • Category set to Foreman modules

#3 Updated by Eric Helms over 2 years ago

  • Target version changed from 2.2.0 to 2.3.0

#4 Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/569 added

#5 Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 2.3.0 added

#6 Updated by Eric Helms over 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF