Hide Forgot
Description of problem: $ sudo pulp-admin content list --repoid test pulp-large_100k_test-packageB-0.1.1-1.fc14.noarch.rpm,1952d421409af01b13d8a111a0b5a18431e6c21a00c10dc032e4da84d6bfd1bf pulp-large_100k_test-packageA-0.1.1-1.fc14.noarch.rpm,32762001d6e314a44b71c1b6f6bb8c01e2224d4b2f2b84e46a8550d96b2bbd4e pulp-dot-2.0-test-0.1.2-1.fc11.x86_64.rpm,435d92e6c09248b501b8d2ae786f92ccfad69fab8b1bc774e2b66ff6c0d83979 pulp-test-package-0.2.1-1.fc11.x86_64.rpm,4dbde07b4a8eab57e42ed0c9203083f1d61e0b13935d1a569193ed8efc9ecfd7 fileA.txt,22603a94360ee24b7034c74fa13d70dd122aa8c4be2010fc1361e1e6b0b410ab fileC.iso,099f2bafd533e97dcfee778bc24138c40f114323785ac1987a0db66e07086f74 updateinfo.xml,03776aa0d5d0ed3b3dd6d0a89171a90bf3102970c808845bd0c00a5c74f3c7c2 fileB.txt,8dc89e9883c098443f6616e60a8e489254bf239eeade6e4b4943b7c8c0c345a4 fileB.txt.1,8dc89e9883c098443f6616e60a8e489254bf239eeade6e4b4943b7c8c0c345a4 $ sudo pulp-admin content delete -f fileB.txt.1 Successfully deleted content [fileB.txt.1] from pulp server $ sudo pulp-admin content delete -f pulp-large_100k_test-packageB-0.1.1-1.fc14.noarch.rpm Content with filename [pulp-large_100k_test-packageB-0.1.1-1.fc14.noarch.rpm] is currently associated a repository; skipping delete
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.