One more thing to note - if I delete a discovered host from Foreman and 
re-run older discovery agent, it gets the following errors from Foreman for 
about 5 minutes, but after that successfully registers, closely resembling 
behavior observed on FDI 3.3.1:

<snip>
Fact cache invalid, reloading to foreman
Parsing kernel line: <snip>
Discovered by URL: https://foreman.domain.com
Registering host with Foreman (https://foreman.domain.com)
Response from Foreman 422: {"message":"undefined local variable or method 
`reports' for #\u003cHost::Discovered:0x007f0a485be538\}
Fact cache invalid, reloading to foreman
Parsing kernel line: <snip>
Discovered by URL: https://foreman.domain.com
Registering host with Foreman (https://foreman.domain.com)
Response from Foreman 422: {"message":"undefined local variable or method 
`reports' for #\u003cHost::Discovered:0x007f0a1ed98ee0\}
Fact cache invalid, reloading to foreman
Parsing kernel line: <snip>
Discovered by URL: https://foreman.domain.com
Registering host with Foreman (https://foreman.domain.com)
Response from Foreman 201: 
{"id":426240,"name":"mac7cd30abf30ac","last_compile":null,"last_report":"2017-02-27T23:07:19.016Z","up
 
<snip>

As you can see, both older and latest discovery agents even on official FDI 
3.3.1 get very similar errors that "self-correct" themselves in ~5 minutes 
after initial registration.

Thanks again!

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to