Katello 3.3 search doesn't work?

Hi,

I'm trying to see the hosts in Error state from the Dashboard.

When I click the Error from Host Configuration Chart, the new page never
loads (the same happens with Active hosts).

This is the url that it's executed is:

https://puppet.company.net/hosts?utf8=✓&search=last_report+>+"14405+minutes+ago"+and+(status.failed+>+0+or+status.failed_restarts+>+0)+and+status.enabled+%3D+true

Eventually foreman is killed by the kernel oom:

2017-03-01T06:59:05.768945-05:00 puppet.company.net kernel: Out of memory:
Kill process 14812 (ruby) score 300 or sacrifice child

There should be ~ 30 hosts in Error and ~ 200 in Active.
"Out Of Sync" hosts is working, but we have only 2 hosts in this status.

Are there any known issues about this?

Thank you,
Cristian

Cristian,

how much memory do you have on the machine you are running katello/foreman
on?

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Wed, Mar 1, 2017 at 7:02 AM, Cristian Falcas wrote:

Hi,

I’m trying to see the hosts in Error state from the Dashboard.

When I click the Error from Host Configuration Chart, the new page never
loads (the same happens with Active hosts).

This is the url that it’s executed is:

https://puppet.company.net/hosts?utf8=✓&search=
last_report+%3E+%2214405+minutes+ago%22+and+%28status.
failed+%3E+0+or+status.failed_restarts+%3E+0%29+and+status.
enabled+%3D+true

Eventually foreman is killed by the kernel oom:

2017-03-01T06:59:05.768945-05:00 puppet.company.net kernel: Out of
memory: Kill process 14812 (ruby) score 300 or sacrifice child

There should be ~ 30 hosts in Error and ~ 200 in Active.
“Out Of Sync” hosts is working, but we have only 2 hosts in this status.

Are there any known issues about this?

Thank you,
Cristian


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

The machine has 32 GB.

We run here tomcat (candlepin), puppetdb, foreman and postgresql db.

··· On Thu, Mar 2, 2017 at 12:24 AM, John Mitsch wrote:

Cristian,

how much memory do you have on the machine you are running katello/foreman
on?

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Wed, Mar 1, 2017 at 7:02 AM, Cristian Falcas cristi.falcas@gmail.com > wrote:

Hi,

I’m trying to see the hosts in Error state from the Dashboard.

When I click the Error from Host Configuration Chart, the new page never
loads (the same happens with Active hosts).

This is the url that it’s executed is:

https://puppet.company.net/hosts?utf8=✓&search=last_
report+%3E+%2214405+minutes+ago%22+and+%28status.failed+%
3E+0+or+status.failed_restarts+%3E+0%29+and+status.enabled+%3D+true

Eventually foreman is killed by the kernel oom:

2017-03-01T06:59:05.768945-05:00 puppet.company.net kernel: Out of
memory: Kill process 14812 (ruby) score 300 or sacrifice child

There should be ~ 30 hosts in Error and ~ 200 in Active.
“Out Of Sync” hosts is working, but we have only 2 hosts in this status.

Are there any known issues about this?

Thank you,
Cristian


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

we have the same issue running out of memory while searching for specific
hosts in foreman 1.14.2.

··· Am Donnerstag, 2. März 2017 09:34:57 UTC+1 schrieb Cristian Falcas: > > The machine has 32 GB. > > We run here tomcat (candlepin), puppetdb, foreman and postgresql db. > > On Thu, Mar 2, 2017 at 12:24 AM, John Mitsch > wrote: > >> Cristian, >> >> how much memory do you have on the machine you are running >> katello/foreman on? >> >> -John >> >> John Mitsch >> Red Hat Engineering >> (860)-967-7285 >> irc: jomitsch >> >> On Wed, Mar 1, 2017 at 7:02 AM, Cristian Falcas > > wrote: >> >>> Hi, >>> >>> I'm trying to see the hosts in Error state from the Dashboard. >>> >>> When I click the Error from Host Configuration Chart, the new page never >>> loads (the same happens with Active hosts). >>> >>> This is the url that it's executed is: >>> >>> >>> https://puppet.company.net/hosts?utf8=%E2%9C%93&search=last_report+%3E+%2214405+minutes+ago%22+and+%28status.failed+%3E+0+or+status.failed_restarts+%3E+0%29+and+status.enabled+%3D+true >>> >>> Eventually foreman is killed by the kernel oom: >>> >>> 2017-03-01T06:59:05.768945-05:00 puppet.company.net kernel: Out of >>> memory: Kill process 14812 (ruby) score 300 or sacrifice child >>> >>> There should be ~ 30 hosts in Error and ~ 200 in Active. >>> "Out Of Sync" hosts is working, but we have only 2 hosts in this status. >>> >>> Are there any known issues about this? >>> >>> Thank you, >>> Cristian >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Foreman users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to foreman-user...@googlegroups.com . >>> To post to this group, send email to forema...@googlegroups.com >>> . >>> Visit this group at https://groups.google.com/group/foreman-users. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > >