No such file or directory: yum_repo_metadata_file causes sync to fail

Hola,

Centos 7, pulp-server 2.8.6, foreman 1.11.4, one of my repos wont
syncronise with the error:

PLP0000: [Errno 2] No such file or directory:
'/var/lib/pulp/content/units/yum_repo_metadata_file/<dir><long_rand>-appstream.xml.gz'

Google search shows a couple of bug reports back when pulp-server was <
2.8.3

eg: https://bugzilla.redhat.com/show_bug.cgi?id=1334532

but I'm seeing this now.

How do I solve this? Do I need to remove and re-add the external repo?

cheers
L.

··· ------ The most dangerous phrase in the language is, "We've always done it this way."
  • Grace Hopper

Ok, not knowing what else to do, but noticing that all the
790f2b6fc390943119245c24efccd5899e4e7ea45e06b7cc3e8b3ff6eef397e9-appstream.xml.gz
files where the same size, I just created the missing directories, chown'd
them to apache:apache, copied one of the appstream files across and the
sync was fine.

I presume I've broken a number of conventions and etc but the sync works,
so I got that going for me.

Would still appreciate pointers on what might have caused and how we can
prevent in the future.

cheers
L.

··· ------ The most dangerous phrase in the language is, "We've always done it this way."
  • Grace Hopper

On 3 October 2016 at 16:09, Lachlan Musicman datakid@gmail.com wrote:

Hola,

Centos 7, pulp-server 2.8.6, foreman 1.11.4, one of my repos wont
syncronise with the error:

PLP0000: [Errno 2] No such file or directory: ‘/var/lib/pulp/content/units/
yum_repo_metadata_file/<long_rand>-appstream.xml.gz’

Google search shows a couple of bug reports back when pulp-server was <
2.8.3

eg: https://bugzilla.redhat.com/show_bug.cgi?id=1334532

but I’m seeing this now.

How do I solve this? Do I need to remove and re-add the external repo?

cheers
L.


The most dangerous phrase in the language is, “We’ve always done it this
way.”

  • Grace Hopper