| Summary: | Deleting a file and deleting a package associated to a repo behave differently | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Sayli Karmarkar <skarmark> |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | cperry, tsanders |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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: | 790288 | ||
|
Description
Sayli Karmarkar
2012-02-14 06:24:10 UTC
commit 6d1a00cffbea8f76cd026dc901512a561dbdb565 build: 0.267 fails_qa The message is different for file delete and package delete, it would be better if we can have the same type of error message. [root@preethi ~]# pulp-admin content delete -f test.txt error: operation failed: FileHasReferences: file [884c4aea-6a22-43f9-b681-5c69dff6112c] has references, delete not permitted [root@preethi ~]# pulp-admin content delete -f pulp-0.0.168-1.fc14.noarch.rpm Content with filename [pulp-0.0.168-1.fc14.noarch.rpm] is currently associated a repository; skipping delete commit b2eae8efff047cf71623cdd0fc46a3ca4ce0c0ce build: 0.267-2 verified [root@katello-test ~]# pulp-admin content delete -f test1.txt Filename [test1.txt] is currently associated with one or more repositories; skipping delete [root@katello-test ~]# pulp-admin content delete -f pulp-common-0.0.254-8.noarch.rpm Filename [pulp-common-0.0.254-8.noarch.rpm] is currently associated with one or more repositories; skipping delete [root@katello-test ~]# rpm -q pulp pulp-0.0.267-2.el6.noarch Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |