Bug 1199095 - Errata not visible by yum updateinfo
Summary: Errata not visible by yum updateinfo
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.0.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: David Davis
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2015-03-05 13:11 UTC by Peter Vreman
Modified: 2019-09-26 13:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 17:01:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1199100 0 high CLOSED Content view filter errata by date not working 2021-02-22 00:41:40 UTC

Internal Links: 1199100

Description Peter Vreman 2015-03-05 13:11:46 UTC
Description of problem:
The included errata in a content view are not visible on the client by yum updateinfo. The content view has an errata filter on date on it. Below is the configuraiton of the Content View and the yum updateinfo of the client on the kernel. For example the errata RHSA-2015:0062-1 is not listed on the client, although the belong kernel kernel-2.6.32-431.46.2 is installed.

Note that also the kernel 2.6.32-431.50.1.el6 is available in the yum repo without the RHSA-2015:0284-1 in the updateinfo. Although this errata should have been filtered out. I will create a separate BZ for that

Configuration of Content View:

#  hammer -c /opt/hoici/etc/sat6/hammer-hoici.yaml content-view info --id=6
ID:                 6
Name:               product-HOIOS-6.5.0-sp17
Label:              product-HOIOS-6_5_0-sp17
Composite:
Description:
Content Host Count:
Organization:       Hilti
Repositories:
 1) ID:    76
    Name:  HOIOS-6.5.0-sp17
    Label: HOIOS-6_5_0-sp17
 2) ID:    24
    Name:  Red Hat Enterprise Linux 6 Server - Extended Update Support - Optional RPMs x86_64 6.5
    Label: Red_Hat_Enterprise_Linux_6_Server_-_Extended_Update_Support_-_Optional_RPMs_x86_64_6_5
 3) ID:    30
    Name:  Red Hat Enterprise Linux 6 Server - Extended Update Support - Oracle Java RPMs x86_64 6.5
    Label: Red_Hat_Enterprise_Linux_6_Server_-_Extended_Update_Support_-_Oracle_Java_RPMs_x86_64_6_5
 4) ID:    21
    Name:  Red Hat Enterprise Linux 6 Server - Extended Update Support RPMs x86_64 6.5
    Label: Red_Hat_Enterprise_Linux_6_Server_-_Extended_Update_Support_RPMs_x86_64_6_5
 5) ID:    1
    Name:  Red Hat Enterprise Linux 6 Server Kickstart x86_64 6.5
    Label: Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_5
 6) ID:    13
    Name:  Red Hat Enterprise Linux 6 Server - RH Common RPMs x86_64 6.5
    Label: Red_Hat_Enterprise_Linux_6_Server_-_RH_Common_RPMs_x86_64_6_5
 7) ID:    37
    Name:  Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 RHEL 6 Server EUS x86_64 6.5
    Label: Red_Hat_Software_Collections_RPMs_for_Red_Hat_Enterprise_Linux_6_RHEL_6_Server_EUS_x86_64_6_5


# hammer -c /opt/hoici/etc/sat6/hammer-hoici.yaml content-view filter list --content-view-id=6
----------|------------------------------------------------|---------|----------
FILTER ID | NAME                                           | TYPE    | INCLUSION
----------|------------------------------------------------|---------|----------
12        | product-HOIOS-6.5.0-sp17 Post Freeze Additions | erratum | true
11        | product-HOIOS-6.5.0-sp17 Freeze Date           | erratum | true
10        | product-HOIOS-6.5.0-sp17 Original Packages     | rpm     | true
----------|------------------------------------------------|---------|----------

# hammer -c /opt/hoici/etc/sat6/hammer-hoici.yaml content-view filter info --id=10
Filter ID:    10
Name:         product-HOIOS-6.5.0-sp17 Original Packages
Type:         rpm
Inclusion:    true
Repositories:

Rules:

# hammer -c /opt/hoici/etc/sat6/hammer-hoici.yaml content-view filter info --id=11
Filter ID:    11
Name:         product-HOIOS-6.5.0-sp17 Freeze Date
Type:         erratum
Inclusion:    true
Repositories:

