PLP0000: Could not find a published directory for <content_view>

Hi all,

I’m having an issue with Foreman and Katello. I published a new version of one of my Composite Content Views. It fails 85% of the way through publishing with the error message “PLP0000: Could not find a published directory for {name}”

What I was expecting to happen is for it to work as normal, creating a new version of the CCV.

Here’s the debugging I’ve done so far:

  • Google’d the error message, found this bug report that seems to be perpetually postponed rather than addressed?

We seemed to have a failed sync last evening (see previous post pending jobs won’t stop pending) from which I recovered by rebooting and deleting the pending tasks.

I have tried completing a successful synchronisation of the repos in the CCV and re-publishing, but this also doesn’t work.

How can I fix this issue?

Thanks!
Lachlan

I’m not an expert, but from what I can see, via Dynaflow, the error looks like this

Exception: Could not find a published directory for ORG_NAME-PRODUCT-REPOSITORY

If I do a find on the file system, I can find plenty of directories in the format

ORG_NAME_PRODUCT_REPOSITORY

Is source_working_dir from usr/lib/python2.7/site-packages/pulp_katello/distributors/yum_clone_distributor/distributor.py making incorrect character substitutions when slugifying?

[Lachlan_Musicman] Lachlan_Musicman
https://community.theforeman.org/u/lachlan_musicman
December 19

Hi all,

I’m having an issue with Foreman and Katello. I published a new
version of one of my Composite Content Views. It fails 85% of the way
through publishing with the error message “PLP0000: Could not find a
published directory for {name}”

What I was expecting to happen is for it to work as normal, creating a
new version of the CCV.

Here’s the debugging I’ve done so far:

We seemed to have a failed sync last evening (see previous post
pending jobs won’t stop pending
https://community.theforeman.org/t/pending-tasks-that-wont-stop-pending/7771/1)
from which I recovered by rebooting and deleting the pending tasks.

I have tried completing a successful synchronisation of the repos in
the CCV and re-publishing, but this also doesn’t work.

Is this a new repository in the content view? You might try ‘forcing’ a
sync for that repository that is failing under “Content > Products >
click the product > click the repository > click the actions drop down
"Advanced Sync” > select “Complete Sync”

Once that is done, republish the component content view, and then the
composite content view. If that doesn’t resolve it, check under
/var/log/messages after the failed publish and see if it indicates what
path its looking for.

-Justin

The overnight sync seems to have worked. Is happy publishing now.