Hi-<div><br></div><div>I followed the folsom guide given below, </div><div>but the error is intact. </div><div><br></div><div><div>ERROR: Unable to load glance-api-keystone from configuration file /etc/glance/glance-api-paste.ini.</div>
<div>Got: ImportError("<module 'glance.api' from '/usr/local/lib/python2.7/dist-packages/glance-2012.2-py2.7.egg/glance/api/__init__.pyc'> has no 'root_app_factory' attribute",)</div>
<div><br></div><div>Any guidance on troubleshooting the same'</div><div><br></div><div>The glance-api-paste.ini is as follows</div><div><br></div><div><div># Use this pipeline for no auth or image caching - DEFAULT</div>
<div>[pipeline:glance-api]</div><div>pipeline = versionnegotiation unauthenticated-context rootapp</div><div><br></div><div># Use this pipeline for image caching and no auth</div><div>[pipeline:glance-api-caching]</div><div>
pipeline = versionnegotiation unauthenticated-context cache rootapp</div><div><br></div><div># Use this pipeline for caching w/ management interface but no auth</div><div>[pipeline:glance-api-cachemanagement]</div><div>pipeline = versionnegotiation unauthenticated-context cache cachemanage rootapp</div>
<div><br></div><div># Use this pipeline for keystone auth</div><div>[pipeline:glance-api-keystone]</div><div>pipeline = versionnegotiation authtoken context rootapp</div><div><br></div><div># Use this pipeline for keystone auth with image caching</div>
<div>[pipeline:glance-api-keystone+caching]</div><div>pipeline = versionnegotiation authtoken context cache rootapp</div><div><br></div><div># Use this pipeline for keystone auth with caching and cache management</div><div>
[pipeline:glance-api-keystone+cachemanagement]</div><div>pipeline = versionnegotiation authtoken context cache cachemanage rootapp</div><div><br></div><div>[composite:rootapp]</div><div>paste.composite_factory = glance.api:root_app_factory</div>
<div>/: apiversions</div><div>/v1: apiv1app</div><div>/v2: apiv2app</div><div><br></div><div>[app:apiversions]</div><div>paste.app_factory = glance.api.versions:create_resource</div><div><br></div><div>[app:apiv1app]</div>
<div>paste.app_factory = glance.api.v1.router:API.factory</div><div><br></div><div>[app:apiv2app]</div><div>paste.app_factory = glance.api.v2.router:API.factory</div><div><br></div><div>[filter:versionnegotiation]</div><div>
paste.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory</div><div><br></div><div>[filter:cache]</div><div>paste.filter_factory = glance.api.middleware.cache:CacheFilter.factory</div>
<div><br></div><div>[filter:cachemanage]</div><div>paste.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter.factory</div><div><br></div><div>[filter:context]</div><div>paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory</div>
<div><br></div><div>[filter:unauthenticated-context]</div><div>paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory</div><div><br></div><div>[filter:authtoken]</div><div>paste.filter_factory = keystone.middleware.auth_token:filter_factory</div>
<div>auth_host = 10.232.90.115</div><div>auth_port = 35357</div><div>auth_protocol = http</div><div>admin_tenant_name = service</div><div>admin_user = glance</div><div>admin_password = password</div></div><div><br></div><div>
<br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">On Mon, Oct 15, 2012 at 4:28 PM, Skible OpenStack <span dir="ltr"><<a href="mailto:skible.openstack@gmail.com" target="_blank">skible.openstack@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>This is why you were getting the Err111
because you can't reach Glance-api service since it doesn't load !<div class="im"><br>
ERROR: Unable to load glance-api from configuration file
/etc/glance/glance-api-paste.ini<br>
<br></div>
Verify your glance-api-paste.ini file with the steps provided in
this <a href="https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst" target="_blank">Folsom
Install Guide</a> to find what's missing : <br>
<br>
Le 15/10/2012 12:55, Trinath Somanchi a écrit :<br>
</div><div class="im">
<blockquote type="cite">ERROR: Unable to load glance-api from configuration
file /etc/glance/glance-api-paste.ini</blockquote>
<br>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div>+91 9866 235 130</div><br>
</div>