[Pulp-list] unable to remove rpm
Alex Leonhardt
alex.tuxx at gmail.com
Tue Mar 25 09:47:37 UTC 2014
hi,
for some odd reason i've stopped being able to remove a RPM from one of our
repositories - the actions / checks seem to be returning OK although the
RPM is not being removed.
STR:
login to pulp with
$ pulp-admin login -u admin -p therealpassword
remove the rpm with
$ pulp-admin rpm repo remove rpm --repo-id #reponame# --match
filename=#fullfilename#
Output:
Progress on this task can be viewed using the commands under "repo tasks".
check progress with
$ pulp-admin repo tasks list --repo-id #reponame#
Output:
+----------------------------------------------------------------------+
Tasks
+----------------------------------------------------------------------+
Operations: unassociate
Resources: #reponame# (repository)
State: Successful
Start Time: 2014-03-25T09:42:19Z
Finish Time: 2014-03-25T09:42:19Z
Result: N/A
Task Id: 4c8f6ea7-eedd-46fe-bf58-6bc0824ed3fc
check if rpm is now orphaned:
$ pulp-admin orphan list --details
+----------------------------------------------------------------------+
Summary
+----------------------------------------------------------------------+
Total: 0
ok, so lets try and re-publish the repo and check again
$ pulp-admin rpm repo publish run --repo-id=#reponame#
+----------------------------------------------------------------------+
Publishing Repository [#reponame#]
+----------------------------------------------------------------------+
This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.
Publishing packages...
[==================================================] 100%
Packages: 5/5 items
... completed
Publishing distributions...
[==================================================] 100%
Distributions: 0/0 items
... completed
Generating metadata
[-]
... completed
Publishing repository over HTTPS
[-]
... completed
Publishing repository over HTTP
[-]
... completed
so the 5/5 items tells me (as there are 5 rpms including the one i want to
remove in the repo), it didnt work, still
so let's check if it was orphaned now
$ pulp-admin orphan list --details
+----------------------------------------------------------------------+
Summary
+----------------------------------------------------------------------+
Total: 0
So, still not able to remove the RPM !
What am I doing wrong ? What do you need ? Pulp logs ??
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20140325/0dacbc2c/attachment.htm>
More information about the Pulp-list
mailing list