Problem:
Hello Everyone!
Looks like I’m stuck with theme of auto host creation of Salt minions.
I see that this option is possible in question Auto host creation of Salt-minion in Foreman
I’ve added to salt master config trigger to upload foreman report after each.
So I followed this recommendations https://github.com/theforeman/smart_proxy_salt/tree/master/salt/report_upload too
/etc/salt/master
...
schedule:
highstate:
function: state.orchestrate
seconds: 600
args:
- _orchestrate/highstate
reactor:
- 'salt/job/*/ret/*':
- salt://_reactor/foreman_report_upload.sls
master_tops:
ext_nodes: /usr/bin/foreman-node
I see that Foreman proxy send this reports and Server receives them successfully.
I see that Foreman Server processes reports regularly with status succeeded
Perhaps, the cause of issue that grains aren’t uploaded to Foreman, but unfortunately I have no idea how to troubleshoot it correctly
Expected outcome:
Auto host minions creation in Foreman
Foreman and Proxy versions:
Server: Foreman 2.1-rc1 + foreman_salt plugin 13.2.3
Salt Master:
smart-proxy
and smart-proxy-salt
from yum repo for Foreman 2.1 release
salt
3000.1 and python
3.6.8
on Centos 7.8.2003
Thank you in advance