Actions
Issue #1650
closedUploading a v1 Docker Image causes AttributeError: 'UploadStep' object has no attribute 'v1_tags'
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
master
Platform Release:
Target Release - Docker:
2.0.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Feb 09 20:47:45 dev pulp[16898]: celery.worker.strategy:INFO: Received task: pulp.server.managers.content.upload.import_uploaded_unit[2ad36011-8762-4e77-bf96-9f3d056a1cc7]
Feb 09 20:47:45 dev pulp[17151]: py.warnings:WARNING: (17151-82720) /usr/lib64/python2.7/site-packages/pymongo/topology.py:74: UserWarning: MongoClient opened before fork. Create MongoClient with connect=False, or create client after forking. See PyMongo's documentation for details: http://api.mongodb.org/python/current/faq.html#using-pymongo-with-multiprocessing>
Feb 09 20:47:45 dev pulp[17151]: py.warnings:WARNING: (17151-82720) "MongoClient opened before fork. Create MongoClient "
Feb 09 20:47:45 dev pulp[17151]: py.warnings:WARNING: (17151-82720)
Feb 09 20:47:45 dev pulp[16883]: celery.worker.job:INFO: Task pulp.server.async.tasks._queue_reserved_task[d9f09103-decd-4e57-b0fc-37ca0c423107] succeeded in 0.100243175984s: None
Feb 09 20:47:45 dev pulp[16898]: celery.worker.strategy:INFO: Received task: pulp.server.async.tasks._release_resource[7072098a-e595-4b94-87be-1c827bfa20b0]
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) Error from the importer while importing uploaded unit to repository [busybox]
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) Traceback (most recent call last):
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) File "/home/vagrant/devel/pulp/server/pulp/server/managers/content/upload.py", line 209, in import_uploaded_unit
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) unit_metadata, file_path, conduit, call_config)
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) File "/home/vagrant/devel/pulp_docker/plugins/pulp_docker/plugins/importers/importer.py", line 130, in upload_unit
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) upload_step.process_lifecycle()
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 562, in process_lifecycle
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) super(PluginStep, self).process_lifecycle()
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 159, in process_lifecycle
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) step.process()
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 256, in process
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) self.finalize()
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) File "/home/vagrant/devel/pulp_docker/plugins/pulp_docker/plugins/importers/v1_sync.py", line 166, in finalize
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) if self.parent.v1_tags:
Feb 09 20:47:45 dev pulp[17151]: pulp.server.managers.content.upload:ERROR: (17151-82720) AttributeError: 'UploadStep' object has no attribute 'v1_tags'
Feb 09 20:47:45 dev pulp[17151]: pulp.server.async.tasks:INFO: Task failed : [2ad36011-8762-4e77-bf96-9f3d056a1cc7]
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) Task pulp.server.managers.content.upload.import_uploaded_unit[2ad36011-8762-4e77-bf96-9f3d056a1cc7] raised unexpected: PulpExecutionException(AttributeError("'UploadStep' object has no attribute 'v1_tags'",),)
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) Traceback (most recent call last):
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) R = retval = fun(*args, **kwargs)
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/home/vagrant/devel/pulp/server/pulp/server/async/tasks.py", line 473, in __call__
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) return super(Task, self).__call__(*args, **kwargs)
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/home/vagrant/devel/pulp/server/pulp/server/async/tasks.py", line 103, in __call__
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) return super(PulpTask, self).__call__(*args, **kwargs)
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) return self.run(*args, **kwargs)
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/home/vagrant/devel/pulp/server/pulp/server/managers/content/upload.py", line 209, in import_uploaded_unit
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) unit_metadata, file_path, conduit, call_config)
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/home/vagrant/devel/pulp_docker/plugins/pulp_docker/plugins/importers/importer.py", line 130, in upload_unit
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) upload_step.process_lifecycle()
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 562, in process_lifecycle
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) super(PluginStep, self).process_lifecycle()
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 159, in process_lifecycle
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) step.process()
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 256, in process
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) self.finalize()
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) File "/home/vagrant/devel/pulp_docker/plugins/pulp_docker/plugins/importers/v1_sync.py", line 166, in finalize
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) if self.parent.v1_tags:
Feb 09 20:47:45 dev pulp[16898]: celery.worker.job:ERROR: (16898-82720) PulpExecutionException: Pulp exception occurred: PulpExecutionException
This is a regression likely from the effort to make v1 and v2 both happen with the same feed, so I am setting the target release to 2.0.0.
Related issues
Updated by rbarlow almost 9 years ago
- Blocks Task #1651: Ensure that the upload recipe is correct for pulp-docker 2.0 in the docs added
Updated by rbarlow almost 9 years ago
- Blocks Task #1652: Ensure that the export recipe is correct for pulp-docker 2.0 in the docs added
Updated by pcreech almost 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to pcreech
Updated by rbarlow almost 9 years ago
- Blocked by Issue #1648: v1 upload fails with AttributeError: 'Repository' object has no attribute 'repo_obj' added
Updated by rbarlow almost 9 years ago
Note that this issue can only be reproduced if https://github.com/pulp/pulp_docker/pull/134 is merged first, because it masks this issue.
Added by pcreech almost 9 years ago
Added by pcreech almost 9 years ago
Revision c211041b | View on GitHub
Fix upload step attributes for v1
Fix upload step attributes for v1 upload.
Added by pcreech almost 9 years ago
Revision c211041b | View on GitHub
Fix upload step attributes for v1
Fix upload step attributes for v1 upload.
Added by pcreech almost 9 years ago
Revision c211041b | View on GitHub
Fix upload step attributes for v1
Fix upload step attributes for v1 upload.
Updated by pcreech almost 9 years ago
- Status changed from ASSIGNED to POST
Updated by pcreech almost 9 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset c211041b5f9c2584de8fd3dfdfa6572dfed31dd8.
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
Fix upload step attributes for v1
Fix upload step attributes for v1 upload.
closes #1650 https://pulp.plan.io/issues/1650