Project

Profile

Help

Issue #1322

publish of the repos fails on all plugins

Added by ipanova@redhat.com about 5 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
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.

Associated revisions

Revision 865465cc View on GitHub
Added by Austin Macdonald about 5 years ago

fix a merge forward issue that broke unit association

closes #1322

Revision 865465cc View on GitHub
Added by Austin Macdonald about 5 years ago

fix a merge forward issue that broke unit association

closes #1322

History

#1 Updated by ipanova@redhat.com about 5 years ago

  • Version set to Master

#2 Updated by Anonymous about 5 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100

#3 Updated by amacdona@redhat.com about 5 years ago

  • Assignee set to amacdona@redhat.com
  • Platform Release set to 2.8.0
  • Triaged changed from No to Yes

#4 Updated by dkliban@redhat.com almost 5 years ago

  • Status changed from MODIFIED to 5

#5 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#6 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF