> unless new_host && hostgroup.nil? && respond_to?(:reports) && 
> reports.empty? 
>
>
Well, that's what I was trying to tell you - this patch did not work for 
me. I tried it out as you suggested on May 3rd, the only difference it made 
is the error message changed from

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\}

to 

Discovered by URL: https://spc.vip
Registering host with Foreman (https://spc.vip)
Response from Foreman 422: {"message":"undefined method `respond_to' for 
#\u003cHost::Discovered:0x007f102410e8a8\u003e"}

So, only a complete removal of that RPM helped me so far.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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