[Pulp-list] existing erratum FEDORA-EPEL-2014-3674.

Jiri Tyr jiri.tyr at gmail.com
Thu Jul 7 13:30:44 UTC 2016


The problem here is that your repo has only the yum_distributor but no
export_distributor. You can add the skip flag by calling the API directly:

curl -i -k --user admin -H "Content-Type: application/json" -X PUT -d
'{"importer_config": {"type_skip_list": ["erratum"]},
"distributor_configs": {"yum_distributor": {"skip": ["erratum"]}}, "delta":
{}}' https://localhost/pulp/api/v2/repositories/external-el7-epel-201606_1/

I believe that the pulp-admin should not assume both distributors exist.
Something to fix in the upstream?

Best regards,
Jiri


On Wed, Jul 6, 2016 at 5:54 PM, Feroze Bharmal <ferozeb at gmail.com> wrote:

> I tried running the skip-=erratum,
>
> But i get the following error now
>
> "
> Running...
> Updating distributor: export_distributor
>
> Task Failed
>
> Missing resource(s): repo_id=external-el7-epel-201606_1,
> distributor_id=export_distributor
> "
>
> The repo details are as follows
>
> +----------------------------------------------------------------------+
>                             RPM Repositories
> +----------------------------------------------------------------------+
>
> Id:                   external-el7-epel-201606_1
> Display Name:         external-el7-epel-201606_1
> Description:          None
> Content Unit Counts:
>   Erratum:             2979
>   Package Category:    4
>   Package Environment: 1
>   Package Group:       209
>   Rpm:                 10590
> Notes:
> Scratchpad:
>   Checksum Type: sha256
> Importers:
>   Config:
>     Feed:           https://dl.fedoraproject.org/pub/epel/7/x86_64/
>     Type Skip List: erratum
>   Id:               yum_importer
>   Importer Type Id: yum_importer
>   Last Sync:        2016-07-06T07:37:26Z
>   Repo Id:          external-el7-epel-201606_1
>   Scratchpad:
>     Previous Skip List:
>     Repomd Revision:    1467092507
> Distributors:
>   Auto Publish:        True
>   Config:
>     Checksum Type: sha256
>     Http:          True
>     Https:         True
>     Relative URL:  external/el/7/epel/201606_1
>     Skip:          erratum
>   Distributor Type Id: yum_distributor
>   Id:                  yum_distributor
>   Last Publish:        2016-06-29T14:43:02Z
>   Repo Id:             external-el7-epel-201606_1
>   Scratchpad:
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20160707/81fd6d0e/attachment.htm>


More information about the Pulp-list mailing list