Actions
Issue #1322
closedpublish of the repos fails on all plugins
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Currently on master publish on all plugins is failing:
$ pulp-admin rpm repo publish run --repo-id zoo
+----------------------------------------------------------------------+
Publishing Repository [zoo]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Task Failed
type object argument after * must be a sequence, not generator
Oct 19 13:48:45 ina pulp: pulp.plugins.pulp_rpm.plugins.distributors.yum.metadata.metadata:WARNING: Overwriting existing metadata file [/var/cache/pulp/reserved_resource_worker-1@ina.usersys
.redhat.com/32d3e84d-bba3-4339-b294-3ac1f4d4b01c/repodata/repomd.xml]
Oct 19 13:48:45 ina pulp: pulp.plugins.conduits.mixins:ERROR: (16246-72768) Exception from server requesting all content units for repository [zoo]
Oct 19 13:48:45 ina pulp: pulp.plugins.conduits.mixins:ERROR: (16246-72768) Traceback (most recent call last):
Oct 19 13:48:45 ina pulp: pulp.plugins.conduits.mixins:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/plugins/conduits/mixins.py", line 700, in do_get_repo_unit
s
Oct 19 13:48:45 ina pulp: pulp.plugins.conduits.mixins:ERROR: (16246-72768) units = association_query_manager.get_units(repo_id, criteria=criteria, as_generator=True)
Oct 19 13:48:45 ina pulp: pulp.plugins.conduits.mixins:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/server/managers/repo/unit_association_query.py", line 131,
in get_units
Oct 19 13:48:45 ina pulp: pulp.plugins.conduits.mixins:ERROR: (16246-72768) units_generator = itertools.chain(*units_cursors)
Oct 19 13:48:45 ina pulp: pulp.plugins.conduits.mixins:ERROR: (16246-72768) TypeError: type object argument after * must be a sequence, not generator
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) Exception caught from plugin during publish for repo [zoo]
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) Traceback (most recent call last):
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/server/controllers/repository.py", line 779, in _do_
publish
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) publish_report = publish_repo(transfer_repo, conduit, call_config)
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/server/async/tasks.py", line 585, in wrap_f
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) return f(*args, **kwargs)
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp_rpm/plugins/pulp_rpm/plugins/distributors/yum/distributor.py", l
ine 171, in publish_repo
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) return self._publisher.publish()
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/plugins/util/publish_step.py", line 587, in publish
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) return self.process_lifecycle()
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/plugins/util/publish_step.py", line 532, in process_
lifecycle
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) super(PluginStep, self).process_lifecycle()
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/plugins/util/publish_step.py", line 134, in process_
lifecycle
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) step.process()
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/plugins/util/publish_step.py", line 216, in process
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) self._process_block()
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/plugins/util/publish_step.py", line 697, in _process
_block
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) package_unit_generator = self.get_unit_generator()
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/plugins/util/publish_step.py", line 662, in get_unit_generator
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) return self.get_conduit().get_units(criteria, as_generator=True)
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/plugins/conduits/mixins.py", line 173, in get_units
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) return do_get_repo_units(self.repo_id, criteria, self.exception_class, as_generator)
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/plugins/conduits/mixins.py", line 700, in do_get_repo_units
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) units = association_query_manager.get_units(repo_id, criteria=criteria, as_generator=True)
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) File "/home/ipanova/pulp_development/pulp/server/pulp/server/managers/repo/unit_association_query.py", line 131, in get_units
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) units_generator = itertools.chain(*units_cursors)
Oct 19 13:48:45 ina pulp: pulp.server.controllers.repository:ERROR: (16246-72768) DistributorConduitException: type object argument after * must be a sequence, not generator
Oct 19 13:48:45 ina pulp: pulp.server.async.tasks:INFO: Task failed : [32d3e84d-bba3-4339-b294-3ac1f4d4b01c]
$ pulp-admin puppet repo publish run --repo-id pup
+----------------------------------------------------------------------+
Publishing Repository [pup]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Task Failed
The distributor puppet_distributor indicated a failed response when publishing
repository pup.
Added by Austin Macdonald about 9 years ago
Added by Austin Macdonald about 9 years ago
Revision 865465cc | View on GitHub
fix a merge forward issue that broke unit association
closes #1322
Updated by Anonymous about 9 years ago
- Status changed from NEW to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|865465cc1358b1c6eb92d7f33f72a9afce932fcd.
Updated by amacdona@redhat.com about 9 years ago
- Assignee set to amacdona@redhat.com
- Platform Release set to 2.8.0
- Triaged changed from No to Yes
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com over 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
fix a merge forward issue that broke unit association
closes #1322