Project

Profile

Help

Issue #8377

closed

Content Migration to Pulp 3 with Katello fails with message "No declared artifact"

Added by fbachmann about 3 years ago. Updated about 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 93
Quarter:

Description

Greetings.

Members of the Foreman/Katello development team asked me to open an issue here.

Content migration to Pulp 3 using foreman-maintain content prepare fails with the following error message:

ForemanTasks::TaskError: Task 5dfd06d7-4d68-4977-8b2f-63445abc8e25: Katello::Errors::Pulp3Error: No declared artifact with relative path "images/boot.iso" for content "<DistributionTree: pk=6995fa03-af4e-4f86-b324-a9888309a5e7>"

The corresponding entry in Pulp 3’s PostgreSQL database (table rpm_distributiontree) looks like this:

pulpcore=# select * from rpm_distributiontree where content_ptr_id='6995fa03-af4e-4f86-b324-a9888309a5e7';
-[ RECORD 1 ]--------+-------------------------------------
content_ptr_id       | 6995fa03-af4e-4f86-b324-a9888309a5e7
header_version       | 1.2
release_name         | CentOS Linux
release_short        | CentOS
release_version      | 8
release_is_layered   | f
base_product_name    |
base_product_short   |
base_product_version |
arch                 | x86_64
build_timestamp      | 0
instimage            |
mainimage            | images/install.img
discnum              |
totaldiscs           |

I am not sure what to make of this. My synchronized CentOS 8 repository os seems to include an images/boot.iso file.

I have synchronized the CentOS 8 repository from http://mirror.centos.org/centos/7/BaseOS/x86_64/os/.

The following Pulp modules are installed on my system:

pulp-2to3-migration (0.8.0)
pulp-certguard (1.0.3)
pulp-container (2.1.0)
pulp-file (1.3.0)
pulp-rpm (3.7.0)
pulpcore (3.7.3)

With kind regards Florian


Related issues

Related to Pulp - Issue #8514: Foreman Katello: Unable to migrate pulp2 to pulp3CLOSED - DUPLICATE04/07/2021Actions

Also available in: Atom PDF