In your nova-api log, you should see lines like the following if openstackx is loading:<div><br></div><div>2012-01-18 09:32:01,329 DEBUG nova.api.openstack.extensions [-] Loading extension extensions.admin.Admin from (pid=3731) debug /opt/stack/nova/nova/log.py:1752012-01-18 09:32:01,620 DEBUG nova.api.openstack.extensions [-] Calling extension factory extensions.admin.Admin from (pid=3731) debug /opt/stack/nova/nova/log.py:175</div>
<div><br></div><div>The above is from essex, and the mechanism for extension loading changed since diablo so your log line may be slightly different.</div><div><br></div><div>To load extensions in diablo you use ----osapi_extensions_path and then nova automatically loads extensions found in that directory.  You should verify that this path is accessible to the nova user as well as the apache user (In your example you say "/home/user/src/openstackx/extensions" which may not be readable by default).  In diablo, 'standard extensions' are always loaded.</div>
<div><br></div><div>In essex trunk, you can specify a list of extensions like so:</div><div><br></div><div>--osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions (note that this class path changed very recently and used to be nova.api.openstack.v2.contrib.standard_extensions)<br>
--osapi_compute_extension=extensions.admin.Admin</div><div><br></div><div>Doing the above loads the standard extensions, as well as openstackx.  In devstack, we ensure that the python class paths are set up by using 'python setup.py develop' in the various projects.</div>
<div><br></div><div>I'm not sure which version of openstack you would get on rawhide.  But in general, you need the same version of all components.  So if you are using stable/diablo for dash, you should use stable/diablo for everything else (including openstackx).  If you look at the stable/diablo branch of devstack it lists teh appropriate stable/diablo git branches in stackrc as a point of reference.</div>
<div><br></div><div>FYI, I'm trying to get rid of the openstackx dependency right now for essex, so hopefully we'll have that resolved soon.</div><div><br></div><div>A</div><div><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 9:04 AM, ikke <span dir="ltr"><<a href="mailto:ikke@iki.fi">ikke@iki.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>I'm strugling with my dashboard setup on fedora, and I would like to verify nova sees openstackx extensions. I don't see anything in logs about it:<br>
<br>grep -ri openstackx /var/log/{nova,keystone,glance}/*<br>
<br>returns nothing. System is fedora 16 + openstack from rawhide, and horizon from git using diablo branch.<br><br>The only thing related to keyword admin (in openstackx extensions) is this log, which doesn't necessarily relate to issue:<br>

<br>----------------------------<br><a href="tel:2012-01-11%2013" value="+12012011113" target="_blank">2012-01-11 13</a>:48:25,026 AUDIT extensions [-] Loading extension file: admin_only.py<br><a href="tel:2012-01-11%2013" value="+12012011113" target="_blank">2012-01-11 13</a>:48:25,026 WARNING extensions [-] Did not find expected name "Admin_only" in /usr/lib/python2.7/site-packages/nova/api/openstack/contrib/admin_only.py<br>

----------------------------<br><br>I have this on my nova.conf:<br><br>----------------------------<br>
--osapi_extensions_path=/home/user/src/openstackx/extensions<br>--osapi_extension=nova.api.openstack.v2.contrib.standard_extensions<br>--osapi_compute_extension=extensions.admin.Admin<br>--osapi_extension=extensions.admin.Admin<br>

----------------------------<br>
<br>I know openstackx is deprecated, but so far I have failed to find a substitute...<br><br>BR,<span class="HOEnZb"><font color="#888888"><br><br> -ikke<br>
</font></span><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>