Ask Your Question
0

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 192.168.1.210 Port 80 (HTTP 502) +functions:upload_image:1 exit_trap +devstack/stack.sh:exit_trap:515 local r=1 ++devstack/stack.sh:exit_trap:516 jobs -p +devstack/stack.sh:exit_trap:516 jobs= +devstack/stack.sh:exit_trap:519 [[ -n '' ]] +devstack/stack.sh:exit_trap:525 '[' -f /tmp/tmp.6yzdNzcVDh ']' +devstack/stack.sh:exit_trap:526 rm /tmp/tmp.6yzdNzcVDh +devstack/stack.sh:exit_trap:530 kill_spinner +devstack/stack.sh:kill_spinner:425 '[' '!' -z '' ']' +devstack/stack.sh:exit_trap:532 [[ 1 -ne 0 ]] +devstack/stack.sh:exit_trap:533 echo 'Error on exit' Error on exit +devstack/stack.sh:exit_trap:535 type -p generate-subunit +devstack/stack.sh:exit_trap:536 generate-subunit 1519910429 1875 fail +devstack/stack.sh:exit_trap:538 [[ -z /opt/stack/logs ]] +devstack/stack.sh:exit_trap:541 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs +devstack/stack.sh:exit_trap:550 exit 1

Any idea about this?

edit retag flag offensive close merge delete

Comments

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
0

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 237 times

Last updated: Mar 08