Actions
Bug #30461
closedUpgraded Satellite has duplicated katello_pools indexes
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1858237
Description of problem:
I upgraded a Satellite from 6.7.2 to 6.8 snap 9.0 and it has duplicate indexes on katello_pools:
- su - postgres
c "psql -d foreman -c 'SELECT indrelid::regclass AS TableName,array_agg(indexrelid::regclass) AS Indexes FROM pg_index GROUP BY indrelid,indkey HAVING COUNT > 1;;'"+-----------------------------------------------------
tablename | indexes
--------------
katello_pools | {index_katello_pools_on_cp_id,index_pools_on_cp_id}
(1 row)
How reproducible:
Deterministic
Steps to Reproduce:
1. Upgrade Satellite
2. # su - postgres -c "psql -d foreman -c 'SELECT indrelid::regclass AS TableName,array_agg(indexrelid::regclass) AS Indexes FROM pg_index GROUP BY indrelid,indkey HAVING COUNT > 1;;'"
Actual results:
Duplicate indexes on katello_pools
Expected results:
No duplicate indexes (empty output)
Updated by Jonathon Turel over 4 years ago
- Priority changed from High to Low
- Target version set to Katello 3.16.0
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Jonathon Turel
- Pull request https://github.com/Katello/katello/pull/8847 added
Updated by The Foreman Bot over 4 years ago
- Fixed in Releases Katello 3.18.0 added
Updated by Jonathon Turel over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|cb98f46901f008f0f709d56646d04f853f2972d8.
Actions