Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1488167

Summary: Incremental publish of content-view does not show packages of added errata (RHSA-2017:1679)
Product: Red Hat Satellite Reporter: Ram Nainsingh Tiruwa <ramsingh>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: high    
Version: 6.2.11CC: abalakht, abradshaw, adprice, ajoseph, andrew.schofield, andy.speagle, anrussel, aperotti, bbuckingham, bmbouter, brcoca, cdonnell, cduryee, daviddavis, dkliban, egolov, ggainey, gpatil, greartes, hprakash, ipanova, jsherril, karnsing, ktordeur, mhrivnak, mmccune, mtenheuv, pcfe, pcreech, rchan, smane, tsorense, ttereshc, vijsingh, xdmoon, zhunting
Target Milestone: UnspecifiedKeywords: FieldEngineering, PrioBumpField, PrioBumpGSS, Regression, Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pulp-rpm-2.8.7.18-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1489778 (view as bug list) Environment:
Last Closed: 2017-10-12 17:43:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1489778    
Attachments:
Description Flags
verification screenshot 1
none
verification screenshot 2
none
verification screenshot 3
none
custom 1
none
custom 2 none

Description Ram Nainsingh Tiruwa 2017-09-04 13:55:56 UTC
Description of problem: publishing incremental content-view the errata RHSA-2017:1679, relevant pkg's are not showing in the content view.


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


How reproducible:


Steps to Reproduce:
1.Satellite 6.2.11
2.content-view version list --organization-id=1
3.erratum list -->> Select errata-id which need to be added to content-view.
4.command to publish incremental -->>#hammer content-view version incremental-update --errata-ids RHSA-2017:2473 --resolve-dependencies true  --lifecycle-environments Library --content-view-version-id=26 --organization-id=1


Actual results: not able to see packages of relevant errata in the incremental published content-view.


Expected results: packages should be visible in published content-view version Packages Tab.


Additional info: Tried reproducing in my test environment (satellite 6.2.11), Able to see ERRATA in published content-view version Errata tab, but unable to see packages in the same content-view.

Comment 9 pulp-infra@redhat.com 2017-09-09 18:36:41 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 10 pulp-infra@redhat.com 2017-09-09 18:36:44 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 11 pulp-infra@redhat.com 2017-09-12 15:03:08 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 14 pulp-infra@redhat.com 2017-09-18 20:36:27 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 18 pulp-infra@redhat.com 2017-09-21 16:01:46 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 19 pulp-infra@redhat.com 2017-09-21 21:04:15 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 20 pulp-infra@redhat.com 2017-09-21 21:31:41 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.

Comment 21 pulp-infra@redhat.com 2017-10-05 22:02:03 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 24 jcallaha 2017-10-10 20:53:05 UTC
Verified in Satellite 6.2.12 Snap 6.

1. Created a content view and added a number of rhel 7 server repos.
2. Created a filter removing errata older than 1 Jan 2017.
3. Published the content view
4. Incrementally updated the content view with a filtered out errata.

The packages included in the errata are available in the content view.


See below and attached screenshots for additional information

