Pulp File type local repository , creating PULP_MANIFEST, error - > is not an allowed import path"]}

Problem:

Is there anyway to generate pulp maniftest without using pulp-manifest command for which I need to install clients repo,

Tried to create it using a script

created a folder in /var/www/html/ and created manifest in that folder using the script
but got error when specifying the URL file:///new_repo

Response body: {“url”:[“url ‘file:///new_repo/PULP_MANIFEST’ is not an allowed import path”]}

Any suggestions for this error.

Expected outcome:

It should accept the URL

Foreman and Proxy versions:

Foreman Katello 4.0

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

Hi @dkm6

You can edit the import paths in this file:

/etc/pulp/settings.py

After you edit them, run foreman-maintain service restart

Then try the script again.

The script is creating manifest, but katello do not allow to use that folder as file type location as described in documentaton. Doc says to create a folder under web servers public folder which I did and created pulp manifest there, but getting this error, when giving upstream url as file:///folderinpub