State.high

I'm having issues with foreman salt

OS: rh7
salt-master on the same server

If I run this command :
state.highstate

049-ldb.net

··· ---------- ID: states Function: no.None Result: False Comment: No Top file or external nodes data matches found Started: Duration: Changes:

Summary

Succeeded: 0
Failed: 1

Total states run: 1

Second command
upload-salt-reports

Error log
ERROR: Minions returned with non-zero exit code
Exception RuntimeError: ‘maximum recursion depth exceeded in
subclasscheck’ in <type ‘exceptions.RuntimeError’> ignored
Traceback (most recent call last):
File “/usr/sbin/upload-salt-reports”, line 137, in
upload(jobs_to_upload())
File “/usr/sbin/upload-salt-reports”, line 99, in upload
port=config[’:port’], key_file=config[’:ssl_key’],
KeyError: ‘:ssl_key’

Does any one have a clue what is wrong with this error
I do not see on the dashboar the bran new

New intall

Hi,

> I'm having issues with foreman salt
>
> OS: rh7
> salt-master on the same server
>
>
> If I run this command :
> state.highstate
>
> 049-ldb.net
> ----------
> ID: states
> Function: no.None
> Result: False
> Comment: No Top file or external nodes data matches found
> Started:
> Duration:
> Changes:

You're running state.highstate but there's no states assigned to the
host. Either assign them in the foreman UI, or one of the other
master_tops systems (like top.sls).

>
> Summary
> ------------
> Succeeded: 0
> Failed: 1
> ------------
> Total states run: 1
>
> Second command
> upload-salt-reports
>
> Error log
> ERROR: Minions returned with non-zero exit code
> Exception RuntimeError: 'maximum recursion depth exceeded in
> subclasscheck' in <type 'exceptions.RuntimeError'> ignored
> Traceback (most recent call last):
> File "/usr/sbin/upload-salt-reports", line 137, in <module>
> upload(jobs_to_upload())
> File "/usr/sbin/upload-salt-reports", line 99, in upload
> port=config[':port'], key_file=config[':ssl_key'],
> KeyError: ':ssl_key'
>
> Does any one have a clue what is wrong with this error
> I do not see on the dashboar the bran new

Have you followed all the installation instructions?

/etc/salt/foreman.yaml isn't configured or somehow missing some lines.

See the last section of:
http://theforeman.org/plugins/foreman_salt/4.0/index.html#2.1SmartProxy

Hope that helps

··· On Wed, Oct 28, 2015 at 10:01:24PM -0700, David Toledo wrote:


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