Project

Profile

Help

Issue #4522

closed

Lazy sync fails with "Attempting to save a ContentArtifact for an unsaved Artifact"

Added by daviddavis about 5 years ago. Updated over 4 years ago.

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

Description

When lazy syncing a repository, the task fails with the following traceback:

        "traceback": "  File \"/home/vagrant/.virtualenvs/pulp/lib64/python3.7/site-packages/rq/worker.py\", line 799, in perform_job\n    rv = job.perform()\n  File \"/home/vagrant/.virtualenvs/pulp/lib64/pyt
hon3.7/site-packages/rq/job.py\", line 600, in perform\n    self._result = self._execute()\n  File \"/home/vagrant/.virtualenvs/pulp/lib64/python3.7/site-packages/rq/job.py\", line 606, in _execute\n    return
 self.func(*self.args, **self.kwargs)\n  File \"/home/vagrant/devel/pulp_file/pulp_file/app/tasks/synchronizing.py\", line 42, in synchronize\n    dv.create()\n  File \"/home/vagrant/devel/pulpcore-plugin/pulp
core/plugin/stages/declarative_version.py\", line 169, in create\n    loop.run_until_complete(pipeline)\n  File \"/usr/lib64/python3.7/asyncio/base_events.py\", line 584, in run_until_complete\n    return futu
re.result()\n  File \"/home/vagrant/devel/pulpcore-plugin/pulpcore/plugin/stages/api.py\", line 209, in create_pipeline\n    await asyncio.gather(*futures)\n  File \"/home/vagrant/devel/pulpcore-plugin/pulpcor
e/plugin/stages/api.py\", line 43, in __call__\n    await self.run()\n  File \"/home/vagrant/devel/pulpcore-plugin/pulpcore/plugin/stages/content_stages.py\", line 117, in run\n    \"Attempting to save a ContentArtifact for an unsaved Artifact\"\n"
Actions #1

Updated by daviddavis about 5 years ago

  • Status changed from NEW to POST
  • Assignee set to daviddavis
Actions #2

Updated by daviddavis about 5 years ago

  • Status changed from POST to MODIFIED

Applied in changeset commit:pulpcore-plugin|a420f2bf8d534486d21f39308d4dbd429dc8f33e.

Actions #3

Updated by daviddavis about 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #4

Updated by bmbouter about 5 years ago

  • Tags deleted (Pulp 3, Pulp 3 RC Blocker)
Actions #5

Updated by bmbouter over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF