RHUI 3 publish task fails with "OError: [Errno 2] No such file or directory: u'/var/lib/pulp/content/units/modulemd"

Solution Verified - Updated -

Issue

  • Publish task fails with the following error.
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232) Exception caught from plugin during publish for repo [rhel-8-for-x86_64-appstream-rhui-rpms-8]
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232) Traceback (most recent call last):
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1259, in _do_publish
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)     publish_report = publish_repo(transfer_repo, conduit, call_config)
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 737, in wrap_f
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)     return f(*args, **kwargs)
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py", line 174, in publish_repo
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)     return self._publisher.process_lifecycle()
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 572, in process_lifecycle
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)     super(PluginStep, self).process_lifecycle()
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 163, in process_lifecycle
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)     step.process()
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 239, in process
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)     self._process_block(item=item)
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 301, in _process_block
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)     self.process_main(item=item)
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py", line 878, in process_main
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232)     with open(item.storage_path) as fp_in:
May 25 23:29:49 server-rhua pulp: pulp.server.controllers.repository:ERROR: [7d7d04ba] (12748-83232) IOError: [Errno 2] No such file or directory: u'/var/lib/pulp/content/units/modulemd/bd/600ebb2217b5d80a5ff993843ddfda590a2b326c58548c4aebbdb8c044e013'
May 25 23:29:49 server-rhua pulp: pulp.server.async.tasks:INFO: [7d7d04ba] Task failed : [7d7d04ba-6247-4d68-8655-cf36b090c6f7]

Environment

  • Red Hat Update Infrastructure v.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content