[Pulp-list] Pulp removing orphan does not work
Brian Bouterse
bbouters at redhat.com
Mon May 4 19:22:28 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Frédéric,
I recommend manually cancelling tasks that are stuck at the waiting
state. Also you can read more about that and other techniques to get
tasks unstuck in this recent pulp-list e-mail [0].
[0]: http://www.redhat.com/archives/pulp-list/2015-April/msg00065.html
- -Brian
On 05/04/2015 10:04 AM, Frédéric Conrotte wrote:
> Thanks for your answers
>
> https://pulp.readthedocs.org/en/2.6-release/user-guide/troubleshooting
.html#logging
>
> I did set logging_level to DEBUG in /etc/pulp/server.conf but I
> don't know where to look for the root cause in the logs
>
> This command: pulp-admin -u "admin" -p "admin" tasks list | grep
> Running | wc -l
>
> returns
>
> 0 (zero)
>
> So there is no tasks running.
>
> I started twice this command: pulp-admin -u admin -p admin orphan
> remove --type=rpm
>
> And here is what I see in the task list :
>
> Operations: Resources: orphans (content_unit) State:
> Waiting Start Time: Unstarted Finish Time: Incomplete Task Id:
> fb2fadbc-8d7f-4343-96c7-00d8dbe3cc90
>
> Operations: Resources: orphans (content_unit) State:
> Waiting Start Time: Unstarted Finish Time: Incomplete Task Id:
> 49c6164f-b4d0-45b9-bb1d-53606ff5e831
>
> It seems something is preventing the orphans cleanup task to
> process.
>
> -----Original Message----- From: Michael Hrivnak
> [mailto:mhrivnak at redhat.com] Sent: lundi 4 mai 2015 14:37 To: Ben
> Stanley Cc: Frédéric Conrotte; pulp-list at redhat.com Subject: Re:
> [Pulp-list] Pulp removing orphan does not work
>
> Also note that the log files in /var/log/pulp/ don't get used
> except possibly when the processes are starting. Very early in the
> startup workflow, they switch to syslog.
>
> https://pulp.readthedocs.org/en/2.6-release/user-guide/troubleshooting
.html#logging
>
> Michael
>
> ----- Original Message ----- From: "Ben Stanley"
> <Ben.Stanley at exemail.com.au> To: "Frédéric Conrotte"
> <Frederic.Conrotte at victorbuckservices.com>, pulp-list at redhat.com
> Sent: Monday, May 4, 2015 6:05:38 AM Subject: Re: [Pulp-list] Pulp
> removing orphan does not work
>
> Check the output of
>
> pulp-admin tasks list
>
> The output will likely be large. How many tasks are Running?
>
> pulp-admin tasks list | grep Running | wc -l
>
> If there are lots of tasks running already, then your new task will
> be on the end of the queue, waiting for the other tasks to finish.
> Check [0] for what to do about that.
>
> Ben.
>
> [0]
> https://www.redhat.com/archives/pulp-list/2015-May/msg00001.html
>
>
>
> _______________________________________________ Pulp-list mailing
> list Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>
> _______________________________________________ Pulp-list mailing
> list Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVR8b0AAoJEK48cdELyEfy8wMIAIWYysGFUZ0t6xg2KkVOQJyS
xcgmTbU0S92b8kpeZM87lxioiBH/3iHytfwO6JCJcplEY+GkLJwq6tJQvBjw2Tlc
RGJUewD7JBNtEZkdukx2KQDzjzzQlGYhcEVkZZC443ZTRj+hYKznnJ4p7ID1eHwH
T02HocbrQV37P9nVIVxM2OvtkfA9yZ2Za7nzmkY+qiz7qcikRrOMG8tk7nu/m/BG
C+1F1mPPllhiGLzVduQ9Lcc4RuttpKZiagTf6g1WEMJVTv0brKHGxvd/XndXe3xz
RAn6IybeeZRgBCuIl+D2FIjfDjLBhN1BU4UYgdI2An1rvboKw41mQ/GYaCkpndM=
=cAAc
-----END PGP SIGNATURE-----
More information about the Pulp-list
mailing list