Project

General

Profile

Actions

Bug #24855

open

repository update will save info to Katello DB before backend services are updated

Added by Chris Duryee about 6 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

If you enter bad data in Katello on the repository update page or via hammer or API, you may be able to get into a state where the Katello DB is updated, but Pulp does not accept the data. You're then left in a state where Katello and Pulp have a mismatch, which can cause issues.

To reproduce this issue, you may need to revert https://github.com/Katello/katello/pull/7673. There are probably other ways to do it too (perhaps by stopping pulp during a repo update), but I'm not sure how.

app/lib/actions/katello/repository/update.rb likely needs to be refactored to not update the attributes during plan phase.

Actions #1

Updated by Jonathon Turel about 6 years ago

  • Target version set to Katello 3.10.0
  • Triaged changed from No to Yes
Actions #2

Updated by Christine Fouant almost 6 years ago

  • Target version changed from Katello 3.10.0 to Katello Backlog
Actions #3

Updated by Ian Ballou about 2 months ago

  • Target version deleted (Katello Backlog)
Actions

Also available in: Atom PDF