Bug 1439978 - [RFE] Installation medium of host provisioned from Satellite should update when the base OS in updated.
Summary: [RFE] Installation medium of host provisioned from Satellite should update wh...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.2.8
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2017-04-07 01:53 UTC by Varatharaja Perumal G
Modified: 2022-03-13 14:14 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-30 14:51:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 19233 0 Normal New Installation medium of host provisioned from Foreman should update when the base OS in updated. 2021-02-12 01:03:42 UTC
Red Hat Bugzilla 1267521 0 urgent CLOSED Medium is not updated after OS is changed on client 2022-03-13 13:58:43 UTC
Red Hat Issue Tracker SAT-4986 0 None None None 2021-09-09 12:15:47 UTC

Internal Links: 1267521

Description Varatharaja Perumal G 2017-04-07 01:53:35 UTC
Description of problem:

Installation medium of a host provisioned from Satellite should updated automatically when a base OS is upgraded.

Version-Release number of selected component (if applicable):
Satellite 6.2

How reproducible:


Steps to Reproduce:

1. Build host on 6.6 from a hostgroup with 6.6 and 6.6 install media configured
2. Upgrade host to 6.8
3. Ensure that the host view in satellite shows 6.8 (Operating System	RHEL Server 6.8)
4. Click build to rebuild host it will used the media attached earlier.

Actual results:

Installatoin medium is not getting updated when OS is updated.

Expected results:

When Base OS is updated Satellite should update the installation medium.

Additional info:

Customer is not using Puppet environment. Updating the installation medium will help customer on manually updating the medium, reduce update timing and also resolve medium validation error.

Comment 2 Marek Hulan 2017-04-10 10:54:44 UTC
The update was caused by the subscription-manager facts upload. Anyway we should try to find a way to auto-assign installation media from previous OS to new OS that's auto-created.

Comment 3 Marek Hulan 2017-04-10 11:00:19 UTC
Created redmine issue http://projects.theforeman.org/issues/19233 from this bug

Comment 4 Peter Vreman 2017-05-02 10:48:09 UTC
This should not only apply to facts upload changing the OS, but to all changes of the OS, also through the API and UI.

If implemented as general update-to-valid-kickstart-repo then it might also fix the https://bugzilla.redhat.com/show_bug.cgi?id=1446659 that is similair, but affects changing the CV thorugh the APi.

Comment 5 Peter Vreman 2017-05-02 11:01:44 UTC
The problem is that the code is not consistent. E.g. the renderer_extensions has code to check if the is a kcikstart repo without checking for a valid kickstart_repo_id:

From renderer_extensions.rb:
----
        content_view = @host.try(:content_facet).try(:content_view) || @host.try(:content_view)
        if content_view && @host.operatingsystem.is_a?(Redhat) &&
                @host.operatingsystem.kickstart_repos(@host).first.present?
          @mediapath ||= @host.operatingsystem.mediumpath(@host)
        end
----

This kind of checks prevent an invalid kickstart repo for the template rendering, but it does nto fix the API and UI feedback to the user.

Comment 10 Bryan Kearney 2018-11-01 14:45:25 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is  not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Rich Jerrido or Bryan Kearney or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 11 Peter Vreman 2018-11-02 10:38:44 UTC
With Sat6.4 updating the medium after an OS change is already improved. I think the new behaviour covers this BZ also

Comment 12 Bryan Kearney 2018-11-06 18:58:57 UTC
Peter, thank you for the update. I will keep this open until December and then let it close out then.

Comment 13 Bryan Kearney 2018-11-30 14:51:36 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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