Katello [FAIL] - There are 1 active tasks

Hello,

I'm trying to install a katello capsule on a remote network. When
running foreman-installer to install the capsule I get the following
error for several packages:

No package <CAPSULE FQDN>.local-qpid-router-server available.

Since the capsule katello packages are on the version 3.2.3, and my
master katello node is on version 3.2.0, I'm trying to update the master
katello to see if it fixes this problem.

But when I run

foreman-rake katello:upgrade_check

I get

Checking for running tasks…
[FAIL] - There are 1 active tasks.
Please wait for these to complete or cancel them from the
Monitor tab.

I've got two tasks running, one, Listen on candlepin events, I believe
it's normal to be running, the other, Monitor Event Queue, it's not. And
I can't kill it no matter what I do:
- The cancel task button is grayed out
- After a reboot it starts again
- If I use the foreman-console to kill it, after a reboot it starts
again

I could try to kill the task using the foreman-console and upgrade
katello without rebooting first, but I don't know if it is recommended…

Any ideas?

Thanks!

··· -- Nuno Marques

> Hello,
>
> I'm trying to install a katello capsule on a remote network. When
> running foreman-installer to install the capsule I get the following
> error for several packages:
>
> No package <CAPSULE FQDN>.local-qpid-router-server available.
>
> Since the capsule katello packages are on the version 3.2.3, and my
> master katello node is on version 3.2.0, I'm trying to update the master
> katello to see if it fixes this problem.
>
> But when I run
>
> foreman-rake katello:upgrade_check
>
> I get
>
> Checking for running tasks…
> [FAIL] - There are 1 active tasks.
> Please wait for these to complete or cancel them from the
> Monitor tab.
>
> I've got two tasks running, one, Listen on candlepin events, I believe
> it's normal to be running, the other, Monitor Event Queue, it's not. And
> I can't kill it no matter what I do:
> - The cancel task button is grayed out
> - After a reboot it starts again
> - If I use the foreman-console to kill it, after a reboot it starts
> again
I think this is a bug, it should be ignoring that task when doing that
check. Do you mind filing an issue?
http://projects.theforeman.org/projects/katello/issues/new

For now you can simply ignore that warning.

-Justin

··· On 01/05/2017 09:41 AM, Nuno Marques wrote:

I could try to kill the task using the foreman-console and upgrade
katello without rebooting first, but I don’t know if it is recommended…

Any ideas?

Thanks!