openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #08964
Re: nova-billing with Horizon
That's probably all it needs, at least that's the way I tried it last time.
On 2012/3/22, at 下午10:19, Lucian Thomaz <lucianthomaz@xxxxxxxxxxx> wrote:
> I'm trying to do that with diablo, but it isn't working.
>
> I ran setup.py , next I added 'horizon_billing' to INSTALLED_APPS and I added 'biling' to 'dashboards' key in HORIZON_CONFIG, after that I restarted Apache and tried acess the dashboard in the browser. It's all the steps that I need to do?
>
> Lucian Thomaz
>
>
> From: andycjw@xxxxxxxxx
> Date: Thu, 22 Mar 2012 22:06:02 +0800
> Subject: Re: [Openstack] [openstack] nova-billing with Horizon
> To: lucianthomaz@xxxxxxxxxxx
> CC: thingee@xxxxxxxxx; openstack@xxxxxxxxxxxxxxxxxxx
>
> I have tried running the billing last week, but they haven't update to latest horizon at essex,
> you might want to try them with diablo branch of horizon
>
> On Thu, Mar 22, 2012 at 9:35 PM, Lucian Thomaz <lucianthomaz@xxxxxxxxxxx> wrote:
> Mike, I just tried running setup.py now and it worked nice, and after that I tried to restart the apache, but it gives me the same error:
>
> [Thu Mar 22 10:28:07 2012] [error] [client 192.168.100.237] File "/usr/lib/pymodules/python2.7/django/utils/importlib.py", line 35, in import_module
> [Thu Mar 22 10:28:07 2012] [error] [client 192.168.100.237] __import__(name)
> [Thu Mar 22 10:28:07 2012] [error] [client 192.168.100.237] TemplateSyntaxError: Caught ImportError while rendering: No module named horizon_billing
>
> You know what should I inspect?
>
>
> Lucian Thomaz
>
>
> Date: Wed, 21 Mar 2012 14:41:39 -0700
> From: thingee@xxxxxxxxx
> To: lucianthomaz@xxxxxxxxxxx
> Subject: Re: [Openstack] [openstack] nova-billing with Horizon
>
> You need to make sure either system wide or in your virtual env that horizon_billing is installed by running setup.py in horizon_billing.
>
> --
> Mike Perez
> DreamHost.com
>
> On Wednesday, March 21, 2012 at 10:55 AM, Lucian Thomaz wrote:
>
> Mike, this help me to understand a little more, but when I tried add 'horizon_billing' to INSTALLED_APPS tuple and restart apache, the log of apache returns the following error: TemplateSyntaxError: Caught ImportError while rendering: No module named horizon_billing
>
> Do you know anything about that?
>
>
> Lucian Thomaz
>
>
>
> Date: Wed, 21 Mar 2012 10:23:25 -0700
> From: thingee@xxxxxxxxx
> To: lucianthomaz@xxxxxxxxxxx
> Subject: Re: [Openstack] [openstack] nova-billing with Horizon
>
> Whoops, from THEIR latest repo, instead of linking to mine. ;)
>
> https://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L51
>
> --
> Mike Perez
> DreamHost.com
>
> On Wednesday, March 21, 2012 at 10:22 AM, Mike Perez wrote:
>
> It appears to be in there with latest in the horizon repo:
>
> https://github.com/Thingee/horizon/blob/master/openstack_dashboard/settings.py#L51
>
> --
> Mike Perez
> DreamHost.com
>
> On Wednesday, March 21, 2012 at 10:19 AM, Lucian Thomaz wrote:
>
> Thank you by the answer Mike, but my settings.py don't have the HORIZON_CONFIG in it. Can I simply add it? How should it looks like?
>
>
> Lucian Thomaz
>
>
> Date: Wed, 21 Mar 2012 09:53:35 -0700
> From: thingee@xxxxxxxxx
> To: lucianthomaz@xxxxxxxxxxx
> CC: openstack@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Openstack] [openstack] nova-billing with Horizon
>
>
> horizon/openstack_dashboard/settings.py
>
> --
> Mike Perez
> DreamHost.com
>
> On Wednesday, March 21, 2012 at 7:07 AM, Lucian Thomaz wrote:
>
> I'm trying use nova-billing with Horizon following the github page https://github.com/griddynamics/horizon-billing , but I can't find INSTALLED_APPS and HORIZON_CONFIG in local_settings.py . Anyone can help with that?
>
> Lucian Thomaz
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References