glance image-create error happened when i deploy openstack environment via devstack

Bug #1092783 reported by yilong
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
High
Dean Troyer

Bug Description

glance image-create errors happened when i deployed openstack environment via devstack. i tried to execute "glance image-create" command Manually, and i find its state is always "queued" with running "glance image-list" command. so it shows me "HTTPInternalServerError "

The detailed error log as follows:
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
++ glance --os-auth-token xxx --os-image-url http://192.168.98.83:9292 image-create --name cirros-0.3.0-x86_64-uec-kernel --public --container-format aki --disk-format aki
Request returned failure status.
HTTPInternalServerError (HTTP 500)
+ KERNEL_ID=
+ '[' -n /home/stack/jenkins/workspace/devstack-installation/distro/ubuntu12.10/devstack/files/images/cirros-0.3.0-x86_64-uec/cirros-0.3.0-x86_64-initrd ']'
++ grep ' id '
++ get_field 2
++ read data
++ glance --os-auth-token xxx --os-image-url http://192.168.98.83:9292 image-create --name cirros-0.3.0-x86_64-uec-ramdisk --public --container-format ari --disk-format ari
Request returned failure status.
HTTPInternalServerError (HTTP 500)
+ RAMDISK_ID=
+ glance --os-auth-token xxx --os-image-url http://192.168.98.83:9292 image-create --name cirros-0.3.0-x86_64-uec --public --container-format ami --disk-format ami
Request returned failure status.
HTTPInternalServerError (HTTP 500)
++ failed
++ local r=1
+++ jobs -p
++ kill
++ set +o xtrace

Revision history for this message
yilong (yilongx-y-sun) wrote :

My environment is ubuntu11.10 x86_64

Dean Troyer (dtroyer)
Changed in devstack:
importance: Undecided → High
status: New → Triaged
assignee: nobody → Dean Troyer (dtroyer)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/18731

Changed in devstack:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/18731
Committed: http://github.com/openstack-dev/devstack/commit/64ab774313a5791cfbd8798c68a93068a11229ac
Submitter: Jenkins
Branch: master

commit 64ab774313a5791cfbd8798c68a93068a11229ac
Author: Dean Troyer <email address hidden>
Date: Fri Dec 28 15:38:28 2012 -0600

    Set up swift's auth cache dir

    Swift backing glance doesn't work due to auth_token failing without
    a signing_dir configured and set up. Create the dir and configure
    in proxy-server.conf

    Bug 1092783

    Change-Id: If9ac46592bb7fc09e6cfd0a802a4fa61304fc369

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.