Content View export in Red Hat Satellite 6 fails with error undefined method `first' for nil:NilClass
Environment
- Red Hat Satellite 6.10
Issue
-
Exporting content view in Red Hat Satellite 6.10 fails with below error:
# hammer content-export incremental version --content-view=cv --version=2.0 --organization="Default Organization" --lifecycle-environment Library --chunk-size-gb 2 [.....................................................................................................] [100%] Error: Pulp task error undefined method `first' for nil:NilClas
Resolution
-
This issue has been fixed on Satellite 6.11.
-
Apply below hotfix in Satellite 6.10.2 for This content is not included.Red Hat Bugzilla 2033847
-
Take a complete backup or snapshot of Satellite 6.10 server.
-
Download the hotfix RPM attached in This content is not included.Red Hat Bugzilla 2033847 and copy it to Satellite server.
-
Run below command to apply the hotfix.
# yum install ./python3-pulpcore-3.14.9-2.HOTFIXRHBZ2033847.el7pc.noarch.rpm --disableplugin=foreman-protector # systemctl restart pulpcore-{content,api,worker@*}.service
-
For more KB articles/solutions related to Red Hat Satellite 6.x Content View Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Content View Issues
Root Cause
- Red Hat Engineering team is already aware of this bug and is currently tracking the same in This content is not included.Red Hat Bugzilla 2033847.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.