Problem with Devstack installation

asked 2018-03-01 08:25:46 -0500

alexgs27 gravatar image

Hello, I am trying to install devstack and I get the next error message. I don't know how I can repair it.

The error message happens when it is trying create the image of cirros:

openstack --os-cloud=devstack-admin --os-region-name=RegionOne image create cirros-0.3.5-x86_64-disk --public --container-format=bare --disk-format qcow2

502 Bad Gateway: Bad Gateway: The proxy server received an invalid: response from an upstream server.: Apache/2.4.18 (Ubuntu) Server at Port 80 (HTTP 502) +functions:upload_image:1 exit_trap +devstack/ local r=1 ++devstack/ jobs -p +devstack/ jobs= +devstack/ [[ -n '' ]] +devstack/ '[' -f /tmp/tmp.6yzdNzcVDh ']' +devstack/ rm /tmp/tmp.6yzdNzcVDh +devstack/ kill_spinner +devstack/ '[' '!' -z '' ']' +devstack/ [[ 1 -ne 0 ]] +devstack/ echo 'Error on exit' Error on exit +devstack/ type -p generate-subunit +devstack/ generate-subunit 1519910429 1875 fail +devstack/ [[ -z /opt/stack/logs ]] +devstack/ /opt/stack/devstack/tools/ -d /opt/stack/logs +devstack/ exit 1

Any idea about this?

edit retag flag offensive close merge delete


Apache is the proxy server for Glance. This means that Apache listens for requests and routes them to Glance. The error indicates that it can't reach Glance. Since this is a single-server DevStack, I guess Glance is simply not running. Check the Glance API log.

Bernd Bausch gravatar imageBernd Bausch ( 2018-03-08 21:34:45 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-03-08 15:39:54 -0500

rlpple gravatar image

updated 2018-03-08 15:40:21 -0500

So your command seems to be missing the image name. Also did you source the devstack-admin rc?

my command after I source my adminrc

openstack image create --disk-format qcow2 --container-format bare --file cirros-0.3.5-x86_64-disk cirros --public
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-03-01 08:25:46 -0500

Seen: 506 times

Last updated: Mar 08 '18