Project

General

Profile

Bug #21206

Partition tables loses org/loc association after upgrade

Added by Ivan Necas about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1498494

Description of problem:

How reproducible:
Always

Steps to Reproduce:
1. Have partition tables in Default org , provision host using the same partition table
2. Upgrade to nightlies
3.

Actual results:
Partition tables are removed from the organization

Expected results:
The associations should retain after upgrade

Additional info:


Related issues

Related to Foreman - Bug #20708: Audit do not properly display and search on partition tables and provisioning templatesClosed2017-08-23
Related to Foreman Remote Execution - Bug #21888: Upgrade to 6.3 hides ReX templatesClosed2017-12-06

Associated revisions

Revision e91844d8 (diff)
Added by Ivan Necas about 3 years ago

Fixes #21206 - Fix templates taxonomies migration

In 0969b62, we added a migration to change the type of taxable
taxonomies. Unfortunatelly, it was not working right
as migratios don't run with any user and Ptable.all returned
empty set. We need to make sure to unscope when loading the data.

History

#1 Updated by Ivan Necas about 3 years ago

  • Related to Bug #20708: Audit do not properly display and search on partition tables and provisioning templates added

#2 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ivan Necas
  • Pull request https://github.com/theforeman/foreman/pull/4893 added

#3 Updated by Marek Hulán about 3 years ago

  • Subject changed from Partition tables loses org/loc association after upgrade to Partition tables loses org/loc association after upgrade
  • Legacy Backlogs Release (now unused) set to 296

#4 Updated by Ivan Necas about 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Ivan Necas almost 3 years ago

  • Related to Bug #21888: Upgrade to 6.3 hides ReX templates added

Also available in: Atom PDF