Bug 2043699 - Content view export failed with undefined method `first' for nil:NilClass
Summary: Content view export failed with undefined method `first' for nil:NilClass
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.10.3
Assignee: Hao Chang Yu
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-21 19:41 UTC by Brad Buckingham
Modified: 2022-08-08 07:07 UTC (History)
13 users (show)

Fixed In Version: python-pulpcore-3.14.11-1.el7pc
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2033847
Environment:
Last Closed: 2022-03-08 21:26:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pulp pulpcore pull 1782 0 None Merged Fix import and export OOM error 2022-01-21 19:41:22 UTC
Pulp Redmine 9645 0 None None None 2022-01-21 19:41:22 UTC
Red Hat Product Errata RHSA-2022:0790 0 None None None 2022-03-08 21:26:23 UTC

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


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