Bug 2043699

Summary: Content view export failed with undefined method `first' for nil:NilClass
Product: Red Hat Satellite Reporter: Brad Buckingham <bbuckingham>
Component: PulpAssignee: Hao Chang Yu <hyu>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: high Docs Contact:
Priority: high    
Version: 6.10.0CC: ahumbe, dkliban, janarula, jpasqual, kkinge, osousa, pratshar, rcoe, sadas, saydas, wclark, william.skupaiii, yoliynyk
Target Milestone: 6.10.3Keywords: PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pulpcore-3.14.11-1.el7pc Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2033847 Environment:
Last Closed: 2022-03-08 21:26:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Lai 2022-02-10 18:28:25 UTC
Steps to test:

1. Enable and sync:

Red_Hat_Enterprise_Linux_7_Server_RPMs_x86_64_7Server

2. Create a content view and add the above repo
3. Publish the content view
4. Do a full export the content view
5. Publish a new version of the cv
6. Do an incremental export

Expected:
Complete and incremental export should finish successfully

Actual:
Complete and incremental export does finish successfully

# hammer content-export complete version --content-view=rhel --organization="Default Organization" --lifecycle-environment Library
[................................................................................................................................] [100%]
Generated /var/lib/pulp/exports/Default_Organization/rhel/2.0/2022-02-10T11-22-17-05-00/metadata.json
[root@dhcp-3-36 ~]# hammer content-export incremental version --content-view=rhel --version=2.0 --organization="Default Organization" --lifecycle-environment Library --chunk-size-gb 2
[................................................................................................................................] [100%]
Generated /var/lib/pulp/exports/Default_Organization/rhel/2.0/2022-02-10T12-42-33-05-00/metadata.json

Verified with python3-pulpcore-3.14.11-1.el7pc.noarch on 6.10.3 snap 1

Comment 8 errata-xmlrpc 2022-03-08 21:26:08 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 (Low: Satellite 6.10.3 Async Bug Fix Update), 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-2022:0790