Project

Profile

Help

Issue #2135

Repo publish error Unclosed tags: endverbatim

Added by pthomas@redhat.com about 4 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Urgent
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.9.1
Platform Release:
2.9.2
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 6
Quarter:

Description

Repo publish for a rhel7 repo failed with the error Unclosed tags: endverbatim

[root@ibm-x3550m3-09 ~]# rpm -qa pulp-server
pulp-server-2.10.0-0.1.beta.el7.noarch
[root@ibm-x3550m3-09 ~]#

[root@ibm-x3550m3-09 ~]# pulp-admin rpm repo create --repo-id rhel7 --feed http://cdn.rcm-internal.redhat.com/content/dist/rhel/rhui/server/7/7Server/x86_64/os/
Successfully created repository [rhel7]

[root@ibm-x3550m3-09 ~]# pulp-admin rpm repo sync run --repo-id rhel7
+----------------------------------------------------------------------+
                    Synchronizing Repository [rhel7]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[|]
... completed

Downloading repository content...
[/]
[==================================================] 100%
RPMs:       11055/11055 items
Delta RPMs: 0/0 items

... completed

Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed

Importing errata...
[/]
... completed

Importing package groups/categories...
[\]
... completed

Cleaning duplicate packages...
[-]
... completed

Task Succeeded

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[=============                                     ] 27%
3083 of 11055 items

Task Failed

Unclosed tags: endverbatim 

Related issues

Related to RPM Support - Issue #2077: publish fails if Django Template Syntax in changelogCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 9e8706e6 View on GitHub
Added by ttereshc about 4 years ago

Use templatetag to escape Django syntax characters in templates

closes #2135 https://pulp.plan.io/issues/2135

Revision ece32f1e View on GitHub
Added by ttereshc about 4 years ago

Remove backport of Django verbatim tag

re #2135 https://pulp.plan.io/issues/2135

Revision ece32f1e View on GitHub
Added by ttereshc about 4 years ago

Remove backport of Django verbatim tag

re #2135 https://pulp.plan.io/issues/2135

Revision 45782925 View on GitHub
Added by ttereshc about 4 years ago

Remove backport of Django verbatim tag

re #2135 https://pulp.plan.io/issues/2135

Revision 45782925 View on GitHub
Added by ttereshc about 4 years ago

Remove backport of Django verbatim tag

re #2135 https://pulp.plan.io/issues/2135

History

#1 Updated by pthomas@redhat.com about 4 years ago

Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024) Exception caught from plugin during publish for repo [rhel7]
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024) Traceback (most recent call last):
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1110, in _do_publish
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     publish_report = publish_repo(transfer_repo, conduit, call_config)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 673, in wrap_f
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     return f(*args, **kwargs)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py", line 174, in publish_repo
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     return self._publisher.process_lifecycle()
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 563, in process_lifecycle
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     super(PluginStep, self).process_lifecycle()
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 160, in process_lifecycle
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     step.process()
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 233, in process
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     self._process_block(item=item)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 292, in _process_block
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     self.process_main(item=item)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py", line 485, in process_main
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     context.add_unit_metadata(unit)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/primary.py", line 53, in add_unit_metadata
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     self.metadata_file_handle.write(unit.render_primary(self.checksum_type))
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 775, in render_primary
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     return self._render(metadata, context)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 820, in _render
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     t = Template(template)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 125, in __init__
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     self.nodelist = compile_string(template_string, origin)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 153, in compile_string
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     return parser.parse()
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 278, in parse
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     compiled_result = compile_func(self, token)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 1350, in verbatim
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     nodelist = parser.parse(('endverbatim',))
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 285, in parse
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     self.unclosed_block_tag(parse_until)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 335, in unclosed_block_tag
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024)     raise self.error(None, "Unclosed tags: %%s " %% ', '.join(parse_until))
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.controllers.repository:ERROR: (17150-05024) TemplateSyntaxError: Unclosed tags: endverbatim
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[17150]: pulp.server.async.tasks:INFO: Task failed : [953e3cbc-a520-4abf-bafc-9055f0d72259]
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024) Task pulp.server.managers.repo.publish.publish[953e3cbc-a520-4abf-bafc-9055f0d72259] raised unexpected: TemplateSyntaxError(u'Unclosed tags: endverbatim ',)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024) Traceback (most recent call last):
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     R = retval = fun(*args, **kwargs)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 488, in __call__
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     return super(Task, self).__call__(*args, **kwargs)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in __call__
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     return super(PulpTask, self).__call__(*args, **kwargs)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     return self.run(*args, **kwargs)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 971, in publish
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1058, in check_publish
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1110, in _do_publish
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     publish_report = publish_repo(transfer_repo, conduit, call_config)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 673, in wrap_f
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     return f(*args, **kwargs)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py", line 174, in publish_repo
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     return self._publisher.process_lifecycle()
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 563, in process_lifecycle
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     super(PluginStep, self).process_lifecycle()
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 160, in process_lifecycle
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     step.process()
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 233, in process
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     self._process_block(item=item)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 292, in _process_block
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     self.process_main(item=item)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py", line 485, in process_main
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     context.add_unit_metadata(unit)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/primary.py", line 53, in add_unit_metadata
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     self.metadata_file_handle.write(unit.render_primary(self.checksum_type))
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 775, in render_primary
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     return self._render(metadata, context)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 820, in _render
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     t = Template(template)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 125, in __init__
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     self.nodelist = compile_string(template_string, origin)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 153, in compile_string
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     return parser.parse()
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 278, in parse
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     compiled_result = compile_func(self, token)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 1350, in verbatim
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     nodelist = parser.parse(('endverbatim',))
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 285, in parse
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     self.unclosed_block_tag(parse_until)
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)   File "/usr/lib/python2.7/site-packages/django/template/base.py", line 335, in unclosed_block_tag
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024)     raise self.error(None, "Unclosed tags: %s " % ', '.join(parse_until))
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:ERROR: (16807-05024) TemplateSyntaxError: Unclosed tags: endverbatim
Aug 05 22:25:50 ibm-x3550m3-09.lab.eng.brq.redhat.com pulp[16807]: celery.worker.job:INFO: Task pulp.server.async.tasks._release_resource[99b38293-3af7-43e2-ad17-8868ada792cb] succeeded in 0.00624950099882s: None

