Ask Your Question

Rahul11's profile - activity

2017-06-23 13:34:17 -0600 received badge  Famous Question (source)
2017-06-11 12:02:57 -0600 received badge  Famous Question (source)
2017-06-11 12:02:57 -0600 received badge  Notable Question (source)
2017-06-09 11:27:49 -0600 received badge  Famous Question (source)
2017-05-19 23:04:54 -0600 received badge  Notable Question (source)
2017-05-17 12:04:22 -0600 received badge  Notable Question (source)
2017-05-15 07:57:53 -0600 received badge  Popular Question (source)
2017-05-10 07:18:09 -0600 commented answer 500 Internal server error

This worked for me!!!

http://stackoverflow.com/questions/42632130/cant-launch-openstack-horizon-dashboard-ioerror-errno-13-permission-denied (http://stackoverflow.com/questions/42...)

2017-05-10 05:12:58 -0600 answered a question Getting 500 internal server error while accessing horizon dashboard in ubuntu 16.04

Heading


2017-05-10 04:56:09 -0600 answered a question 500 Internal server error

Following link :

https://docs.openstack.org/ocata/install-guide-ubuntu/horizon-install.html (https://docs.openstack.org/ocata/inst...)

Please suggest if any knows the solution

/var/log/apache2/keystone_access.log

python-requests/2.12.4 CPython/2.7.12" 10.136.60.58 - - [10/May/2017:15:03:37 +0530] "GET /v3/auth/tokens HTTP/1.1" 200 3805 "-" "python-keystoneclient" 10.136.60.58 - - [10/May/2017:15:06:31 +0530] "GET /v3 HTTP/1.1" 200 557 "-" "osc-lib/1.3.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"

10.136.60.58 - - [10/May/2017:15:06:31 +0530] "POST /v3/auth/tokens HTTP/1.1" 201 3804 "-" "osc-lib/1.3.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" 10.136.60.58 - - [10/May/2017:15:06:31 +0530] "POST /v3/auth/tokens HTTP/1.1" 201 3804 "-" "osc-lib/1.3.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" 10.136.60.58 - - [10/May/2017:15:06:32 +0530] "GET /v3/ HTTP/1.1" 200 556 "-" "osc-lib/1.3.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"

10.136.60.58 - - [10/May/2017:15:06:36 +0530] "GET /v3/services HTTP/1.1" 200 1502 "-" "python-keystoneclient" 10.136.60.58 - - [10/May/2017:15:09:33 +0530] "GET /v3/auth/tokens HTTP/1.1" 200 3806 "-" "python-keystoneclient" 10.136.60.58 - - [10/May/2017:15:14:41 +0530] "GET / HTTP/1.1" 300 851 "-" "nova/15.0.2 keystonemiddleware.auth_token/4.14.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" 10.136.60.58 - - [10/May/2017:15:14:41 +0530] "POST /v3/auth/tokens HTTP/1.1" 201 3805 "-" "nova/15.0.2 keystonemiddleware.auth_token/4.14.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" 10.136.60.58 - - [10/May/2017:15:14:41 +0530] "GET /v3/ HTTP/1.1" 200 556 "-" "nova/15.0.2

keystonemiddleware.auth_token/4.14.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" 10.136.60.58 - - [10/May/2017:15:14:41 +0530] "GET /v3/auth/tokens HTTP/1.1" 200 3805 "-" "python-keystoneclient" 10.136.60.58 - - [10/May/2017:15:19:48 +0530] "GET / HTTP/1.1" 300 851 "-" "nova/15.0.2 keystonemiddleware.auth_token/4.14.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" 10.136.60.58 - - [10/May/2017:15:19:48 +0530] "POST /v3/auth/tokens HTTP/1.1" 201 3805 "-" "nova/15.0.2 keystonemiddleware.auth_token/4.14.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" 10.136.60.58 - - [10/May/2017:15:19:48 +0530] "GET /v3/ HTTP/1.1" 200 556 "-" "nova/15.0.2

keystonemiddleware.auth_token/4.14.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" 10.136.60.58 - - [10 ... (more)

2017-05-10 04:50:14 -0600 answered a question 500 Internal server error

My /etc/openstack-dashboard/local_settings.py

-- coding: utf-8 --

import os

from django.utils.translation import ugettext_lazy as _

from horizon.utils import secret_key

