Bug #21612

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

Added by Bernhard Suttner 7 months ago. Updated 4 months ago.

Status:Closed
Priority:Normal
Assigned To:Partha Aji
Category:Content Views
Target version:Team Brad - Iteration 27
Difficulty:medium Pull request:https://github.com/Katello/katello/pull/7169
Bugzilla link:1537796 Found in Katello release:
Story points-
Velocity based estimate-
ReleaseKatello 3.5.2Release relationshipAuto

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 promotion Closed 11/01/2017

Associated revisions

Revision 66ef3f91
Added by Partha Aji 4 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 6 months ago

  • Target version set to Team Brad - Iteration 23

#2 Updated by Brad Buckingham 6 months ago

  • Target version changed from Team Brad - Iteration 23 to Team Brad - Iteration 24

#3 Updated by Justin Sherrill 6 months ago

  • Release set to Katello 3.5.1
  • Assigned To set to Justin Sherrill

#4 Updated by Brad Buckingham 5 months ago

  • Target version changed from Team Brad - Iteration 24 to Team Brad - Iteration 25

#5 Updated by Brad Buckingham 5 months ago

  • Target version changed from Team Brad - Iteration 25 to Team UX - Iteration 26

#6 Updated by Brad Buckingham 5 months ago

  • Target version changed from Team UX - Iteration 26 to Team Brad - Iteration 26

#7 Updated by Justin Sherrill 4 months ago

  • Release changed from Katello 3.5.1 to Katello 3.5.2

#8 Updated by Partha Aji 4 months ago

  • Assigned To changed from Justin Sherrill to Partha Aji

#9 Updated by Brad Buckingham 4 months ago

  • Target version changed from Team Brad - Iteration 26 to Team Brad - Iteration 27

#10 Updated by The Foreman Bot 4 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 4 months ago

  • Bugzilla link set to 1537796

#12 Updated by Partha Aji 4 months ago

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

#13 Updated by Andrew Kofink about 1 month ago

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

Also available in: Atom PDF