Red Hat Bugzilla – Bug 1022539
--install-hosts insists on IP addresses, refuses DNS host names.
Last modified: 2014-10-25 03:10:03 EDT
Description of problem:
I am testing packstack in virtual machines and have a libvirt network configured such that virtual machines have the resolvable names:
When running packstack with the --install-hosts option however I found that it will not accept host names.
Version-Release number of selected component (if applicable):
# packstack --install-hosts=controller.example.com,compute1.example.com,compute2.example.com
Welcome to Installer setup utility
Parameter CONFIG_NOVA_API_HOST failed validation: Given host is not in IP address format: controller.example.com
ERROR : Failed handling answer file: Given host is not in IP address format: controller.example.com
Please check log file /var/tmp/packstack/20131023-131046-H8efqE/openstack-setup.log for more information
Creation of a three node setup with host names used in configuration files instead of IP addresses.
In the past we had problem with some services and hostnames, so packstack currently accepts only IP addresses. We can check if this is still the problem and start supporting hostnames for some services, but safety reasons installhosts will support IP addresses only.