add validate for host and keystone