Glance-registry not starting on Wheezy
Hello,
I'm trying to install OpenStack and I have successfully install Keystone with these tutorials: http://docs.openstack.org/grizzly/basic-install/apt/content/ (http://docs.openstack.org/grizzly/bas...) and http://docs.openstack.org/trunk/openstack-compute/install/yum/content/ch_installing-openstack-overview.html (http://docs.openstack.org/trunk/opens...)
Now I have some difficulties with Glance services. Glance-api seems to work great. Glance-registry seems to work when I launch "service glance-registry start" but there is no processus named glance-registry with the command "ps aux | grep glance-registry" and there is no information in /var/log/glance/registry.log.
However when I try this command => glance-registry glance-registry.conf & I have this error => ERROR: Unable to load glance-registry-keystone from configuration file /etc/glance/glance-registry-paste.ini. Got: ImportError("<class 'glance.registry.api.v1.api'=""> has no 'factory' attribute",)
Consequently when I have an error when I try the command "glance index" : Failed to show index. Got error: The request returned 503 Service Unavilable. This generally occurs on service overload or other transient outage.
This is the file glance-registry-paste.ini
Use this pipeline for no auth - DEFAULT
#[pipeline:glance-registry] #pipeline = unauthenticated-context registryapp
Use this pipeline for keystone auth
[pipeline:glance-registry-keystone] pipeline = authtoken context registryapp
[filter:authtoken] paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory admin_tenant_name = service admin_user = glance admin_password = glance
[app:registryapp] paste.app_factory = glance.registry.api.v1:API.factory
[filter:context] paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
[filter:unauthenticated-context] paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
[filter:authtoken] paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
Thank you in advance for your help :)