Rules:
 1) ID:         4
    Start Date: 2000-01-01
    End Date:   2015-02-24
    Types:      enhancement, bugfix, security
    Created:    2015/03/04 07:17:57
    Updated:    2015/03/04 07:17:58

# hammer -c /opt/hoici/etc/sat6/hammer-hoici.yaml content-view filter info --id=12
Filter ID:    12
Name:         product-HOIOS-6.5.0-sp17 Post Freeze Additions
Type:         erratum
Inclusion:    true
Repositories:

Rules:



Client output

$ sudo yum list kernel
Loaded plugins: changelog, downloadonly, package_upload, product-id, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
Hilti_HOIOS_HOIOS-6_5_0-sp17                                                                                           | 2.1 kB     00:00
Hilti_HOIPRODUCTS_HOIPRODUCTS-1_0_0-sp17                                                                               | 2.1 kB     00:00
rhel-6-server-eus-optional-rpms                                                                                        | 1.8 kB     00:00
rhel-6-server-eus-rpms                                                                                                 | 2.1 kB     00:00
Installed Packages
kernel.x86_64                           2.6.32-431.el6                                 @anaconda-RedHatEnterpriseLinux-201311111358.x86_64/6.5
kernel.x86_64                           2.6.32-431.40.2.el6                            @rhel-6-server-eus-rpms
kernel.x86_64                           2.6.32-431.46.2.el6                            @rhel-6-server-eus-rpms
Available Packages
kernel.x86_64                           2.6.32-431.50.1.el6                            rhel-6-server-eus-rpms


$ sudo yum updateinfo list all kernel
Loaded plugins: changelog, downloadonly, package_upload, product-id, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
Hilti_HOIOS_HOIOS-6_5_0-sp17                                                                                           | 2.1 kB     00:00
Hilti_HOIPRODUCTS_HOIPRODUCTS-1_0_0-sp17                                                                               | 2.1 kB     00:00
rhel-6-server-eus-optional-rpms                                                                                        | 1.8 kB     00:00
rhel-6-server-eus-rpms                                                                                                 | 2.1 kB     00:00
rhel-6-server-eus-thirdparty-oracle-java-rpms                                                                          | 2.1 kB     00:00
rhel-6-server-rh-common-rpms                                                                                           | 1.8 kB     00:00
rhel-server-rhscl-6-eus-rpms                                                                                           | 2.1 kB     00:00
i RHSA-2013:1801 Important/Sec. kernel-2.6.32-431.1.2.el6.x86_64
i RHBA-2014:0004 bugfix         kernel-2.6.32-431.3.1.el6.x86_64
i RHSA-2014:0159 Important/Sec. kernel-2.6.32-431.5.1.el6.x86_64
i RHSA-2014:0328 Important/Sec. kernel-2.6.32-431.11.2.el6.x86_64
i RHSA-2014:0475 Important/Sec. kernel-2.6.32-431.17.1.el6.x86_64
i RHSA-2014:0771 Important/Sec. kernel-2.6.32-431.20.3.el6.x86_64
i RHSA-2014:0924 Important/Sec. kernel-2.6.32-431.20.5.el6.x86_64
i RHSA-2014:0981 Important/Sec. kernel-2.6.32-431.23.3.el6.x86_64
i RHSA-2014:1167 Important/Sec. kernel-2.6.32-431.29.2.el6.x86_64
updateinfo list done



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


How reproducible:


Steps to Reproduce:
1. Create a Content View with the RedHat Repos and Filters listed above
2. Publish Content View
3. Client: check sudo yum updateinfo list all kernel
4. Client: check sudo yum list kernel

Actual results:
Errata RHSA-2015:0062-1 is missing

Expected results:
All kernel errata (e.g. RHSA-2015:0062-1) is listed in the yum updateinfo list all kernel

Additional info:

Comment 1 RHEL Program Management 2015-03-05 13:23:18 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Peter Vreman 2015-11-23 17:01:39 UTC
This case can be closed, it is fixed in Sat6.1.1


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