Re: Running horizon/dashboard from git (round 2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/16/2012 11:51 AM, Cole Robinson wrote:
> On 01/16/2012 09:15 AM, Derek Higgins wrote:
>> Hi Cole,
>>    I gave this a whirl to see how it would go and managed to get a
>> running Horizon but have these two error messages in red on the main
>> screen
>>
> 
> Great, thanks for trying it out.
> 
>> Error: Unable to get service info: This error may be caused by a
>> misconfigured Nova url in keystone's service catalog, or by missing
>> openstackx extensions in Nova. See the Horizon README.
>>
>> Error: Unable to get usage info: This error may be caused by a
>> misconfigured Nova url in keystone's service catalog, or by missing
>> openstackx extensions in Nova. See the Horizon README.
>>
>> so maybe it didn't install right at all.... if you want me to try
>> anything out let me know and I'll give it a go.
>>
> 
> Might want to check the output of nova-api when it's starting, and make sure
> there's a message like:
> 
> 2012-01-16 11:48:05,325 AUDIT nova.api.openstack.extensions [-] Loaded
> extension: ADMIN
> 
> But besides that I don't know off hand.
> 

Ah actually I think a recent nova change also broke the required openstackx
extensions, forgot I had to make this change (updating one weeks of nova
changes caused a whole bunch of cascading issues :/ )

Try this openstackx patch:

diff --git a/extensions/admin.py b/extensions/admin.py
index 1e6290a..dd3e0a2 100644
--- a/extensions/admin.py
+++ b/extensions/admin.py
@@ -39,9 +39,10 @@ from nova.db.sqlalchemy import api as sqlalchemy_api


 from nova.api.openstack import wsgi
-import nova.api.openstack.v2 as openstack_api
-from nova.api.openstack.v2 import extensions
-from nova.api.openstack.v2 import views
+import nova.api.openstack.compute as openstack_api
+from nova.api.openstack import extensions
+
+from nova.api.openstack.compute import views

 from nova.compute import instance_types
 from nova.scheduler import api as scheduler_api


Thanks,
Cole

_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux