Easily reproduced on master:
Jul 15 14:53:38 dev pulp[28735]: pulp.server.async.tasks:INFO: Task failed : [e17d0890-563f-4609-9858-831c8b198ba1]
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) Task pulp.server.managers.repo.publish.publish[e17d0890-563f-4609-9858-831c8b198ba1] raised unexpected: TemplateSyntaxError(u"Invalid block
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) Traceback (most recent call last):
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) R = retval = fun(*args, **kwargs)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/server/async/tasks.py", line 488, in __call__
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) return super(Task, self).__call__(*args, **kwargs)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/server/async/tasks.py", line 103, in __call__
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) return super(PulpTask, self).__call__(*args, **kwargs)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) return self.run(*args, **kwargs)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/server/controllers/repository.py", line 971, in publish
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/server/controllers/repository.py", line 1038, in check_publish
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/server/controllers/repository.py", line 1090, in _do_publish
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) publish_report = publish_repo(transfer_repo, conduit, call_config)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/server/async/tasks.py", line 673, in wrap_f
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) return f(*args, **kwargs)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp_rpm/plugins/pulp_rpm/plugins/distributors/yum/distributor.py", line 174, in publish_repo
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) return self._publisher.process_lifecycle()
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 562, in process_lifecycle
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) super(PluginStep, self).process_lifecycle()
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 159, in process_lifecycle
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) step.process()
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 232, in process
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) self._process_block(item=item)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp/server/pulp/plugins/util/publish_step.py", line 291, in _process_block
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) self.process_main(item=item)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp_rpm/plugins/pulp_rpm/plugins/distributors/yum/publish.py", line 485, in process_main
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) context.add_unit_metadata(unit)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp_rpm/plugins/pulp_rpm/plugins/distributors/yum/metadata/primary.py", line 53, in add_unit_metadata
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) self.metadata_file_handle.write(unit.render_primary(self.checksum_type))
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp_rpm/plugins/pulp_rpm/plugins/db/models.py", line 770, in render_primary
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) return self._render(metadata, context)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/home/vagrant/devel/pulp_rpm/plugins/pulp_rpm/plugins/db/models.py", line 813, in _render
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) t = Template(template)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/usr/lib/python2.7/site-packages/django/template/base.py", line 189, in __init__
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) self.nodelist = self.compile_nodelist()
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/usr/lib/python2.7/site-packages/django/template/base.py", line 231, in compile_nodelist
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) return parser.parse()
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/usr/lib/python2.7/site-packages/django/template/base.py", line 510, in parse
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) self.invalid_block_tag(token, command, parse_until)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) File "/usr/lib/python2.7/site-packages/django/template/base.py", line 572, in invalid_block_tag
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) "or load this tag?" % (token.lineno, command)
Jul 15 14:53:38 dev pulp[28460]: celery.worker.job:ERROR: (28460-56256) TemplateSyntaxError: Invalid block tag on line 10: 'compress'. Did you forget to register or load this tag?