RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1185627 - glance provision disregards keystone region setting
Summary: glance provision disregards keystone region setting
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Juno
Assignee: Martin Magr
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-25 12:02 UTC by Attila Fazekas
Modified: 2016-05-19 16:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 16:02:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Attila Fazekas 2015-01-25 12:02:32 UTC
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:

Comment 3 Chandan Kumar 2016-05-19 16:02:29 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.