发起问题

prakashs 的档案 - activity

2020-09-02 20:20:57 -0500 获得奖牌  著名问题 (source)
2020-01-19 07:20:15 -0500 获得奖牌  热门的问题 (source)
2020-01-09 21:08:01 -0500 评论问题 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

I don't think i have missed any steps, i exactly followed the below link. https://docs.openstack.org/horizon/stein/install/install-ubuntu.html (https://docs.openstack.org/horizon/st...)

Is there any other document i need to follow for dashboard configuration?

2020-01-09 08:18:47 -0500 获得奖牌  受欢迎的问题 (source)
2020-01-09 07:16:06 -0500 评论问题 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Hi Bernd,

After copying & replacing local_settings.py from Horizon's repository. No errors in error.log.

But im receiving 404 error.Please advise.

2020-01-08 01:01:44 -0500 评论问题 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

i removed the comment & exactly given 4 spaces before the 'supported_vnic_types': ['*'],, but still issue persists. Is there any way we can replace local_settings.py file from any repos?

2020-01-08 00:29:11 -0500 回答问题 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Line 422 is below

'supported_vnic_types': ['*'],

I commented & restarted apache2 service, receiving same error.

[Wed Jan 08 06:06:33.528755 2020] [mpm_event:notice] [pid 14042:tid 140215295712192] AH00493: SIGUSR1 received. Doing graceful restart

[Wed Jan 08 06:06:35.091945 2020] [mpm_event:notice] [pid 14042:tid 140215295712192] AH00489: Apache/2.4.29 (Ubuntu) mod_wsgi/4.5.17 Python/3.6 configured -- resuming normal operations

[Wed Jan 08 06:06:35.103251 2020] [core:notice] [pid 14042:tid 140215295712192] AH00094: Command line: '/usr/sbin/apache2'

[Wed Jan 08 06:06:58.925144 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] mod_wsgi (pid=26828): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module.

[Wed Jan 08 06:06:58.925205 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] mod_wsgi (pid=26828): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.

[Wed Jan 08 06:06:58.925939 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] Traceback (most recent call last):

