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 1409003 - [RFE] As a user, I can install a specific version of a package
Summary: [RFE] As a user, I can install a specific version of a package
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.2.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1316897
TreeView+ depends on / blocked
 
Reported: 2016-12-28 21:21 UTC by Stuart Auchterlonie
Modified: 2022-03-24 21:50 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 19:14:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
hammer debug output (66.33 KB, text/plain)
2016-12-28 21:23 UTC, Stuart Auchterlonie
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 18709 0 None None None 2017-02-27 19:19:09 UTC
Red Hat Issue Tracker SAT-6934 0 None None None 2021-12-10 15:11:09 UTC

Description Stuart Auchterlonie 2016-12-28 21:21:10 UTC
Description of problem:

If there are multiple versions of a package in the repository,
for example with the kernel package, yum is able to install
any specific version, just by specifying the full version number

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

6.2.4

How reproducible:

100%

Steps to Reproduce:
1. Install system with rhel-7.2, and point at 7.3 repositories
2. Verify multiple versions of kernel package are available

# yum list --showduplicates kernel

3.

- Via Hammer

# hammer host package install --host <client system> --packages kernel-3.10.0-327.3.1.el7

- Via the web interface

Navigate to Hosts > Content Hosts > <client_system>
Select Packages tab, put the required kernel package
"kernel-3.10.0-327.3.1.el7" into the box next to
"Package Install" dropdown button, and perform the
action via katello-agent

Actual results:

Error: *:kernel-3.10.0-327.3.1-*-*.*: No package(s) available to install
*:kernel-3.10.0-327.3.1-*-*.*: No package(s) available to install

Expected results:

The package with the specific version requested should be installed

Additional info:

I've used the kernel package as an example as it has lots of different
versions available, however customer sees it in their own repository
containing custom rpms, and they require the ability to install specific
versions.

Comment 1 Stuart Auchterlonie 2016-12-28 21:23:02 UTC
Created attachment 1235731 [details]
hammer debug output

Comment 3 Brad Buckingham 2017-02-27 19:19:07 UTC
Created redmine issue http://projects.theforeman.org/issues/18709 from this bug

Comment 5 Satellite Program 2017-03-06 17:01:00 UTC
Upstream bug assigned to bbuckingham

Comment 6 Michael Hrivnak 2017-03-12 16:53:11 UTC
As another idea, is it possible for Katello to use something like an autocomplete widget to match a package that is known to be in a repository that the machine is bound to? That could make it very easy to select a package name, then select the desired version/release (or let it default to newest). If we can explicitly match a particular known package, that seems like a compelling way to go.

Comment 9 Brad Buckingham 2017-05-11 13:29:36 UTC
Comment 6 does provide alternative that we could investigate; however, it may be fairly involved to support in katello to provide a good user experience when accounting for differences between katello-agent vs rex and that the user may execute it from UI, API or CLI.  I like the concept of the alternative, but fear user would go from being able to enter package details that they are used to providing, to having them locate package IDs in katello and then providing them as an input (when using the API/CLI).

Comment 16 Bryan Kearney 2018-09-04 19:02:06 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 17 Bryan Kearney 2018-09-04 19:14:49 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please 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.