Project

General

Profile

Bug #5100

foreman content: issues with creating content

Added by Brad Buckingham over 6 years ago. Updated 10 months ago.

Status:
Closed
Priority:
High
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

As part of managing content in katello, it needs to also create content within foreman (e.g. install media, operating systems...etc) at the appropriate points in time (e.g. repo synchronization, content view publish & promotion).

There are a couple of issues with the current implementation that need to be addressed:
1. Do not create foreman content (install media, OS...etc) when creating a repo in the default content view (i.e. Library)
2. Do not blindly create install media, if it already exists (e.g. rather than Medium.create! do Medium.find_or_create_medium)

Associated revisions

Revision fd05a4e3 (diff)
Added by Brad Buckingham over 6 years ago

fixes #5100 - updates to how/when foreman content is created

This commit addresses 2 issues:

1. Do not create foreman content (install media, OS...etc) when creating a repo in the default content view (i.e. Library)
2. Do not blindly create install media, if it already exists (e.g. rather than Medium.create! do Medium.find_or_create_medium)

Revision 68ac26a9
Added by Brad Buckingham over 6 years ago

Merge pull request #3954 from bbuckingham/issue-5100

fixes #5100 - updates to how/when foreman content is created

History

#1 Updated by Brad Buckingham over 6 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:fd05a4e31b49a4a6b7e5f4f91247ad0863133618.

#2 Updated by Eric Helms over 6 years ago

  • Triaged changed from No to Yes

#3 Updated by Eric Helms about 6 years ago

  • Legacy Backlogs Release (now unused) set to 13

#4 Updated by Shira Maximov 10 months ago

Changing the

#5 Updated by Shira Maximov 10 months ago

Changing the

#6 Updated by Shira Maximov 10 months ago

Changing the

Also available in: Atom PDF