[Pulp-list] Can't Delete Repo

ben.stanley at exemail.com.au ben.stanley at exemail.com.au
Thu Apr 30 07:53:56 UTC 2015


Hello Pulp Team,

I have a large pulp server configured here, with 577 repos.

Unfortunately, some of my repos have been created in error, and I must
delete them. However, when I attempt to delete them, the command shows
only this:

-----------------------------------------------------------------------
# pulp-admin rpm repo delete --repo-id=atrpms-7-i386-bleeding
This command may be exited via ctrl+c without affecting the request.


[-]
Running...
[|]
Waiting to begin...
-----------------------------------------------------------------------

It doesn't get anywhere.

The pulp.log file shows that the delete request is created, but doesn't
seem to do anything about it.
------------------------------- pulp.log ------------------------------
Apr 30 17:01:15 bumblebee pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.async.tasks._reserve_resource[bcc293de-7f91-4df1-bf62-b4fb7a98feef]
Apr 30 17:01:16 bumblebee pulp: celery.worker.job:INFO: Task
pulp.server.async.tasks._reserve_resource[bcc293de-7f91-4df1-bf62-b4fb7a98feef]
succeeded in 0.0414823299507s:
u'reserved_resource_worker-3 at bumblebee.rydalmere.corpnet.dq'
Apr 30 17:01:16 bumblebee pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.tasks.repository.delete[8e13325a-f23a-4f6f-9342-0fc381ae1077]
-----------------------------------------------------------------------

If I stop pulp and re-start it
-----------------------------------------------------------------------
for SERVICE in {pulp_resource_manager,pulp_celerybeat,pulp_workers,mongod}
do
    systemctl stop ${SERVICE}
done

for SERVICE in {mongod,pulp_workers,pulp_celerybeat,pulp_resource_manager}
do
    systemctl start ${SERVICE}
done
-----------------------------------------------------------------------

Then in the pulp.log file I see 549 "Received task" messages:
---------------------------- pulp.log ---------------------------------
Apr 30 16:49:46 bumblebee pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.tasks.repository.sync_with_auto_publish[73f1e008-57d0-4664-afb7-1b9b7e45249d]
Apr 30 16:49:46 bumblebee pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.async.tasks._queue_release_resource[2a1d2953-d03f-46c4-8914-8b784918da7a]
Apr 30 16:49:46 bumblebee pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.tasks.repository.sync_with_auto_publish[d5ee420b-5d2a-4888-a2b4-3c7da5d1b0dc]
Apr 30 16:49:46 bumblebee pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.tasks.repository.sync_with_auto_publish[e629238c-6608-4587-87db-3f0d40aa5629]
Apr 30 16:49:46 bumblebee pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.async.tasks._queue_release_resource[a318fe17-dc1a-41e3-bd65-7517e6df9119]
Apr 30 16:49:46 bumblebee pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.managers.repo.publish.publish[05879c29-3941-40b8-a912-05e0a0056b0a]
<lots more snipped out>
-----------------------------------------------------------------------
Please find more complete log information attached to this email.

In my understanding, the deletion task is probably being blocked by
another task using the repo.
How can I find out what is causing the blockage?
How can I un-block it?
What can I do to make the repo deletion succeed?

I have the following software:
-----------------------------------------------------------------------
pulp-rpm-plugins-2.5.1-1.el7.noarch
python-pulp-bindings-2.5.1-1.el7.noarch
pulp-puppet-admin-extensions-2.5.1-1.el7.noarch
python-isodate-0.5.0-4.pulp.el7.noarch
python-kombu-3.0.15-12.pulp.el7.noarch
pulp-admin-client-2.5.1-1.el7.noarch
python-pulp-rpm-common-2.5.1-1.el7.noarch
pulp-puppet-plugins-2.5.1-1.el7.noarch
python-pulp-common-2.5.1-1.el7.noarch
pulp-rpm-admin-extensions-2.5.1-1.el7.noarch
python-pulp-puppet-common-2.5.1-1.el7.noarch
pulp-selinux-2.5.1-1.el7.noarch
pulp-server-2.5.1-1.el7.noarch
python-pulp-client-lib-2.5.1-1.el7.noarch
-----------------------------------------------------------------------
I know these aren't the latest, but I can't update pulp until I can solve
getting pulp to update its repos [1].


Thanks,
Ben Stanley.

[1] I installed pulp on workstation, but now there is a dependency from
python-mongoengine to python-blinker, which is only available in server,
which I don't have yet, and pulp isn't updating well at the moment, which
is likely related to the 549 tasks it runs whenever I re-start it.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pulp.log-after-restart-pulp.txt
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20150430/99639bbe/attachment.txt>


More information about the Pulp-list mailing list