-bash-4.2# hammer content-view version list --organization-id=1
[Foreman] Password for admin: 
---|-------------------------------|---------|-----------------------
ID | NAME                          | VERSION | LIFECYCLE ENVIRONMENTS
---|-------------------------------|---------|-----------------------
7  | rhel7 4.0                     | 4.0     | Library               
6  | rhel7 3.2                     | 3.2     |                       
5  | rhel7 3.1                     | 3.1     |                       
4  | rhel7 3.0                     | 3.0     |                       
3  | rhel7 2.0                     | 2.0     |                       
2  | rhel7 1.0                     | 1.0     |                       
1  | Default Organization View 1.0 | 1.0     | Library               
---|-------------------------------|---------|-----------------------
-bash-4.2# 
-bash-4.2# hammer content-view version incremental-update --errata-ids RHSA-2016:2750 --resolve-dependencies true --lifecycle-environments Library --content-view-version-id=7 --organization-id=1
[Foreman] Password for admin: 
[....................................................................................................................................................................................] [100%]
Content View: rhel7 version 4.1
Added Content:
  Errata:
        RHSA-2016:2750
  Packages:
        rh-php56-2.3-1.el7.x86_64
        rh-php56-php-5.6.25-1.el7.x86_64
        rh-php56-php-bcmath-5.6.25-1.el7.x86_64
        rh-php56-php-cli-5.6.25-1.el7.x86_64
        rh-php56-php-common-5.6.25-1.el7.x86_64
        rh-php56-php-dba-5.6.25-1.el7.x86_64
        rh-php56-php-dbg-5.6.25-1.el7.x86_64
        rh-php56-php-devel-5.6.25-1.el7.x86_64
        rh-php56-php-embedded-5.6.25-1.el7.x86_64
        rh-php56-php-enchant-5.6.25-1.el7.x86_64
        rh-php56-php-fpm-5.6.25-1.el7.x86_64
        rh-php56-php-gd-5.6.25-1.el7.x86_64
        rh-php56-php-gmp-5.6.25-1.el7.x86_64
        rh-php56-php-intl-5.6.25-1.el7.x86_64
        rh-php56-php-ldap-5.6.25-1.el7.x86_64
        rh-php56-php-mbstring-5.6.25-1.el7.x86_64
        rh-php56-php-mysqlnd-5.6.25-1.el7.x86_64
        rh-php56-php-odbc-5.6.25-1.el7.x86_64
        rh-php56-php-opcache-5.6.25-1.el7.x86_64
        rh-php56-php-pdo-5.6.25-1.el7.x86_64
        rh-php56-php-pear-1.9.5-4.el7.noarch
        rh-php56-php-pecl-jsonc-1.3.6-3.el7.x86_64
        rh-php56-php-pecl-jsonc-devel-1.3.6-3.el7.x86_64
        rh-php56-php-pgsql-5.6.25-1.el7.x86_64
        rh-php56-php-process-5.6.25-1.el7.x86_64
        rh-php56-php-pspell-5.6.25-1.el7.x86_64
        rh-php56-php-recode-5.6.25-1.el7.x86_64
        rh-php56-php-snmp-5.6.25-1.el7.x86_64
        rh-php56-php-soap-5.6.25-1.el7.x86_64
        rh-php56-php-xml-5.6.25-1.el7.x86_64
        rh-php56-php-xmlrpc-5.6.25-1.el7.x86_64
        rh-php56-runtime-2.3-1.el7.x86_64
        rh-php56-scldevel-2.3-1.el7.x86_64
        scl-utils-20130529-17.el7_1.x86_64

Comment 25 jcallaha 2017-10-10 20:53:37 UTC
Created attachment 1336896 [details]
verification screenshot 1

Comment 26 jcallaha 2017-10-10 20:54:02 UTC
Created attachment 1336897 [details]
verification screenshot 2

Comment 27 jcallaha 2017-10-10 20:54:28 UTC
Created attachment 1336899 [details]
verification screenshot 3

Comment 28 jcallaha 2017-10-11 13:42:44 UTC
Additionally, tested using custom errata with steps outlined in [1]. The incremental update and errata installation went smooth. See additional screenshots for verification.

[1] - https://access.redhat.com/articles/1526413

Comment 29 jcallaha 2017-10-11 13:43:09 UTC
Created attachment 1337245 [details]
custom 1

Comment 30 jcallaha 2017-10-11 13:43:34 UTC
Created attachment 1337246 [details]
custom 2

Comment 34 errata-xmlrpc 2017-10-12 17:43:41 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/RHBA-2017:2887

Comment 35 Brad Buckingham 2018-02-20 19:46:49 UTC
*** Bug 1488618 has been marked as a duplicate of this bug. ***