AMBARI-8513. "Host doesn't exist in database" exception in log after failed agent registration. fix UT (alexantonenko)