| Summary: | filters can be added to repo clone with origin feed | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | user-experience | Assignee: | Sayli Karmarkar <skarmark> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | cperry, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 30 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 20:14:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
$ sudo pulp-admin repo clone --id test1 --clone_id test1-clone-origin --filter test-filter --feed origin -F error: error: operation failed: Filters cannot be applied to clones with origin feed build: 0.251 [root@preethi ~]# pulp-admin repo clone --id=pulp --clone_id=pulp-clone --feed=origin -f blacklist -F error: error: operation failed: Filters cannot be applied to clones with origin feed [root@preethi ~]# rpm -q pulp pulp-0.0.251-1.fc15.noarch Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |
Description of problem: Repo clone with --feed=origin lets you add filters. Filters should only be added to local repos [root@preethi ~]# pulp-admin repo clone --id=pulp --clone_id=pulp-filter1 -f blacklist --feed=origin -F Repository [pulp] is being cloned as [pulp-filter1] Clone: Finished Item Details: RPMs: 15/18 [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id pulp Name pulp Repo URL https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-16/x86_64/ Feed URL http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-16/x86_64/ Feed Type remote Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule None Packages 18 Files 0 Distributions None Publish True Clones [u'pulp-filter', u'pulp-filter1'] Groups None Filters [] Notes {} Preserve Metadata False Checksum Type sha256 Id pulp-filter Name pulp-filter Repo URL https://preethi.usersys.redhat.com/pulp/repos/pulp-filter/ Feed URL file:///var/lib/pulp//repos/repos/pulp/pulp/testing/fedora-16/x86_64 Feed Type local Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule None Packages 18 Files 0 Distributions None Publish True Clones [] Groups None Filters ['blacklist'] Notes {} Preserve Metadata False Checksum Type sha256 Id pulp-filter1 Name pulp-filter1 Repo URL https://preethi.usersys.redhat.com/pulp/repos/pulp-filter1/ Feed URL http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-16/x86_64/ Feed Type remote Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule None Packages 18 Files 0 Distributions None Publish True Clones [] Groups None Filters ['blacklist'] Notes {} Preserve Metadata False Checksum Type sha256 Version-Release number of selected component (if applicable): [root@preethi ~]# rpm -q pulp pulp-0.0.249-1.fc15.noarch [root@preethi ~]#