I'm not sure what happened on this particular host, but Foreman seems a
little confused about it. Foreman shows the host as OS = Solaris 108
(totally new os), domain = example.com. The host was perhaps configured
poorly as its /etc/hosts had a record for its own IP address that looked
like: IP host host.servers.example.com. Puppet's certificate is for the
correct fqdn host.servers.example.com, but the Foreman UI shows
host.example.com. I have corrected the hosts file, and am trying to delete
the host in Foreman, which fails and produces this:
Oops, we're sorry but something went wrong
undefined method `' for nil:NilClass
If you feel this is an error with Foreman itself, please open a new issue
with Foreman ticketing system, You would probably need to attach the Full
trace and relevant log entries.
' for nil:NilClass* app/controllers/hosts_controller.rb:122:indestroy'
It would seem the Foreman logs produces similar message, but no more detail
about the issue.
I'm running 1.2.2-1.el6 with the puppetdb_foreman plugin. I'd like to get
this host removed and reconfigure puppet agent to basically build a new
host in puppetdb/foreman.
Thanks in advance for your thoughts!