Hide Forgot
Description of problem: add_filters doesn't seem to be working [root@preethi ~]# pulp-admin repo create --id=test1 --content_type=yum Successfully created repository [ test1 ] [root@preethi ~]# pulp-admin repo add_filters --id=test1 -f blacklist error: error: operation failed: PulpException: Filters can be added to repos with 'local' feed only [root@preethi ~]# pulp-admin repo create --id=test2 Successfully created repository [ test2 ] [root@preethi ~]# pulp-admin repo add_filters --id=test2 -f blacklist error: error: operation failed: PulpException: Filters can be added to repos with 'local' feed only [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id test1 Name test1 Repo URL https://preethi.usersys.redhat.com/pulp/repos/test1/ Feed URL None Feed Type None Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule None Packages 0 Files 0 Distributions None Publish True Clones [] Groups None Filters [] Notes {} Preserve Metadata False Checksum Type sha256 Id test2 Name test2 Repo URL https://preethi.usersys.redhat.com/pulp/repos/test2/ Feed URL None Feed Type None Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule None Packages 0 Files 0 Distributions None Publish True Clones [] Groups None Filters [] Notes {} Preserve Metadata False Checksum Type sha256 Version-Release number of selected component (if applicable): [root@preethi ~]# rpm -q pulp pulp-0.0.254-4.fc15.noarch [root@preethi ~]#
Expected as the build is before commit for ability to filter manually uploaded content. In this case it should not allow adding filters to remote or feedless repos but allow it for 'local' repos.