Create image, Bad request
Hi everyone I setup the openstack with devstack, and when I want to create an image, there is an error says "Client disconnected before sending all data to backend"(Http 400)
My command is
glance image-create --name='ubuntu12.04 server' --is-public=true --container-format=bare --disk-format=qcow2 < ubuntu-12.04-server-cloudimg-amd64-disk1.img
And by the way, How can I access to the log of glance? I have try the glance-api.log, but there is nothing while I am executing "glance".
Thanks!!!
Comments
- Set DEBUG=True in glance.conf
- glance --debug image-create --name='ubuntu12.04 server' --is-public=true --container-format=bare --disk-format=qcow2 < ubuntu-12.04-server-cloudimg-amd64-disk1.img