Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am trying to reproduce the situation ...

  • I have set this on /etc/glance/glance-api.conf
default_store = cinder
# ============ Cinder Store Options ===============================
cinder_catalog_info = volume:cinder:internalurl
cinder_endpoint_template = http://controller:8776/v1/%(tenant_id)s
os_region_name = regionOne
cinder_http_retries = 3
cinder_api_insecure = True
  • I had to install sheepdog to avoid "collie" errors.
2013-10-29 16:33:19.584 3282 WARNING glance.store.base [-] Failed to configure store correctly: Store sheepdog could not be configured correctly. Reason: Error in store configuration: Unexpected error while running command.
Command: collie
Exit code: 127
Stdout: ''
Stderr: '/bin/sh: collie: no se encontr\xc3\xb3 la orden\n' Disabling add method.
  • When i try to do a service restart i always get this error in log but the service starts
2013-11-21 18:05:41.232 4726 WARNING glance.store.base [-] Failed to configure store correctly: Store cinder could not be configured correctly. Reason: Cinder storage requires a context. Disabling add method.

2013-11-21 18:05:41.234 4726 WARNING glance.store.base [edd211d9-b4a9-4d6b-ae76-8e2eaaa34f03 None None] Failed to configure store correctly: Store cinder could not be configured correctly. Reason: Cinder storage requires a service catalog. Disabling add method.
  • Finally, when tryng to upload an image i get the 500 Error
[root@controller ~]# glance image-create --name="Cirros 0.31 x64" --disk-format=qcow2 --container-format=bare --is-public=yes < cirros-0.3.1-x86_64-disk.img
Request returned failure status.
500 Internal Server Error
Failed to upload image d1cfd289-8261-4357-a7f3-c59906db8828
    (HTTP 500)
  • Are you getting this kind of error in glance-api.log ?