Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1946366 - Katello::Errors::Pulp3Error: 'NoneType' object has no attribute 'pk'
Summary: Katello::Errors::Pulp3Error: 'NoneType' object has no attribute 'pk'
Keywords:
Status: CLOSED DUPLICATE of bug 1945377
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-05 21:17 UTC by Lai
Modified: 2021-04-06 13:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-06 13:24:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Traceback of nonetype error (3.46 KB, text/plain)
2021-04-05 21:19 UTC, Lai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 7876 0 None None None 2021-04-05 22:04:26 UTC

Description Lai 2021-04-05 21:17:42 UTC
Description of problem:
Running migration on customer db returns with "Katello::Errors::Pulp3Error: 'NoneType' object has no attribute 'pk'"

Version-Release number of selected component (if applicable):
6.9.0_19.1

How reproducible:


Steps to Reproduce:
1. Get a customer db on disk (use validate content sync to get data on disk)
2. Run migration

Actual results:
ForemanTasks::TaskError: Task b710be55-dc36-467f-9a62-93920a26e17b: Katello::Errors::Pulp3Error: 'NoneType' object has no attribute 'pk'

Expected results:
Migration should complete successfully without issues

Additional info:

Comment 1 Lai 2021-04-05 21:19:27 UTC
Created attachment 1769369 [details]
Traceback of nonetype error

Comment 3 Grant Gainey 2021-04-05 21:54:36 UTC
This snap is running python3-pulpcore-3.7.3-2.el7pc.noarch.rpm and python3-pulp-2to3-migration-0.10.0-1.el7pc.noarch.rpm (just as a note to anyone investigating)

Comment 4 Grant Gainey 2021-04-05 22:04:29 UTC
This looks exactly like https://pulp.plan.io/issues/7876 , which has been fixed and released upstream a few weeks ago.

Comment 5 Lai 2021-04-06 12:58:35 UTC
According to Tanya, this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1945377.  PM, please closed as a duplicate as appropriate.

Comment 6 Brad Buckingham 2021-04-06 13:24:23 UTC
Closing as a duplicate based upon comment 4 & 5.

*** This bug has been marked as a duplicate of bug 1945377 ***


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