发起问题

chengjia-su 的档案 - activity

2019-08-20 10:16:47 -0500 获得奖牌  著名问题 (source)
2019-08-20 10:16:47 -0500 获得奖牌  受欢迎的问题 (source)
2019-08-20 10:16:47 -0500 获得奖牌  热门的问题 (source)
2016-01-19 18:17:56 -0500 获得奖牌  著名问题 (source)
2014-07-16 16:28:17 -0500 获得奖牌  热门的问题 (source)
2014-07-16 16:28:17 -0500 获得奖牌  受欢迎的问题 (source)
2013-08-07 06:44:37 -0500 回答问题 How to add new dashboard on Horizon?

I add it in bottom of my dashboard.py

from django.utils.translation import ugettext_lazy as _ import horizon

class TestPanels(horizon.PanelGroup): slug = "intrusion_detection" name = _("Intrusion detection system") panels = ('test',)

class Ids(horizon.Dashboard): name = _("IDS") slug = "ids" panels = (TestPanels,) default_panel = 'test' permissions = ('openstack.roles.admin',)

horizon.register(Ids)

2013-08-06 20:25:43 -0500 回答问题 How to add new dashboard on Horizon?

I also add my dashboard in INSTALLED_APPS. like this:

INSTALLED_APPS = ( 'openstack_dashboard', 'django.contrib.contenttypes', 'django.contrib.auth', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'compressor', 'horizon', 'openstack_dashboard.dashboards.project', 'openstack_dashboard.dashboards.admin', 'openstack_dashboard.dashboards.settings', 'openstack_auth', 'openstack_dashboard.dashboards.ids', )

2013-08-06 08:06:23 -0500 回答问题 How to add new dashboard on Horizon?

I add my dashboard in /usr/share/openstack-dashboard/openstack_dashboard/settings.py HORIZON_CONFIG but, when I restart apache2, I got error message in log file:

[Tue Aug 06 16:01:34 2013] [error] [client 1.168.150.54] File does not exist: /var/www/favicon.ico [Tue Aug 06 08:01:34 2013] [error] [client 1.168.150.54] mod_wsgi (pid=5162): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. [Tue Aug 06 08:01:34 2013] [error] [client 1.168.150.54] Traceback (most recent call last): [Tue Aug 06 08:01:34 2013] [error] [client 1.168.150.54] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 219, in __call__ [Tue Aug 06 08:01:34 2013] [error] [client 1.168.150.54] self.load_middleware() [Tue Aug 06 08:01:34 2013] [error] [client 1.168.150.54] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 47, in load_middleware [Tue Aug 06 08:01:34 2013] [error] [client 1.168.150.54] raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e)) [Tue Aug 06 08:01:34 2013] [error] [client 1.168.150.54] ImproperlyConfigured: Error importing middleware horizon.middleware: "No module named ids" [Tue Aug 06 16:01:34 2013] [error] [client 1.168.150.54] File does not exist: /var/www/favicon.ico

2013-08-06 04:32:18 -0500 问了问题 How to add new dashboard on Horizon?

Hello,

I write _init_.py, dashboard.py, models.py and some codes to create dashboard and panel. This is document I refer : http://docs.openstack.org/developer/horizon/topics/tutorial.html (http://docs.openstack.org/developer/h...)

But I don't know how to make my dashboard show on webpage.

2013-07-26 02:22:31 -0500 问了问题 There are some error message in openvswitch-agent.log

When I have installed quantum, I found some error message in openvswitch-agent.log

2013-07-24 15:00:34 INFO [quantum.common.config] Logging enabled! 2013-07-24 15:00:36 ERROR [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Failed to create OVS patch port. Cannot have tunneling enabled on this agent, since this version of OVS does not support tunnels or patch ports. Agent terminated!

Following is some information of my server:

#ovs-vsctl --version version 1.4.2 Compiled Jun 29 2013 17:39:06

#uname -a Linux node 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

What can go wrong?

2013-07-12 01:03:23 -0500 回答问题 why my controller node in hypervisor-list

Thanks Armando Migliaccio, that solved my question.

2013-07-11 15:48:43 -0500 回答问题 why my controller node in hypervisor-list

Should the controller node must install hypervisor?

Can this problem be solved by uninstalling hypervisor which install on controller node?

2013-07-11 09:11:24 -0500 回答问题 why my controller node in hypervisor-list

Thank you for your reply.

I use this command which you offer to boot instance on specific host successfully.

but my system has installed dashboard, so I use dashboard to launch instances.

I still don't know how to use dashboard to launch instances on specific host.

2013-07-11 07:35:26 -0500 问了问题 why my controller node in hypervisor-list

Hi,

I try to build multi-node cluster IaaS system by devstack. When I finished and tested it.

I found that some instances launch into controller node.

I use nova hypervisor-list command to check, the following is respond: +----+---------------------+ | ID | Hypervisor hostname | +----+---------------------+ | 1 | controller | | 2 | node1 | +----+---------------------+

how can I let all instances launch into compute node (node1)?