Ask Your Question

rdo packstack allinone installation with proxy fail in _provision_glance.pp

asked 2015-01-08 08:47:27 -0500

tonioc gravatar image

updated 2015-01-12 14:53:09 -0500

rbowen gravatar image

Trying to install openstack icehouse on a single rhel 6.6 server (allinone mode for lab testing).

As my server is behind a proxy, the following files were set

/etc/yum.conf : proxy=http://<proxy-ip>:<proxy-port>
   export no_proxy=localhost,localhost.localdomain,,<local-ip>

Tried packstack installation with all default options:

# packstack --allinone

And got an error during _provision_glance.pp execution.

Error: Execution of '/usr/bin/glance -T services -I glance -K 32e99b59fc574c48 -N http://<local-ip>:35357/v2.0/ image-create --name=cirros --is-public=Yes --container-format=bare --disk-format=qcow2 --copy-from=' returned 1: Request returned failure status.

glance.pp.log tells "400 Bad Request The HTTP URL is invalid."

Indeed, I get the same result if trying to play the "glance -T services ..." myself, although wget is ok for both URLs and http:// :35357/v2.0/

I restarted the whole process, but get stuck there again.

The dashboard is available using keystonerc_xxx credentials, but maybe some configuration steps (no only loading the demo cirros image) are missing?

Note: the exact same symptoms were already show in question '' , but proxy variables are set in my environment, and this doesn't seem enough. Maybe did I miss something else? I have some background on using libvirt/kvm, but am a newbie on openstack.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-07 03:55:05 -0500

vedsarkushwaha gravatar image

You can set CONFIG_PROVISION_DEMO to n in the answer file. Although, I'll highly encourge you to see the below link: (

edit flag offensive delete link more


actually this is what I found in the meantime.

tonioc gravatar imagetonioc ( 2015-03-31 10:47:56 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-08 08:47:27 -0500

Seen: 2,682 times

Last updated: Jan 12 '15