Bug 627709
| Summary: | Traceback when trying to run pulp package info on a non existing repo. | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-17 16:51:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
|
Description
Preethi Thomas
2010-08-26 17:52:49 UTC
This should now report more gracefully suggesting $ sudo pulp-admin package info --name=zsh --repoid=i-dont-exist Package [zsh] not found in repo [i-dont-exist] We could make additional check to see if repo exists first.. but thats another call to the rest interface which seems unnecessary. This should suggest the user that he's trying to access a package that doesn't exist where ever he's trying to look. Fixed in 0.77. Fixed in build 0.78. I would prefer it say the repo does not exist. But moving to verified as per comment above. still thinks this needs to be fixed if there is time. [root@preethi ~]# pulp-admin -u admin -p admin package info --name=zsh --repoid=test Package [zsh] not found in repo [test] Closing with community release pulp-0.0.139-1.fc14.noarch |