Pulp 2 to Pulp 3 content migration in Red Hat Satellite 6 fails with error Katello::Errors::Pulp3Error: No declared artifact with relative path "images/boot.iso" for content "<DistributionTree
Environment
- Red Hat Satellite 6.10
Issue
-
Content migration from Pulp 2 to Pulp 3 fails with below error:
ForemanTasks::TaskError: Task f2f8a123-5f98-1234-56c7-890cc0f12de: Katello::Errors::Pulp3Error: No declared artifact with relative path "images/boot.iso" for content "<DistributionTree: pk=d12b34a5-6fc7-8901-23b4-56d78901e2c3>"
Resolution
-
We do not have a resolution available for same but have following options available.
-
Need to wait for the fix to be available as Red Hat engineering team is currently working on it. Remain on Satellite version 6.9 and attempt content migration again once the fix is available.
-
Remove all the
AlmaLinuxrelated repositories from Satellite, clean the orphaned content and then attempt the content migration again.
-
For more KB articles/solutions related to Red Hat Satellite 6.x Pulp 2.0 to Pulp 3.0 Migration Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Pulp 2.0 to Pulp 3.0 Migration Issues
Root Cause
-
The
Alma Linuxrepository is enabled and synchronized on Satellite machine. -
This issue has been addressed by This content is not included.Red Hat Bugzilla #2033951 and fixed in the Red Hat Satellite 6.9.9 release.
Diagnostic Steps
-
Run below command on Satellite to check if issue is being observed because of
AlmaLinuxrepository enabled and synchronized on Satellite:# su - postgres -bash-4.2$ psql candlepin psql (12.7) Type "help" for help. candlepin=# \c pulpcore You are now connected to database "pulpcore" as user "postgres". pulpcore=# select * from rpm_distributiontree where content_ptr_id='d12b34a5-6fc7-8901-23b4-56d78901e2c3';
Note: The ptr_id can be obtained from the error message.
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.