Description of problem: Packstack installation fails when you change the 'CONFIG_KEYSTONE_REGION' option in the answer file. Version-Release number of selected component (if applicable): openstack-packstack-2014.2-0.14.dev1401.gdd19d48.fc22.noarch openstack-packstack-puppet-2014.2-0.14.dev1401.gdd19d48.fc22.noarch How reproducible: always Steps to Reproduce: 1. packstack --gen-answer-file=ans 2. sed -i 's/CONFIG_KEYSTONE_REGION=.*/CONFIG_KEYSTONE_REGION=test/' ans 3. packstack --answer-file=ans Actual results: 172.16.40.7_swift.pp: [ DONE ] 172.16.40.7_provision_demo.pp: [ DONE ] 172.16.40.7_provision_glance: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 172.16.40.7_provision_glance Error: Could not prefetch glance_image provider 'glance': Execution of '/usr/bin/glance --os-tenant-name services --os-username glance --os-password 9802d0f6f695443b --os-region-name RegionOne --os-auth-url http://172.16.40.7:35357/v2.0/ image-list' returned 1: public endpoint for image service in RegionOne region not found You will find full trace in log /var/tmp/packstack/20150125-114114-VExiA7/manifests/172.16.40.7_provision_glance.log Please check log file /var/tmp/packstack/20150125-114114-VExiA7/openstack-setup.log for more information Additional information: * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * File /root/keystonerc_admin has been created on OpenStack client host 172.16.40.7. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://172.16.40.7/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://172.16.40.7/nagios username: nagiosadmin, password: 5e0166aacedd4864 # cat /var/tmp/packstack/20150125-114114-VExiA7/manifests/172.16.40.7_provision_glance.log Notice: Compiled catalog for afazekas-plain-21.novalocal in environment production in 0.12 seconds Error: Could not prefetch glance_image provider 'glance': Execution of '/usr/bin/glance --os-tenant-name services --os-username glance --os-password 9802d0f6f695443b --os-region-name RegionOne --os-auth-url http://172.16.40.7:35357/v2.0/ image-list' returned 1: public endpoint for image service in RegionOne region not found Error: Execution of '/usr/bin/glance --os-tenant-name services --os-username glance --os-password 9802d0f6f695443b --os-region-name RegionOne --os-auth-url http://172.16.40.7:35357/v2.0/ image-create --name=cirros --is-public=Yes --container-format=bare --disk-format=qcow2 --copy-from=http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img' returned 1: public endpoint for image service in RegionOne region not found Error: /Stage[main]/Main/Glance_image[cirros]/ensure: change from absent to present failed: Execution of '/usr/bin/glance --os-tenant-name services --os-username glance --os-password 9802d0f6f695443b --os-region-name RegionOne --os-auth-url http://172.16.40.7:35357/v2.0/ image-create --name=cirros --is-public=Yes --container-format=bare --disk-format=qcow2 --copy-from=http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img' returned 1: public endpoint for image service in RegionOne region not found Expected results: glance provision respects the configured region. Additional info:
This bug is against a Version which has reached End of Life. If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.