Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1470671 - OS created automatically after syncing the kickstart repo is not assigned to the provisioning templates
Summary: OS created automatically after syncing the kickstart repo is not assigned to ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Lukas Zapletal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-13 12:40 UTC by Roman Plevka
Modified: 2019-08-12 14:38 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-katello-3.4.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:49:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20336 0 None None None 2017-07-19 01:26:07 UTC

Description Roman Plevka 2017-07-13 12:40:29 UTC
Description of problem:
The OS which is automatically created after syncing an OS repo (kicstart) is not automatically assigned to any Provisioning templates.
The pre-created OS (e.g. rhel7.3 if the satellite runs on it) contains these associations and the appropriate templates are pre-selected.

Also, If user creates the known OS manually (e.g. RHEL 5.10), these associations are made.

Version-Release number of selected component (if applicable):
satellite-6.3.0-16.0.beta.el7sat.noarch

How reproducible:
always


Steps to Reproduce:
1. sync a kicstart repo of OS that isn't listed in the Operating Systems yet
2. assert the appt OS has been created
3. check the 'templates' section of the OS (you can compare it with the defaul precreated RHEL os, eventually you can create your own RHEL OS to confirm, the templates are automatically assigned)

Actual results:
no templates associated

Expected results:
since the OS is known, it should have the all applicable templates associated and pre-selected

Additional info:
i chose the "Other" component, since i wasn't sure, whether this is 'Repository' or 'Provisioning Templates'

Comment 4 Justin Sherrill 2017-07-19 01:26:06 UTC
Created redmine issue http://projects.theforeman.org/issues/20336 from this bug

Comment 5 Satellite Program 2017-07-19 18:11:28 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20336 has been resolved.

Comment 6 Satellite Program 2017-08-03 22:13:48 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20336 has been resolved.

Comment 7 Lukas Zapletal 2017-08-09 11:44:50 UTC
Synced RHEL 7.4 via on-demand policy. RedHat 7.4 OS was created, all templates are associated as expected.

I see no Installation Media associated but that's expected.

Created host with this OS, kickstart renders fine:

install
url --url http://xxxx.redhat.com/pulp/repos/MyOrg/Library/content/dist/rhel/server/7/7.4/x86_64/kickstart/
lang en_US.UTF-8
selinux --enforcing
keyboard us
skipx
...

[root@zzzap ~]# rpm -q foreman katello
foreman-1.15.2-1.el7sat.noarch
katello-3.4.4-2.el7sat.noarch

Comment 8 Satellite Program 2018-02-21 16:49:54 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.