RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1147716 - packstack install fails because Glance provisioning doesn't work behind proxy
Summary: packstack install fails because Glance provisioning doesn't work behind proxy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Javier Peña
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-29 23:33 UTC by John Haller
Modified: 2014-12-17 01:04 UTC (History)
6 users (show)

Fixed In Version: openstack-packstack-2014.2-0.7.dev1340.gd4df05a.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-17 01:04:35 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 132813 0 None None None Never
OpenStack gerrit 132823 0 None None None Never

Description John Haller 2014-09-29 23:33:01 UTC
Description of problem:
The juno-3 packstack attempts to install the cirros cloud image from
http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img
This doesn't work if the cloud is being installed behind a proxy, as
glance does not support proxy servers, see OpenStack bug:
https://bugs.launchpad.net/glance/+bug/1263067
Even if glance did support a proxy, there is no way to specify any proxy
for Glance in the packstack answer file.


Version-Release number of selected component (if applicable):
openstack-packstack-2014.2-0.2.dev1266.g63d9c50.el7.centos.noarch
openstack-packstack-puppet-2014.2-0.2.dev1266.g63d9c50.el7.centos.noarch
(One of the above)

How reproducible:
By installing RDO juno-3 behind an environment needing a http proxy.




Steps to Reproduce:
1. Set up system which can only access external web sites through a proxy server
2. Attempt to install juno-3 milestone in that environment.
3. 

Actual results:
Note that the failure in provision_glance.pp (timeout in my case, error in others)

Expected results:
provision_glance.pp succeeds

Additional info:
One suggested change is to make the source of the cirros image a packstack
parameter defaulting to the http URL. The RDO installation can be changed to
a file or local URL if installing from behind a proxy.

Comment 2 John Haller 2014-10-22 16:34:49 UTC
Note that setting CONFIG_PROVISION_DEMO to n allows the installation to proceed, so that is a workaround. The cirros image then needs to be added afterwards from a location which doesn't need to use a proxy, if the full demo environment is desired.

Comment 3 Javier Peña 2014-11-05 11:47:22 UTC
Posted https://review.openstack.org/132813 and https://review.openstack.org/132823 for review. 

Together, they add a new configuration option (CONFIG_PROVISION_DEMO_CIRROS_URL) to allow specifying where the Cirros image should be obtained from (local path or URL), and fix the puppet-glance module to work properly with local paths.

Comment 4 Javier Peña 2014-11-12 11:34:58 UTC
For the sake of completeness, the new configuration option was finally called CONFIG_PROVISION_CIRROS_URL to allow reuse for tempest.

Comment 5 Alan Pevec 2014-12-17 01:04:35 UTC
openstack-packstack-2014.2-0.7.dev1340.gd4df05a.fc22 is available in the public RDO Juno repository


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