Salt minions show no reports in Foreman 1.8.2

Hi,

I have a Foreman 1.8.2 install and am running salt 2015.5.3 on both my
master and minion but I can't seem to get any reports from the
minions. A 'salt * state.highstate' returns successfully and I can
see all of the grains if I browse the host facts in the Foreman UI,
but no matter what I try, Foreman shows the host as having no reports.
What can I try to resolve this?

Thanks

What happens when you run upload-salt-reports from the proxy?

http://theforeman.org/plugins/foreman_salt/2.1/index.html#4.7.1Scheduling

··· On Mon, Aug 03, 2015 at 11:37:05PM -0600, Bryan Arenal wrote: > Hi, > > I have a Foreman 1.8.2 install and am running salt 2015.5.3 on both my > master and minion but I can't seem to get any reports from the > minions. A 'salt \* state.highstate' returns successfully and I can > see all of the grains if I browse the host facts in the Foreman UI, > but no matter what I try, Foreman shows the host as having no reports. > What can I try to resolve this? >


Best Regards,

Stephen Benjamin
Red Hat Engineering

Hi Stephen,

I actually spun up a second Foreman installation last night just to
test things out.

Both the existing (which was an upgrade from 1.7) and new (fresh
1.8.2) Foreman installs report the following:

··· --- Unable to upload job - aborting report upload

{

“error”: {“message”:“Cannot do
Dynflow::Executors::Abstract::Execution[execution_plan_id:
4c680e98-154b-455d-b932-0bc5ab626ea7, finished:
#Dynflow::Future:0x000000099d0ab8], no connection to a Listener”}

}

For some reason, the new installation throws that error three times
(different execution_plan_ids though).

This was working at some point with 1.7.

Thanks!

On Tue, Aug 4, 2015 at 6:43 AM, Stephen Benjamin stephen@redhat.com wrote:

On Mon, Aug 03, 2015 at 11:37:05PM -0600, Bryan Arenal wrote:

Hi,

I have a Foreman 1.8.2 install and am running salt 2015.5.3 on both my
master and minion but I can’t seem to get any reports from the
minions. A ‘salt * state.highstate’ returns successfully and I can
see all of the grains if I browse the host facts in the Foreman UI,
but no matter what I try, Foreman shows the host as having no reports.
What can I try to resolve this?

What happens when you run upload-salt-reports from the proxy?

Foreman :: Plugin Manuals


Best Regards,

Stephen Benjamin
Red Hat Engineering


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 http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

> Hi Stephen,
>
> I actually spun up a second Foreman installation last night just to
> test things out.
>
> Both the existing (which was an upgrade from 1.7) and new (fresh
> 1.8.2) Foreman installs report the following:
>
> —
> Unable to upload job - aborting report upload
>
> {
>
> "error": {"message":"Cannot do
> Dynflow::Executors::Abstract::Execution[execution_plan_id:
> 4c680e98-154b-455d-b932-0bc5ab626ea7, finished:
> #<Dynflow::Future:0x000000099d0ab8>], no connection to a Listener"}
>
> }
> —
>
> For some reason, the new installation throws that error three times
> (different execution_plan_ids though).
>
> This was working at some point with 1.7.
>
> Thanks!

Hi,

Looks like maybe foreman-tasks service isn't started, or is in somehow
a bad state. Try (re)starting foreman-tasks, and also ensure its
enabled on boot.

··· On Tue, Aug 04, 2015 at 04:32:06PM -0600, Bryan Arenal wrote:

On Tue, Aug 4, 2015 at 6:43 AM, Stephen Benjamin stephen@redhat.com wrote:

On Mon, Aug 03, 2015 at 11:37:05PM -0600, Bryan Arenal wrote:

Hi,

I have a Foreman 1.8.2 install and am running salt 2015.5.3 on both my
master and minion but I can’t seem to get any reports from the
minions. A ‘salt * state.highstate’ returns successfully and I can
see all of the grains if I browse the host facts in the Foreman UI,
but no matter what I try, Foreman shows the host as having no reports.
What can I try to resolve this?

What happens when you run upload-salt-reports from the proxy?

Foreman :: Plugin Manuals


Best Regards,

Stephen Benjamin
Red Hat Engineering


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 http://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 http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Best Regards,

Stephen Benjamin
Red Hat Engineering