#2 Updated by ttereshc about 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

#3 Updated by ttereshc about 4 years ago

  • Related to Issue #2077: publish fails if Django Template Syntax in changelog added

#4 Updated by ttereshc about 4 years ago

  • Status changed from ASSIGNED to POST

This issue happens at least for two reasons:
- self-closing tags in metadata are not handled properly by verbatim tag wrapping
- verbatim template tag can't escape Django syntax character `{%` if its closing counterpart is absent. It's a bug in Django.

Both cases are present in EPEL repo. For example, the following changelog produces an error because of the `{%`:

<changelog author="Neal Gompa &lt;ngompa13{%}gmail{*}com&gt; - 3.3.7-1" date="1277640000">- Initial package created</changelog>

One way to fix the issue is to use template tags for all Django syntax characters and not to use verbatim template tag at all (and remove backport of it from the platform):
https://github.com/pulp/pulp_rpm/pull/955

#5 Updated by mhrivnak about 4 years ago

  • Sprint/Milestone set to 24

#6 Updated by semyers about 4 years ago

  • Priority changed from High to Urgent
  • Version changed from 2.10.0 to 2.9.1
  • Platform Release set to 2.9.2

This fix has been identified as a blocker, and will be included in the 2.9.2 hotfix release. It has also been determined to block the 2.10 release currently in progress.

#7 Updated by ttereshc about 4 years ago

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

#8 Updated by semyers about 4 years ago

  • Status changed from MODIFIED to 5

#9 Updated by pthomas@redhat.com about 4 years ago

  • Status changed from 5 to 6

verified

[root@tigger ~]# rpm -qa pulp-server
pulp-server-2.9.2-0.3.beta.el7.noarch
[root@tigger ~]# 
[root@tigger ~]# 
[root@tigger ~]# 
[root@tigger ~]# pulp-admin rpm repo create --repo-id rhel7 --feed http://cdn.rcm-internal.redhat.com/content/dist/rhel/rhui/server/7/7Server/x86_64/os/
Successfully created repository [rhel7]

[root@tigger ~]#  pulp-admin rpm repo sync run --repo-id rhel7
+----------------------------------------------------------------------+
                    Synchronizing Repository [rhel7]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[\]
... completed

Downloading repository content...
[|]
[==================================================] 100%
RPMs:       11198/11198 items
Delta RPMs: 0/0 items

... completed

Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed

Importing errata...
[/]
... completed

Importing package groups/categories...
[\]
... completed

Cleaning duplicate packages...
[/]
... completed

Task Succeeded

[-]
Waiting to begin...
Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[==================================================] 100%
11198 of 11198 items
... completed

Publishing Delta RPMs
... skipped

Publishing Errata
[==================================================] 100%
1260 of 1260 items
... completed

Publishing Comps file
[==================================================] 100%
87 of 87 items
... completed

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Generating HTML files
... skipped

Publishing files to web
[|]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

[root@tigger ~]# 

#10 Updated by semyers about 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#12 Updated by bmbouter over 2 years ago

  • Sprint set to Sprint 6

#13 Updated by bmbouter over 2 years ago

  • Sprint/Milestone deleted (24)

#14 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF