Project

General

Profile

Bug #21612

Missing repo in content view if "Publish via HTTP" is changed

Added by Bernhard Suttner 9 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

- Product P exists with Yum Repository R. Publish via HTTP is turned off!
- Content View CV exists with Repository R. Version 1 was published an promoted to Development.

We want to publish the CV and its Repository via HTTP. Therefore, we do:
- Change Publish via HTTP to on for Repository R.
- Publish a new Version of CV (Version 2) and promote it to Development

Result: The Repository in CV for environment Development is still not fully available via HTTP.
Expected: Repository is reachable via HTTP in CV for environment Development.

Issue found with Katello 3.4.5


Related issues

Blocked by Katello - Bug #21548: re-use indexed data for promotionClosed2017-11-01

Associated revisions

Revision 66ef3f91 (diff)
Added by Partha Aji 7 months ago

Fixes #21612 - Promote op performs distro publish

Previously commits added smarts on running the metadata operations on a
CV publish only if necessary. The code would match content and force a
distribution publish only if content changed. However that code does not
look for changes related to the "publish via http"/"unprotected" on a
repo. So if the "publish-via-http" option on a repo is changed, the
promote operation would not perform a distributor publish even though it
should.

This commit fixes that by making sure that "matching content" operation
happens only if the "publish-via-http"/"unprotected" attribute has not
changed.

History

#1 Updated by Justin Sherrill 9 months ago

  • Target version set to 232

#2 Updated by Brad Buckingham 9 months ago

  • Target version changed from 232 to 236

#3 Updated by Justin Sherrill 9 months ago

  • Legacy Backlogs Release (now unused) set to 329
  • Assignee set to Justin Sherrill

#4 Updated by Brad Buckingham 8 months ago

  • Target version changed from 236 to 240

#5 Updated by Brad Buckingham 8 months ago

  • Target version changed from 240 to 239

#6 Updated by Brad Buckingham 8 months ago

  • Target version changed from 239 to 242

#7 Updated by Justin Sherrill 7 months ago

  • Legacy Backlogs Release (now unused) changed from 329 to 339

#8 Updated by Partha Aji 7 months ago

  • Assignee changed from Justin Sherrill to Partha Aji

#9 Updated by Brad Buckingham 7 months ago

  • Target version changed from 242 to 245

#10 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7169 added

#11 Updated by Partha Aji 7 months ago

  • Bugzilla link set to 1537796

#12 Updated by Partha Aji 7 months ago

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

#13 Updated by Andrew Kofink 4 months ago

  • Blocked by Bug #21548: re-use indexed data for promotion added

Also available in: Atom PDF