Hello,
I am trying to deploy multiple hosts using hammer. but while creating host getting the below error. can anyone help here pls. I am not able find what I am missing?
could you please share the content of /var/log/foreman/production.log from that timeframe?
Maybe there are more information on the underlying problem.
Also, what version of Foreman are you running and which plugins do you have installed? (If in doubt, the About page under Administer in the WebUI will tell you)
From the logs, it looks like the hostgroup can not be found.
Could you please share the output of 'hammer hostgroup info --id 1?
I would assume that the HG is not assiciated to your organization or location (or both).
Thanks Areyus. Now I am able to create hosts using hammer.
But seeing the below error on Template fields:
I selected required templates btw in Image and host group as well.
2019-07-13T00:17:01 [W|app|fd2bb3c4] Failed to fetch templates information
Foreman::Exception: ERF42-7633 [Foreman::Exception]: No templates found
I would assume this is that same problem.
Please check if all your required templates (partitioning templates, provisioning templates, snippets, PXELinux templates) are associated with your Organization and Location.