[Wed Jan 08 06:06:58.925997 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>

[Wed Jan 08 06:06:58.926003 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] application = get_wsgi_application()

[Wed Jan 08 06:06:58.926009 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application

[Wed Jan 08 06:06:58.926013 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] django.setup(set_prefix=False)

[Wed Jan 08 06:06:58.926018 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup

[Wed Jan 08 06:06:58.926031 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)

[Wed Jan 08 06:06:58.926036 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__

[Wed Jan 08 06:06:58.926039 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] self._setup(name)

[Wed Jan 08 06:06:58.926044 2020] [wsgi:error] [pid 26828:tid 140215173371648] [remote 127.0.0.1:34790] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup

2020-01-07 21:47:11 -0500 回答问题 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Syntax error is fixed and still im facing the error. Find the fresh error log below.

[Wed Jan 08 03:32:59.857586 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] mod_wsgi (pid=24634): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module.

[Wed Jan 08 03:32:59.857667 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] mod_wsgi (pid=24634): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.

[Wed Jan 08 03:32:59.857848 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] Traceback (most recent call last):

[Wed Jan 08 03:32:59.857905 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>

[Wed Jan 08 03:32:59.857911 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] application = get_wsgi_application()

[Wed Jan 08 03:32:59.857917 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application

[Wed Jan 08 03:32:59.857921 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] django.setup(set_prefix=False)

[Wed Jan 08 03:32:59.857927 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup

[Wed Jan 08 03:32:59.857930 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)

[Wed Jan 08 03:32:59.857935 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__

[Wed Jan 08 03:32:59.857939 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] self._setup(name)

[Wed Jan 08 03:32:59.857944 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup

[Wed Jan 08 03:32:59.857948 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] self._wrapped = Settings(settings_module)

[Wed Jan 08 03:32:59.857953 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__

[Wed Jan 08 03:32:59.857957 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] mod = importlib.import_module(self.SETTINGS_MODULE)

[Wed Jan 08 03:32:59.857962 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module

[Wed Jan 08 03:32:59.857974 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0 ... (more)

2020-01-07 09:41:11 -0500 问了问题 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Hi

Im facing issue with Horizon.

Setup: Ubuntu 18.04 Openstack Stein

Below is the error message im getting from web console Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Apache is working fine.

apache error.log output

[Tue Jan 07 15:00:15.085316 2020] [mpm_event:notice] [pid 14042:tid 140215295712192] AH00489: Apache/2.4.29 (Ubuntu) mod_wsgi/4.5.17 Python/3.6 configured -- resuming normal operations
[Tue Jan 07 15:00:15.086724 2020] [core:notice] [pid 14042:tid 140215295712192] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 07 15:00:49.675982 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] mod_wsgi (pid=14054): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module.
[Tue Jan 07 15:00:49.676057 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] mod_wsgi (pid=14054): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.
[Tue Jan 07 15:00:49.676934 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] Traceback (most recent call last):
[Tue Jan 07 15:00:49.677005 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>
[Tue Jan 07 15:00:49.677011 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     application = get_wsgi_application()
[Tue Jan 07 15:00:49.677018 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Tue Jan 07 15:00:49.677022 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     django.setup(set_prefix=False)
[Tue Jan 07 15:00:49.677028 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup
[Tue Jan 07 15:00:49.677032 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Tue Jan 07 15:00:49.677038 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__
[Tue Jan 07 15:00:49.677041 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     self._setup(name)
[Tue Jan 07 15:00:49.677047 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup
[Tue Jan 07 15:00:49.677052 2020] [wsgi ...
(more)
2018-01-25 04:16:59 -0500 获得奖牌  著名问题 (source)
2017-08-21 09:41:14 -0500 获得奖牌  著名问题 (source)
2017-08-21 09:41:14 -0500 获得奖牌  热门的问题 (source)
2017-02-21 03:02:51 -0500 获得奖牌  热门的问题 (source)
2017-02-03 05:53:20 -0500 评论回答 Nova-compute not showing on nova service-list(controller)

ERROR oslo.messaging._drivers.impl_rabbit [req-0017bc0b-dd6f-4dc0-a270-0d45ff56049e - - - - -] [96ad35e2-7ea1-4b4e-9bb5-3d43fda787cc] AMQP server on 127.0.0.1:5672 is u nreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds. Client port: None

2017-02-03 01:58:35 -0500 获得奖牌  受欢迎的问题 (source)
2017-02-02 23:12:15 -0500 评论回答 Nova-compute not showing on nova service-list(controller)

root@compute1:~# tcpdump -c 5 -i ens33 tcp port 5672 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ens33, link-type EN10MB (Ethernet), capture size 262144 bytes 10:41:11.921932 IP controller.amqp > compute1.53176: Flags [P.], seq 3996331505:3996331513, ack 1

2017-02-02 23:12:15 -0500 获得奖牌  评论员
2017-02-02 23:02:25 -0500 评论回答 Nova-compute not showing on nova service-list(controller)

auth_strategy = keystone

my_ip = 192.168.204.129 //compute ip
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver

[database]
connection=sqlite:////var/lib/nova/nova.sqlite

[api_database]
connection=sqlite:////var/lib/nova/nova
2017-02-02 23:01:14 -0500 评论回答 Nova-compute not showing on nova service-list(controller)

nova.conf

[DEFAULT]
transport_url = rabbit://openstack:rabbit123@controller
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
#log-dir=/var/log/nova
state_path=/var/lib/nova
force_dhcp_release=True
verbose=True
ec2_private_dns_show_ip=True
enabled_apis=osapi_compute,metadat
2017-02-02 22:59:58 -0500 获得奖牌  受欢迎的问题 (source)
2017-02-02 10:31:52 -0500 评论回答 Nova-compute not showing on nova service-list(controller)

nreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds. Client port: None 8126 ERROR oslo_service.periodic_task

2017-02-02 10:31:07 -0500 评论回答 Nova-compute not showing on nova service-list(controller)

nova-compute process is running in compute node, time sync is accurate, 5672 is LISTENING in controller, 5672 port is working from compute node tested with telnet. let me know how to troubleshoot messaging. Errors from nova-compute log 7249 ERROR nova.virt.driver 8088 ERROR oslo.messaging._drivers.

2017-02-02 04:43:07 -0500 问了问题 Nova-compute not showing on nova service-list(controller)

OS: Ubuntu 16 Openstack: Newton

Nova-compute not showing on nova service-list(controller)

I'm stuck on this step and let me know how to troubleshoot and fix it.

root@controller:~# openstack compute service list
+----+------------------+------------+----------+---------+-------+----------------------------+
| ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
+----+------------------+------------+----------+---------+-------+----------------------------+
|  1 | nova-consoleauth | controller | internal | enabled | up    | 2017-02-02T10:41:59.000000 |
|  5 | nova-scheduler   | controller | internal | enabled | up    | 2017-02-02T10:41:59.000000 |
|  6 | nova-conductor   | controller | internal | enabled | up    | 2017-02-02T10:42:04.000000 |
+----+------------------+------------+----------+---------+-------+----------------------------+
root@controller:~#
2017-02-01 00:33:25 -0500 获得奖牌  粉丝
2017-01-31 07:04:22 -0500 评论问题 The requested URL /horizon was not found on this server

Yes i'm using Apache, I'm unable to find horizon.conf in /etc/apache2/sites-enabled let me know how to fix this

I can only find the below files.

root@controller:/etc/apache2/sites-enabled# ls 000-default.conf keystone.conf

2017-01-31 03:00:02 -0500 问了问题 The requested URL /horizon was not found on this server

OS:Ubuntu 16.04.1 LTS Openstack: Newton Unable to launch the dashboard with following link http://controller/horizon implemented in VMware Workstation

2015-11-11 20:11:59 -0500 获得奖牌  著名问题 (source)
2015-08-11 15:12:29 -0500 获得奖牌  热门的问题 (source)
2015-07-24 12:05:33 -0500 获得奖牌  热门的问题 (source)
2015-07-24 12:05:33 -0500 获得奖牌  著名问题 (source)
2015-07-16 09:42:22 -0500 评论回答 Error: unable to connect to node rabbit@controller: nodedown

Hi Ram.meena Thanks for you help, It worked for me i fixed it my own The problem is Rabbit MQ didn't removed properly, so i used the below command and installed it again it worked for me apt-get remove --purge rabbitmq-server

Thanks

2015-07-16 08:57:21 -0500 评论回答 Error: unable to connect to node rabbit@controller: nodedown

Uninstalling installing it again also throwing same error

2015-07-16 08:56:26 -0500 评论回答 Error: unable to connect to node rabbit@controller: nodedown

I have verified everything looks fine, Im facing this issue after adding steps for Compute & Neutron

root@controller:~# cat /etc/hostname controller root@controller:~# cat /etc/hosts 127.0.0.1 localhost

127.0.0.1 controller

127.0.1.1 ubuntu

The following lines are desirable fo

2015-07-15 06:01:13 -0500 获得奖牌  受欢迎的问题 (source)
2015-07-14 17:49:13 -0500 问了问题 Error: unable to connect to node rabbit@controller: nodedown

There is some issues with Rabbit MQ

root@controller:~# rabbitmqctl status | grep rabbit
Status of node rabbit@controller ...
Error: unable to connect to node rabbit@controller: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbit@controller]

hosts, their running nodes and ports:
- controller: [{rabbitmqctl5608,43390}]

current node details:
- node name: rabbitmqctl5608@controller
- home dir: /var/lib/rabbitmq
- cookie hash: /4hS1MCNXD87nusVne3H0Q==

root@controller:~# neutron ext-list
Unable to establish connection to http://controller:9696/v2.0/extensions.json
root@controller:~#
2015-06-19 10:26:41 -0500 评论问题 glance image-create --name "cirros-0.3.4-x86_64" --file /tmp/images/cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility public --progress

Ranjith Please let me know how to check the tables inside the glance db

2015-06-19 10:25:38 -0500 获得奖牌  受欢迎的问题 (source)
2015-06-18 12:18:48 -0500 问了问题 glance image-create --name "cirros-0.3.4-x86_64" --file /tmp/images/cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility public --progress

When i try above command in Ubuntu 14.04 im getting below error. HTTPInternalServerError (HTTP 500)

I tried the remediation in the site but it didn't work.

/var/log/glance/api.log Please find the output of log file below:

2015-06-18 10:11:45.453 3115 TRACE glance Traceback (most recent call last):
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/bin/glance-manage", line 10, in <module>
2015-06-18 10:11:45.453 3115 TRACE glance     sys.exit(main())
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/cmd/manage.py", line 303, in main
2015-06-18 10:11:45.453 3115 TRACE glance     return CONF.command.action_fn()
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/cmd/manage.py", line 171, in sync
2015-06-18 10:11:45.453 3115 TRACE glance     CONF.command.current_version)
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/cmd/manage.py", line 114, in sync
2015-06-18 10:11:45.453 3115 TRACE glance     migration.db_sync(db_api.get_engine(),
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/db/sqlalchemy/api.py", line 97, in get_engine
2015-06-18 10:11:45.453 3115 TRACE glance     facade = _create_facade_lazily()
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/db/sqlalchemy/api.py", line 87, in _create_facade_lazily
2015-06-18 10:11:45.453 3115 TRACE glance     _FACADE = session.EngineFacade.from_config(CONF)
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py", line 880, in from_config
2015-06-18 10:11:45.453 3115 TRACE glance     retry_interval=conf.database.retry_interval)
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py", line 796, in __init__
2015-06-18 10:11:45.453 3115 TRACE glance     **engine_kwargs)
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py", line 392, in create_engine
2015-06-18 10:11:45.453 3115 TRACE glance     pool_timeout=pool_timeout
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/utils.py", line 887, in __call__
2015-06-18 10:11:45.453 3115 TRACE glance     self._url_from_target(target), target, arg, kw)
2015-06-18 10:11:45.453 3115 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/utils.py", line 901, in _url_from_target
2015-06-18 10:11:45.453 3115 TRACE glance     raise ValueError("Invalid target type: %r" % target)
2015-06-18 10:11:45.453 3115 TRACE glance ValueError: Invalid target type: None