We use the credential checks and live host check in both the Ansible Hadoop deploy and the new Kubernetes deploy, so it makes sense to move them into a separate file that can be included into both deployments.
Credential checks are in Openstack credential-tools.sh.
Hostname checks are done twice, once in Ansible Hadoop deploy.sh and again in Openstack delete-all.sh.
We use the credential checks and live host check in both the Ansible Hadoop deploy and the new Kubernetes deploy, so it makes sense to move them into a separate file that can be included into both deployments.