Bug #1815
closedpopulate_hosts skipping nodes because of no facts
Description
Foreman is using a separate db and puppetmaster is using storeconfig. I can see that the facts are getting into the storeconfig db and Foreman receives the reports from puppet, but when i try to run _RAILS_ENV=production /usr/bin/rake puppet:migrate:populate_hosts _ i receive the following output:
[host] has no facts, skipping
for every host that has reported to foreman. It seems to me that Foreman does not see the facts in the storeconfig db.
I'm running Ubuntu 12.04 LTS and used the official packages from http://deb.theforeman.org/ and the Ubuntu provided official puppet packages.
Updated by Ohad Levy about 12 years ago
- Status changed from New to Resolved
thats not a bug, as that task is designed to use the currently facts to populate other fields in foreman.
see Puppet Facts to see how to import the facts into foreman, probably best way is to use the ENC script.