from openstack_dashboard.settings import HORIZON_CONFIG

DEBUG = False

WEBROOT is the location relative to Webserver root

should end with a slash.

WEBROOT = '/'

LOGIN_URL = WEBROOT + 'auth/login/'

LOGOUT_URL = WEBROOT + 'auth/logout/'

#

LOGIN_REDIRECT_URL can be used as an alternative for

HORIZON_CONFIG.user_home, if user_home is not set.

Do not set it to '/home/', as this will cause circular redirect loop

LOGIN_REDIRECT_URL = WEBROOT

If horizon is running in production (DEBUG is False), set this

with the list of host/domain names that the application can serve.

For more information see:

https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts (https://docs.djangoproject.com/en/dev...)

ALLOWED_HOSTS = ['*']

Set SSL proxy settings:

Pass this header from the proxy after terminating the SSL,

and don't forget to strip it from the client's request.

For more information see:

https://docs.djangoproject.com/en/dev/ref/settings/#secure-proxy-ssl-header (https://docs.djangoproject.com/en/dev...)

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

If Horizon is being served through SSL, then uncomment the following two

settings to better secure the cookies from security exploits

CSRF_COOKIE_SECURE = True

SESSION_COOKIE_SECURE = True

The absolute path to the directory where message files are collected.

The message file must have a .json file extension. When the user logins to

horizon, the message files collected are processed and displayed to the user.

MESSAGES_PATH=None

Overrides for OpenStack API versions. Use this setting to force the

OpenStack dashboard to use a specific API version for a given service API.

Versions specified here should be integers or floats, not strings.

NOTE: The version should be formatted as it appears in the URL for the

service API. For example, The identity service APIs have inconsistent

use of the decimal point, so valid options would be 2.0 or 3.

Minimum compute version to get the instance locked status is 2.9.

OPENSTACK_API_VERSIONS = {

"data-processing": 1.1,

"identity": 3,
"image": 2,
"volume": 2,

"compute": 2,

}

Set this to True if running on a multi-domain model. When this is enabled, it

will require the user to enter the Domain name in addition to the username

for login.

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

Overrides the default domain used when running on single-domain model

with Keystone V3. All entities will be created in the default domain.

NOTE: This value must be the name of the default domain, NOT the ID.

Also, you will most likely have a value in the keystone policy file like this

"cloud_admin": "rule:admin_required and domain_id:<your domain="" id="">"

This value must be the name of the domain whose ID is specified there.

OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'

Set this to True to enable panels that provide the ability for users to

manage Identity Providers (IdPs) and establish a set of rules to map

federation protocol attributes to Identity API attributes.

This extension requires v3.0+ of the Identity API.

OPENSTACK_KEYSTONE_FEDERATION_MANAGEMENT = False

Set Console type:

valid options are "AUTO"(default), "VNC", "SPICE", "RDP", "SERIAL" or None

Set to ...

(more)
2017-05-10 04:44:12 -0600 asked a question 500 Internal server error

I have configured Ocata 2 node setup. But when I am trying to access horizon it is throwing internal server error 500

I have checked the /var/log/apache2/error.log I got the bellow errors :

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] mod_wsgi (pid=3209): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] mod_wsgi (pid=3209): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] Traceback (most recent call last): [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 16, in <module>

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] application = get_wsgi_application() [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] django.setup() [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 17, in setup

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in __getattr__

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] self._setup(name) [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 44, in _setup [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] self._wrapped = Settings(settings_module)

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 92, in __init__ [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] mod = importlib.import_module(self.SETTINGS_MODULE) wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] __import__(name) [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/share/openstack-dashboard/openstack_dashboard/settings.py", line 335, in <module> [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] from local.local_settings import * # noqa

[wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py", line 125, in <module> [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] SECRET_KEY = secret_key.generate_or_read_from_file('/var/lib/openstack-dashboard/secret_key') [wsgi:error] [pid 3209:tid 139663001573120] [remote 192.168.33.47:13020] File "/usr/share/openstack-dashboard/horizon/utils/secret_key.py", line 68 ... (more)

2017-05-09 08:45:33 -0600 commented question Getting 500 internal server error while accessing horizon dashboard in ubuntu 16.04

Hi @mtakar

Did you find the solution for it ??? I also encountered this same error.

Can anyone help ??

2017-05-09 00:00:14 -0600 received badge  Enthusiast
2017-05-08 14:08:31 -0600 received badge  Popular Question (source)
2017-05-08 04:33:56 -0600 commented answer Connection failure that may be retried.

3.I am able to ping from compute node with controller hostname. But my nslookup fails for controller

Is it making the issue ??

2017-05-08 04:33:47 -0600 commented answer Connection failure that may be retried.

2.following this for neutron.conf here under [keystone_authtoken] it uses "auth_uri" https://docs.openstack.org/ocata/install-guide-ubuntu/neutron-controller-install-option2.html (https://docs.openstack.org/ocata/inst...)

2017-05-08 04:33:35 -0600 commented answer Connection failure that may be retried.

Hi @Bernd Bausch I am able to run 1. service apache2 restart

but netstat -antup | grep 80 does not shows any tcpv4 connection tcp6 0 0 :::80 :::* LISTEN 17145/apache2 tcp6 0 0 10.136.50.214:80 10.136.50.215:51206 TIME_WAIT

2017-05-08 01:29:40 -0600 commented answer Connection failure that may be retried.

Also I could not see keystone.log file under /var/log/keystone. What could be the issue ??

2017-05-08 01:11:31 -0600 answered a question Connection failure that may be retried.

Hi @Bernd Bausch

My neutron.conf in Controller node [keystone_authtoken]

auth_uri = http://controller:5000

auth_url = http://controller:35357

memcached_servers = controller:11211

auth_type = password

project_domain_name = default

user_domain_name = default

project_name = service

username = neutron

password = root

==================================================

Also when I am restarting my Keystone service I am getting

root@controller:~# service keystone restart

Failed to restart keystone.service: Unit keystone.service not found.

root@controller:~# systemctl status openstack-keystone

‚óŹ openstack-keystone.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)

2017-05-08 00:02:52 -0600 received badge  Popular Question (source)
2017-05-05 10:35:29 -0600 commented answer Getting error nable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services

@Bernd New link :for the above issue. please check.

https://ask.openstack.org/en/question/106246/connection-failure-that-may-be-retried/ (https://ask.openstack.org/en/question...)

2017-05-05 10:32:44 -0600 asked a question Connection failure that may be retried.

Hi ,

I have installed neutron service on the controller node. When i try to launch the nuetron service i am getting

Connection failure that may be retried.Following link : https://docs.openstack.org/ocata/install-guide-ubuntu/neutron-compute-install.html (https://docs.openstack.org/ocata/inst...)

Installing self service network.

Can anyone please help me with the issue.

Thanks in advance.

2017-05-05 10:05:12 -0600 commented answer Getting error nable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services

Hi @Bernd Baush

now after successfull installtion of all the services I am running this command

openstack extension list --network

which is giving this exception

Connection failure that may be retried.

any suggestions?

2017-05-05 08:15:08 -0600 commented answer Getting error nable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services

Thanks a ton!! It worked. I am getting the list of compute services.

2017-05-05 07:22:13 -0600 answered a question Getting error nable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services

Thanks Bernd for the reply. I could see

nova | compute | RegionOne |
| | | regionOne | | | | internal: http://controller:8874/v2.1 | | | | Regionone | | | | public: http://controller:8874/v2.1 | | | | Regionone | | | | admin: http://controller:8874/v2.1 |

on running openstack catalog list on controller node. how can i delete these endpoints ?

2017-05-05 06:55:25 -0600 received badge  Editor (source)
2017-05-05 06:54:27 -0600 answered a question Getting error nable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services

Do anyone know the sloution :

Error on running

openstack compute service list

Unable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection 0x7f6dc2e483d0="" at="" object="">: Failed to establish a new connection: [Errno 111] Connection refused',))</requests.packages.urllib3.connection.httpconnection>

2017-05-04 17:47:45 -0600 asked a question Getting error nable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services

On running this command after nova installation on controller node I am getting this error. Can anyone help?

root@controller:~# openstack compute service list Unable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection 0x7f9016fb7f10="" at="" object="">: Failed to establish a new connection: [Errno 111] Connection refused',))</requests.packages.urllib3.connection.httpconnection>

Using this link for the installation: https://docs.openstack.org/ocata/install-guide-ubuntu/nova-verify.html (https://docs.openstack.org/ocata/inst...) These commands are working openstack catalog list openstack catalog list