Bug #21612
Missing repo in content view if "Publish via HTTP" is changed
Difficulty:
medium
Triaged:
Bugzilla link:
Pull request:
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
Associated revisions
History
#1
Updated by Justin Sherrill over 4 years ago
- Target version set to 232
#2
Updated by Brad Buckingham over 4 years ago
- Target version changed from 232 to 236
#3
Updated by Justin Sherrill over 4 years ago
- Legacy Backlogs Release (now unused) set to 329
- Assignee set to Justin Sherrill
#4
Updated by Brad Buckingham over 4 years ago
- Target version changed from 236 to 240
#5
Updated by Brad Buckingham over 4 years ago
- Target version changed from 240 to 239
#6
Updated by Brad Buckingham over 4 years ago
- Target version changed from 239 to 242
#7
Updated by Justin Sherrill over 4 years ago
- Legacy Backlogs Release (now unused) changed from 329 to 339
#8
Updated by Partha Aji over 4 years ago
- Assignee changed from Justin Sherrill to Partha Aji
#9
Updated by Brad Buckingham over 4 years ago
- Target version changed from 242 to 245
#10
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7169 added
#11
Updated by Partha Aji over 4 years ago
- Bugzilla link set to 1537796
#12
Updated by Partha Aji over 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset katello|66ef3f91b66e75ea73342395e44757beddb3cfbb.
#13
Updated by Andrew Kofink over 4 years ago
- Blocked by Bug #21548: re-use indexed data for promotion added
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.