Add a validator for validating components in the cluster infrastructure.

Closes #1295 
Left a log statement in here