| Summary: | consumer bind doesn't check if the repo is actually existing or not. | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | 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 20 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:06:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
Fixed Fixed in 0.134. verified [root@preethi ~]# pulp-admin consumer bind --repoid=test --id=preethi error: operation failed: Repo [test] does not exist [root@preethi ~]# rpm -q pulp pulp-0.0.134-1.fc14.noarch Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
Description of problem: [root@preethi ~]# rpm -q pulp pulp-0.0.131-1.fc14.noarch Try to bind a consumer to a repo that does not exists [root@preethi ~]# pulp-admin consumer bind --id=preethi.usersys.redhat.com --repoid=test Successfully subscribed consumer [preethi.usersys.redhat.com] to repo [test] [root@preethi ~]# pulp-admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ Id preethi.usersys.redhat.com Description None Subscribed Repos ['test', 'f14', 'f14-update'] Additional info state : nc, location : rdu, Id 10.16.79.205 Description None Subscribed Repos ['f14-update'] Additional info state : nc, [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id f14 Name f14 FeedURL http://download.devel.redhat.com/released/F-14/GOLD/Fedora/x86_64/os/ FeedType yum Arch x86_64 Sync Schedule None Packages 2766 Files 0 Distributions ks-f14-x86_64 Publish True Clones [] Groups None Id f14-update Name f14-updates FeedURL http://ftp.linux.ncsu.edu/pub/fedora/linux//updates/14/x86_64/ FeedType yum Arch noarch Sync Schedule None Packages 5553 Files 0 Distributions None Publish True Clones [] Groups None Id f13 Name f13 FeedURL http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/ FeedType yum Arch x86_64 Sync Schedule None Packages 3102 Files 0 Distributions ks-f13-x86_64 Publish True Clones [] Groups None