Do you recall what this after_validation method was for?  https://github.com/theforeman/foreman/blob/develop/app/models/host/managed.rb#L537-L541

I wonder if it shouldn't be before_validation and we rely on that instead.  (Though probably only when we're creating hosts, it would be bad on update.)