Unable to upload the images into glance - VOVA

asked 2014-05-29 06:01:29 -0600

gopisaba gravatar image

updated 2014-05-29 07:43:58 -0600

i am working on VOVA icehouse for POC. i have configured glance images to store the images on datastore itself. when i try to upload any image. this is the error message i am getting

root@localhost:/tmp# glance image-create --name OL --public --container-format=bare --disk-format=vmdk --property vmware-disktype="sparse" --file OL-6-3-1-64-disk1.vmdk
500 Internal Server Error
Failed to upload image 1221ca0f-fd6e-4bb3-aff2-b937ebb82035
(HTTP 500)
root@localhost:/tmp#
edit retag flag offensive close merge delete

Comments

You really need to post relevant log information from /var/log/glance on the system where glance-api and glance-registry are running. Can you do this? It helps to run the glance client with --debug also.

timoteoverde gravatar imagetimoteoverde ( 2014-05-29 07:49:46 -0600 )edit

Hi, try enabling debug and verbose mode in your glance.conf file, then restart glance and retry creating an image. Then check glance logs in /var/log/glance/ and pastebin the error or the entire log.

Additionally you could also pastebin your glance.conf.

Antonio G. gravatar imageAntonio G. ( 2014-05-29 07:50:40 -0600 )edit

Here is the glance-api.log info:

2014-05-29 20:01:46.962 2122 DEBUG keystoneclient.middleware.auth_token [-] Authenticating user token __call__ /opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py:619 2014-05-29 20:01:46.962 2122 DEBUG keystoneclient.middleware.auth_token [-] Removing headers from request environment: X-Identity-Status,X-Domain-Id,X-Domain-Name,X-Project-Id,X-Project-Name,X-Project-Domai n-Id,X-Project-Domain-Name,X-User-Id,X-User-Name,X-User-Domain-Id,X-User-Domain-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role _remove_auth_headers /opt/stack/python-keyston eclient/keystoneclient/middleware/auth_token.py:678 2014-05-29 20:01:46.963 2122 DEBUG keystoneclient.middleware.auth_token [-] Returning cached token _cache_get /opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py:1041 2014-05-29 20:01:46.963 2122 DEBUG keystoneclient.middleware.auth_token [-] Storing token in cache _cache_put /opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py:1151 2014-05-29 20:01:46.963 2122 DEBUG keystoneclient.middleware.auth_token [-] Received request from user: 29a9521d40e7402d9f39009f7168e027 with project_id : 46362376e0d9494face6acce0603a237 and roles: heat_st ack_owner,admin _build_user_headers /opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py:940 2014-05-29 ...(more)

gopisaba gravatar imagegopisaba ( 2014-05-30 01:39:03 -0600 )edit

additional information:

I am able to upload few of the iso images without any issues but when i try to upload the vmdk file it ends with the above error message (Not Authenticated)

gopisaba gravatar imagegopisaba ( 2014-06-04 08:50:48 -0600 )edit