Ask Your Question
1

devstack installation issue: Failed to upload image ( HTTP 500)

asked 2014-03-07 09:54:30 -0500

rossi gravatar image

updated 2014-03-07 14:39:23 -0500

smaffulli gravatar image

Trying to install devstack on a VM wth ubuntu 12.04 LTS , I got the following error.

 500 Internal Server Error
2014-03-07 15:50:05.583 | Failed to upload image eefc09df-53cd-4789-9747-02ceebf8685a
2014-03-07 15:50:05.584 |     (HTTP 500)
2014-03-07 15:50:05.601 | + KERNEL_ID=
2014-03-07 15:50:05.603 | + '[' -n /home/stack/devstack/files/images/cirros-0.3.1-x86_64-uec/cirros-0.3.1-x86_64-initrd ']'
2014-03-07 15:50:05.604 | ++ grep ' id '
2014-03-07 15:50:05.605 | ++ glance --os-auth-token M

The file /home/stack/devstack/files/images/cirros-0.3.1-x86_64-uec/cirros-0.3.1-x86_64-initrd is not missing on my pc. I have tried to unstack, clean and clone again devstack but still same problem.

Any idea ? The only solution I see now is trying to install RDO but I am on ubuntu so may be not so easy.

edit retag flag offensive close merge delete

Comments

check better your logs as a lot of things may be failing... authentication, for example? Edit your question to add more details.Also, search this site as this is a common problem.

smaffulli gravatar imagesmaffulli ( 2014-03-07 14:39:05 -0500 )edit

I have set in file local.conf the HOST_IP with my eth0 IP address. And now... I have another error... GATEWAY TIMEOUT 504.

rossi gravatar imagerossi ( 2014-03-08 11:06:24 -0500 )edit

2 answers

Sort by » oldest newest most voted
1

answered 2014-03-10 08:17:52 -0500

rossi gravatar image

updated 2014-03-10 11:43:13 -0500

smaffulli gravatar image

Resolved by adding :

#
# Openstack branches
#
HORIZON_BRANCH=master
KEYSTONE_BRANCH=master
GLANCE_BRANCH=master
CINDER_BRANCH=master
NOVA_BRANCH=master
NEUTRON_BRANCH=master
CEILOMETER_BRANCH=master
HEAT_BRANCH=master
SWIFT_BRANCH=master
REQUIREMENTS_BRANCH=master
GLANCECLIENT_BRANCH=master
KEYSTONECLIENT_BRANCH=master
NOVACLIENT_BRANCH=master
CINDERCLIENT_BRANCH=master
CEILOMETERCLIENT_BRANCH=master
OPENSTACKCLIENT_BRANCH=master

in my local.conf file.

edit flag offensive delete link more
0

answered 2014-03-17 05:46:13 -0500

rossi gravatar image

updated 2014-03-17 06:39:02 -0500

Anand TS gravatar image

Problem is back again. After unstack.sh and stack.sh

when ./unstack.sh hereunder the outputs :

Signal container-updater  pid: 10594  signal: 15
Signal account-auditor  pid: 10595  signal: 15
Signal object-replicator  pid: 10596  signal: 15
No proxy-server running
Signal container-replicator  pid: 10598  signal: 15
Signal object-auditor  pid: 10599  signal: 15
No object-expirer running
Signal container-auditor  pid: 10600  signal: 15
No container-server running
No account-server running
Signal account-reaper  pid: 10603  signal: 15
Signal container-sync  pid: 10604  signal: 15
Signal account-replicator  pid: 10605  signal: 15
Signal object-updater  pid: 10606  signal: 15
No object-server running
container-updater (10594) appears to have stopped
account-auditor (10595) appears to have stopped
object-replicator (10596) appears to have stopped
container-replicator (10598) appears to have stopped
object-auditor (10599) appears to have stopped
container-auditor (10600) appears to have stopped
account-replicator (10605) appears to have stopped
account-reaper (10603) appears to have stopped
container-sync (10604) appears to have stopped
object-updater (10606) appears to have stopped
 * Stopping web server apache2                                                                                                     * 
stop: Unknown instance: 
**tgtadm: failed to send request hdr to tgt daemon, Transport endpoint is not connected**
tgtd seems to be in a bad state, restarting...

And after a rm -rf devstack and  ./stack.sh with the same local.conf

 '[' -n /home/stack/devstack/files/images/cirros-0.3.1-x86_64-uec/cirros-0.3.1-x86_64-vmlinuz ']'
2014-03-17 11:40:05.869 | ++ grep ' id '
2014-03-17 11:40:05.871 | ++ get_field 2
2014-03-17 11:40:05.872 | ++ glance --os-auth-token MIISIgYJKoZIhvcNAQcCoIISEzCCEg8CAQExCTAHBgUrDgMCGjCCEHgGCSqGSIb3DQEHAaCCEGkEghBleyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0xN1QxMDo0MDowNS42MTA4OTkiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTE3VDExO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5MmJhYiIsICIwOGE5OGYxZDBiNTU0Mjk2YjkxZjU5MWUxNTI2YjQ5YiIsICIyMmYxN2U0MDg4NzM0NTc4OTVkOTY4NDc2NWE3MGE3OCJdfX19MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIIBAC1D1Ac4-bfBrzEk4Qwmv3v6YxXttm-HY9iycALKtt3oNjhU7Io+t1b4VoduUJrKjyvPVUam3Zr6D5MyBAMoqd9rvuV3kZhuBDyh-UOAn5qbSTepK2H+ChBnHN2fro21uaJM943-3l4Dyg4oyesaojRB+Yu5MBAltZVXLEuaamtKT+uVdUlonTEKtSA5185InWPHELIugbkEWyNZ1Hbq6br9HVeLYhyYT7lsSzLm2d5NHDAKvKTBX1s2WbPCZk55OqIlV2RXTTuVvVIxxIBjrscOiQpXL1NpU2FEIL9RQO9AejYs-lFvtU+XlNl110W8bpLSP6kVqRB+J6A8OTAgx5w= --os-image-url http://192.168.200.88:9292 image-create --name cirros-0.3.1-x86_64-uec-kernel --is-public True --container-format aki --disk-format aki
2014-03-17 11:40:05.873 | ++ read data
2014-03-17 11:40:06.759 | 500 Internal Server Error
2014-03-17 11:40:06.760 | Failed to upload image 831b48c6-2d8f-4eef-a7ae-d22149caca67
2014-03-17 11:40:06.762 |     (HTTP 500)

my directory cirros-0.3.1-x86_64-uec
stack@LIN0008:~/devstack/files/images/cirros-0.3.1-x86_64-uec$ ls -ltra
total 33052
-rw-r--r-- 1 stack stack 25165824 févr.  8  2013 cirros-0.3.1-x86_64-blank.img
-rw------- 1 stack stack  4955792 févr.  8  2013 cirros-0.3.1-x86_64-vmlinuz
-rw-r--r-- 1 stack stack  3714968 févr.  8  2013 cirros-0.3.1-x86_64-initrd
edit flag offensive delete link more

Comments

Doing ./unstack.sh ./clean.sh rm -rf devstack git clone sudo rm -rf /opt/stack sudo rm -rf /var/cache/pip Change nothing. I am a little bit disappointed...

rossi gravatar imagerossi ( 2014-03-18 09:53:09 -0500 )edit

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: 2014-03-07 09:54:30 -0500

Seen: 2,324 times

Last updated: Mar 17 '14