Call to list enabled services failed in horizon.log

Bug #1565030 reported by Waldemar Znoinski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Invalid
High
Unassigned

Bug Description

1. When deploying openstack stable/mitaka rc with kolla stable/mitaka:

commit 9b7a9a7e4d12f97f47dd002551b0a916456c9c84
Author: Serguei Bezverkhi <email address hidden>
Date: Wed Mar 23 12:04:16 2016 -0400

    Add creation of new log folder for Horizon

    The previous Horizon logging fix missed the part of creating new folder,
    this fix adds it.

    Change-Id: I14da441ebb6de94964326c0a1b02ae1480b080bd
    Closes-Bug: 1561073
    (cherry picked from commit 8d96d639c8918e52c6d4d0a0bdeba299ea12bb86)

commit 32a38739e94db3a88c25bb4e407e361c36f77fcb
Merge: 54abde6 f7fc25d
Author: Jenkins <email address hidden>
Date: Mon Mar 28 06:56:39 2016 +0000

    Merge "Add reno support" into stable/mitaka

2. horizon starts but it's unusable, most of the pages are returning errors that in logs:
[Fri Apr 01 17:46:06.677072 2016] [:error] [pid 86:tid 140058224465664] Logging out user "admin".
[Fri Apr 01 17:46:06.679615 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.session:REQ: curl -g -i -X DELETE http://10.237.214.199:5000/v3/auth/tokens -H "X-Subject-Token: {SHA1}412efe6e9dbfd0d796683ea3a5b990668dd6541a" -
H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}412efe6e9dbfd0d796683ea3a5b990668dd6541a"
[Fri Apr 01 17:46:09.828717 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.session:RESP: [204] Content-Length: 0 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date:
 Fri, 01 Apr 2016 17:46:06 GMT x-openstack-request-id: req-e458b5a0-c288-4b6a-a3dd-c40b7a8c75ec
[Fri Apr 01 17:46:09.828903 2016] [:error] [pid 86:tid 140058224465664] Deleted token b47e530814564d0e8a2e8bc5c5286efc
[Fri Apr 01 17:46:18.147079 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.identity.v3.base:Making authentication request to http://10.237.214.199:5000/v3/auth/tokens
[Fri Apr 01 17:46:21.367515 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.identity.v3.base:Making authentication request to http://10.237.214.199:5000/v3/auth/tokens
[Fri Apr 01 17:46:24.479338 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.session:Request returned failure status: 401
[Fri Apr 01 17:46:24.482015 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.session:REQ: curl -g -i -X GET http://10.237.214.199:5000/v3 -H "Accept: application/json" -H "User-Agent: keystoneauth1/2.4.0 python-requests/2.9
.1 CPython/2.7.6"
[Fri Apr 01 17:46:27.562913 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.session:RESP: [200] Content-Length: 253 Vary: X-Auth-Token Keep-Alive: timeout=5, max=98 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date
: Fri, 01 Apr 2016 17:46:24 GMT Content-Type: application/json x-openstack-request-id: req-df905896-5afd-4c90-aae9-28f5ef6f4a84
[Fri Apr 01 17:46:27.562952 2016] [:error] [pid 86:tid 140058224465664] RESP BODY: {"version": {"status": "stable", "updated": "2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identi
ty-v3+json"}], "id": "v3.6", "links": [{"href": "http://10.237.214.199:5000/v3/", "rel": "self"}]}}
[Fri Apr 01 17:46:27.562957 2016] [:error] [pid 86:tid 140058224465664]
[Fri Apr 01 17:46:27.563339 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.session:REQ: curl -g -i -X GET http://10.237.214.199:5000/v3/users/4c8d6316235046c2914e3ba6c1059aa9/projects -H "User-Agent: python-keystoneclient
" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c4bd841610ec4388fd307937e629fcbe20fb57b6"
[Fri Apr 01 17:46:27.624817 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.session:RESP: [200] Content-Length: 450 Vary: X-Auth-Token Keep-Alive: timeout=5, max=97 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date
: Fri, 01 Apr 2016 17:46:27 GMT Content-Type: application/json x-openstack-request-id: req-30fe32d9-1413-4753-8c34-28e4478bcb57
[Fri Apr 01 17:46:27.624854 2016] [:error] [pid 86:tid 140058224465664] RESP BODY: {"links": {"self": "http://10.237.214.199:5000/v3/users/4c8d6316235046c2914e3ba6c1059aa9/projects", "previous": null, "next": null}, "projects": [{"is_dom
ain": false, "description": "Bootstrap project for initializing the cloud.", "links": {"self": "http://10.237.214.199:5000/v3/projects/cb0d34dc15944d6cbb8ebac92ae8ac1e"}, "enabled": true, "id": "cb0d34dc15944d6cbb8ebac92ae8ac1e", "parent
_id": "default", "domain_id": "default", "name": "admin"}]}
[Fri Apr 01 17:46:27.624859 2016] [:error] [pid 86:tid 140058224465664]
[Fri Apr 01 17:46:27.625206 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystoneauth.identity.v3.base:Making authentication request to http://10.237.214.199:5000/v3/auth/tokens
[Fri Apr 01 17:46:27.658278 2016] [:error] [pid 86:tid 140058224465664] Login successful for user "admin".
[Fri Apr 01 17:46:29.945640 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy._cache_handler:Reloading cached file /etc/openstack-dashboard/nova_policy.json
[Fri Apr 01 17:46:29.950317 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy.policy:Reloaded policy file: /etc/openstack-dashboard/nova_policy.json
[Fri Apr 01 17:46:29.950847 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy._cache_handler:Reloading cached file /etc/openstack-dashboard/neutron_policy.json
[Fri Apr 01 17:46:29.954365 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy.policy:Reloaded policy file: /etc/openstack-dashboard/neutron_policy.json
[Fri Apr 01 17:46:29.954783 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy._cache_handler:Reloading cached file /etc/openstack-dashboard/glance_policy.json
[Fri Apr 01 17:46:29.955119 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy.policy:Reloaded policy file: /etc/openstack-dashboard/glance_policy.json
[Fri Apr 01 17:46:29.955414 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy._cache_handler:Reloading cached file /etc/openstack-dashboard/ceilometer_policy.json
[Fri Apr 01 17:46:29.955632 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy.policy:Reloaded policy file: /etc/openstack-dashboard/ceilometer_policy.json
[Fri Apr 01 17:46:29.955918 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy._cache_handler:Reloading cached file /etc/openstack-dashboard/cinder_policy.json
[Fri Apr 01 17:46:29.956337 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy.policy:Reloaded policy file: /etc/openstack-dashboard/cinder_policy.json
[Fri Apr 01 17:46:29.956664 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy._cache_handler:Reloading cached file /etc/openstack-dashboard/heat_policy.json
[Fri Apr 01 17:46:29.957741 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy.policy:Reloaded policy file: /etc/openstack-dashboard/heat_policy.json
[Fri Apr 01 17:46:29.958039 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy._cache_handler:Reloading cached file /etc/openstack-dashboard/keystone_policy.json
[Fri Apr 01 17:46:29.960667 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_policy.policy:Reloaded policy file: /etc/openstack-dashboard/keystone_policy.json
[Fri Apr 01 17:46:29.964046 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.237.214.199:35357/v3/domains/default -H "User-Agent: python-keystoneclient" -H "Forwarded: for=10.243.2
0.26;by=python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}4bb01ec1d693225cd095dd3c973cf8cae5bab8fd"
[Fri Apr 01 17:46:30.006657 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneclient.session:RESP: [200] Content-Length: 171 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive D
ate: Fri, 01 Apr 2016 17:46:29 GMT Content-Type: application/json x-openstack-request-id: req-ad0bbaf1-1fa1-4097-9361-351bf85f05b5
[Fri Apr 01 17:46:30.006697 2016] [:error] [pid 89:tid 140058224465664] RESP BODY: {"domain": {"id": "default", "enabled": true, "description": "The default domain", "links": {"self": "http://10.237.214.199:35357/v3/domains/default"}, "n
ame": "Default"}}
[Fri Apr 01 17:46:30.006701 2016] [:error] [pid 89:tid 140058224465664]
[Fri Apr 01 17:46:30.007741 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.237.214.199:35357/v3/domains/default -H "User-Agent: python-keystoneclient" -H "Forwarded: for=10.243.2
0.26;by=python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}4bb01ec1d693225cd095dd3c973cf8cae5bab8fd"
[Fri Apr 01 17:46:30.024162 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneclient.session:RESP: [200] Content-Length: 171 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive D
ate: Fri, 01 Apr 2016 17:46:30 GMT Content-Type: application/json x-openstack-request-id: req-88621491-2f7f-40fe-acde-678a44ed37f9
[Fri Apr 01 17:46:30.024178 2016] [:error] [pid 89:tid 140058224465664] RESP BODY: {"domain": {"id": "default", "enabled": true, "description": "The default domain", "links": {"self": "http://10.237.214.199:35357/v3/domains/default"}, "n
ame": "Default"}}
[Fri Apr 01 17:46:30.024182 2016] [:error] [pid 89:tid 140058224465664]
[Fri Apr 01 17:46:30.024514 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.237.214.199:35357/v3/projects -H "User-Agent: python-keystoneclient" -H "Forwarded: for=10.243.20.26;by
=python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}4bb01ec1d693225cd095dd3c973cf8cae5bab8fd"
[Fri Apr 01 17:46:30.136819 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneclient.session:RESP: [200] Content-Length: 675 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive D
ate: Fri, 01 Apr 2016 17:46:30 GMT Content-Type: application/json x-openstack-request-id: req-9b5d1ada-12d9-4ad7-897c-e7008fb56a41
[Fri Apr 01 17:46:30.136847 2016] [:error] [pid 89:tid 140058224465664] RESP BODY: {"links": {"self": "http://10.237.214.199:35357/v3/projects", "previous": null, "next": null}, "projects": [{"is_domain": false, "description": "", "links
": {"self": "http://10.237.214.199:35357/v3/projects/30295d4b07a94a0b8a8c216f5fde93c7"}, "enabled": true, "id": "30295d4b07a94a0b8a8c216f5fde93c7", "parent_id": "default", "domain_id": "default", "name": "service"}, {"is_domain": false,
"description": "Bootstrap project for initializing the cloud.", "links": {"self": "http://10.237.214.199:35357/v3/projects/cb0d34dc15944d6cbb8ebac92ae8ac1e"}, "enabled": true, "id": "cb0d34dc15944d6cbb8ebac92ae8ac1e", "parent_id": "defau
lt", "domain_id": "default", "name": "admin"}]}
[Fri Apr 01 17:46:30.136854 2016] [:error] [pid 89:tid 140058224465664]
[Fri Apr 01 17:46:30.137833 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.237.214.199:35357/v3/domains -H "User-Agent: python-keystoneclient" -H "Forwarded: for=10.243.20.26;by=
python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}4bb01ec1d693225cd095dd3c973cf8cae5bab8fd"
[Fri Apr 01 17:46:30.160725 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneclient.session:RESP: [200] Content-Length: 267 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive D
ate: Fri, 01 Apr 2016 17:46:30 GMT Content-Type: application/json x-openstack-request-id: req-c9d92b66-1a9c-4553-814b-5cec4f7a2cd9
[Fri Apr 01 17:46:30.160746 2016] [:error] [pid 89:tid 140058224465664] RESP BODY: {"domains": [{"links": {"self": "http://10.237.214.199:35357/v3/domains/default"}, "description": "The default domain", "name": "Default", "enabled": true
, "id": "default"}], "links": {"self": "http://10.237.214.199:35357/v3/domains", "previous": null, "next": null}}
[Fri Apr 01 17:46:30.160768 2016] [:error] [pid 89:tid 140058224465664]
[Fri Apr 01 17:46:30.165763 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneauth.session:REQ: curl -g -i -X GET http://10.237.214.199:5000/v3/users/4c8d6316235046c2914e3ba6c1059aa9/projects -H "User-Agent: python-keystoneclient
" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c4bd841610ec4388fd307937e629fcbe20fb57b6"
[Fri Apr 01 17:46:30.284210 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystoneauth.session:RESP: [200] Content-Length: 450 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Dat
e: Fri, 01 Apr 2016 17:46:30 GMT Content-Type: application/json x-openstack-request-id: req-c7397e45-c133-4ebb-9bc4-5a27bbbb2047
[Fri Apr 01 17:46:30.284234 2016] [:error] [pid 89:tid 140058224465664] RESP BODY: {"links": {"self": "http://10.237.214.199:5000/v3/users/4c8d6316235046c2914e3ba6c1059aa9/projects", "previous": null, "next": null}, "projects": [{"is_dom
ain": false, "description": "Bootstrap project for initializing the cloud.", "links": {"self": "http://10.237.214.199:5000/v3/projects/cb0d34dc15944d6cbb8ebac92ae8ac1e"}, "enabled": true, "id": "cb0d34dc15944d6cbb8ebac92ae8ac1e", "parent
_id": "default", "domain_id": "default", "name": "admin"}]}
[Fri Apr 01 17:46:30.284239 2016] [:error] [pid 89:tid 140058224465664]
[Fri Apr 01 17:46:30.746749 2016] [:error] [pid 89:tid 140058224465664] Call to list enabled services failed. This is likely due to a problem communicating with the Neutron endpoint. Load Balancers panel will not be displayed.
[Fri Apr 01 17:46:30.747063 2016] [:error] [pid 89:tid 140058224465664] Call to list enabled services failed. This is likely due to a problem communicating with the Neutron endpoint. Firewalls panel will not be displayed.
[Fri Apr 01 17:46:30.747275 2016] [:error] [pid 89:tid 140058224465664] Call to list enabled services failed. This is likely due to a problem communicating with the Neutron endpoint. VPN panel will not be displayed.
[Fri Apr 01 17:46:30.750007 2016] [:error] [pid 89:tid 140058224465664] Call to list supported extensions failed. This is likely due to a problem communicating with the Nova endpoint. Host Aggregates panel will not be displayed.
[Fri Apr 01 17:46:48.651815 2016] [:error] [pid 90:tid 140058224465664] Recoverable error: Authentication requires 'auth_url', which should be specified in 'HTTPClient'

3.
cat /etc/kolla/horizon/horizon.conf
Listen 10.237.214.199:80

<VirtualHost *:80>
    LogLevel warn
    ErrorLog /var/log/kolla/horizon/horizon.log
    CustomLog /var/log/kolla/horizon/horizon-access.log combined

    WSGIScriptReloading On
    WSGIDaemonProcess horizon-http processes=5 threads=1 user=horizon group=horizon display-name=%{GROUP} python-path=/var/lib/kolla/venv/lib/python2.7/site-packages
    WSGIProcessGroup horizon-http
    WSGIScriptAlias / /var/lib/kolla/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/django.wsgi
    WSGIPassAuthorization On

    <Location "/">
        Require all granted
    </Location>

    Alias /static /var/lib/kolla/venv/lib/python2.7/site-packages/static
    <Location "/static">
        SetHandler None
    </Location>
</Virtualhost>

4. cat /etc/kolla/horizon/config.json
{
    "command": "/usr/sbin/apache2 -DFOREGROUND",
    "config_files": [
        {
            "source": "/var/lib/kolla/config_files/horizon.conf",
            "dest": "/etc/apache2/conf-enabled/000-default.conf",
            "owner": "horizon",
            "perm": "0644"
        },
        {
            "source": "/var/lib/kolla/config_files/local_settings",
            "dest": "/etc/openstack-dashboard/local_settings",
            "owner": "horizon",
            "perm": "0644"
        }
    ]
}

5. cat /etc/kolla/horizon/local_settings | grep -Ev "^#|^$"

import os
from django.utils.translation import ugettext_lazy as _
from openstack_dashboard import exceptions
DEBUG = True
TEMPLATE_DEBUG = DEBUG
COMPRESS_OFFLINE = True
WEBROOT = '/'
ALLOWED_HOSTS = ['*']
OPENSTACK_API_VERSIONS = {
    "identity": 3,
}
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
HORIZON_CONFIG = {
    'user_home': 'openstack_dashboard.views.get_user_home',
    'ajax_queue_limit': 10,
    'auto_fade_alerts': {
        'delay': 3000,
        'fade_duration': 1500,
        'types': ['alert-success', 'alert-info']
    },
    'help_url': "http://docs.openstack.org",
    'exceptions': {'recoverable': exceptions.RECOVERABLE,
                   'not_found': exceptions.NOT_FOUND,
                   'unauthorized': exceptions.UNAUTHORIZED},
    'modal_backdrop': 'static',
    'angular_modules': [],
    'js_files': [],
    'js_spec_files': [],
}
LOCAL_PATH = '/tmp'
SECRET_KEY='secretkey'
CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': '10.237.214.199:11211',
    }
}
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
OPENSTACK_HOST = "10.237.214.199"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"
OPENSTACK_KEYSTONE_BACKEND = {
    'name': 'native',
    'can_edit_user': True,
    'can_edit_group': True,
    'can_edit_project': True,
    'can_edit_domain': True,
    'can_edit_role': True,
}
OPENSTACK_HYPERVISOR_FEATURES = {
    'can_set_mount_point': False,
    'can_set_password': False,
}
OPENSTACK_CINDER_FEATURES = {
    'enable_backup': False,
}
OPENSTACK_NEUTRON_NETWORK = {
    'enable_router': True,
    'enable_quotas': True,
    'enable_ipv6': True,
    'enable_distributed_router': False,
    'enable_ha_router': False,
    'enable_lb': True,
    'enable_firewall': True,
    'enable_vpn': True,
    'enable_fip_topology_check': True,
    # The profile_support option is used to detect if an external router can be
    # configured via the dashboard. When using specific plugins the
    # profile_support can be turned on if needed.
    'profile_support': None,
    #'profile_support': 'cisco',
    # Set which provider network types are supported. Only the network types
    # in this list will be available to choose from when creating a network.
    # Network types include local, flat, vlan, gre, and vxlan.
    'supported_provider_types': ['*'],
    # Set which VNIC types are supported for port binding. Only the VNIC
    # types in this list will be available to choose from when creating a
    # port.
    # VNIC types include 'normal', 'macvtap' and 'direct'.
    'supported_vnic_types': ['*']
}
IMAGE_CUSTOM_PROPERTY_TITLES = {
    "architecture": _("Architecture"),
    "kernel_id": _("Kernel ID"),
    "ramdisk_id": _("Ramdisk ID"),
    "image_state": _("Euca2ools state"),
    "project_id": _("Project ID"),
    "image_type": _("Image Type"),
}
IMAGE_RESERVED_CUSTOM_PROPERTIES = []
OPENSTACK_ENDPOINT_TYPE = "internal"
API_RESULT_LIMIT = 1000
API_RESULT_PAGE_SIZE = 20
SWIFT_FILE_TRANSFER_CHUNK_SIZE = 512 * 1024
DROPDOWN_MAX_ITEMS = 30
TIME_ZONE = "UTC"
POLICY_FILES_PATH = '/etc/openstack-dashboard'
LOGGING = {
    'version': 1,
    # When set to True this will disable all logging except
    # for loggers specified in this configuration dictionary. Note that
    # if nothing is specified here and disable_existing_loggers is True,
    # django.db.backends will still log unless it is disabled explicitly.
    'disable_existing_loggers': False,
    'handlers': {
        'null': {
            'level': 'DEBUG',
            'class': 'django.utils.log.NullHandler',
        },
        'console': {
            # Set the level to "DEBUG" for verbose output logging.
            'level': 'INFO',
            'class': 'logging.StreamHandler',
        },
    },
    'loggers': {
        # Logging from django.db.backends is VERY verbose, send to null
        # by default.
        'django.db.backends': {
            'handlers': ['null'],
            'propagate': False,
        },
        'requests': {
            'handlers': ['null'],
            'propagate': False,
        },
        'horizon': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'openstack_dashboard': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'novaclient': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'cinderclient': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'glanceclient': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'glanceclient': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'neutronclient': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'heatclient': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'ceilometerclient': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'troveclient': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'swiftclient': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'openstack_auth': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'nose.plugins.manager': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'django': {
            'handlers': ['console'],
            'level': 'DEBUG',
            'propagate': False,
        },
        'iso8601': {
            'handlers': ['null'],
            'propagate': False,
        },
        'scss': {
            'handlers': ['null'],
            'propagate': False,
        },
    }
}
SECURITY_GROUP_RULES = {
    'all_tcp': {
        'name': _('All TCP'),
        'ip_protocol': 'tcp',
        'from_port': '1',
        'to_port': '65535',
    },
    'all_udp': {
        'name': _('All UDP'),
        'ip_protocol': 'udp',
        'from_port': '1',
        'to_port': '65535',
    },
    'all_icmp': {
        'name': _('All ICMP'),
        'ip_protocol': 'icmp',
        'from_port': '-1',
        'to_port': '-1',
    },
    'ssh': {
        'name': 'SSH',
        'ip_protocol': 'tcp',
        'from_port': '22',
        'to_port': '22',
    },
    'smtp': {
        'name': 'SMTP',
        'ip_protocol': 'tcp',
        'from_port': '25',
        'to_port': '25',
    },
    'dns': {
        'name': 'DNS',
        'ip_protocol': 'tcp',
        'from_port': '53',
        'to_port': '53',
    },
    'http': {
        'name': 'HTTP',
        'ip_protocol': 'tcp',
        'from_port': '80',
        'to_port': '80',
    },
    'pop3': {
        'name': 'POP3',
        'ip_protocol': 'tcp',
        'from_port': '110',
        'to_port': '110',
    },
    'imap': {
        'name': 'IMAP',
        'ip_protocol': 'tcp',
        'from_port': '143',
        'to_port': '143',
    },
    'ldap': {
        'name': 'LDAP',
        'ip_protocol': 'tcp',
        'from_port': '389',
        'to_port': '389',
    },
    'https': {
        'name': 'HTTPS',
        'ip_protocol': 'tcp',
        'from_port': '443',
        'to_port': '443',
    },
    'smtps': {
        'name': 'SMTPS',
        'ip_protocol': 'tcp',
        'from_port': '465',
        'to_port': '465',
    },
    'imaps': {
        'name': 'IMAPS',
        'ip_protocol': 'tcp',
        'from_port': '993',
        'to_port': '993',
    },
    'pop3s': {
        'name': 'POP3S',
        'ip_protocol': 'tcp',
        'from_port': '995',
        'to_port': '995',
    },
    'ms_sql': {
        'name': 'MS SQL',
        'ip_protocol': 'tcp',
        'from_port': '1433',
        'to_port': '1433',
    },
    'mysql': {
        'name': 'MYSQL',
        'ip_protocol': 'tcp',
        'from_port': '3306',
        'to_port': '3306',
    },
    'rdp': {
        'name': 'RDP',
        'ip_protocol': 'tcp',
        'from_port': '3389',
        'to_port': '3389',
    },
}
REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES']

6. in the horizon container interactively:
root@silvixa00385229:/# export OS_PROJECT_DOMAIN_ID=default
root@silvixa00385229:/# export OS_USER_DOMAIN_ID=default
root@silvixa00385229:/# export OS_PROJECT_NAME=admin
root@silvixa00385229:/# export OS_TENANT_NAME=admin
root@silvixa00385229:/# export OS_USERNAME=admin
root@silvixa00385229:/# export OS_PASSWORD=password
root@silvixa00385229:/# export OS_AUTH_URL=http://10.237.214.199:35357/v3
root@silvixa00385229:/# export OS_IDENTITY_API_VERSION=3
root@silvixa00385229:/# keystone role-list
/var/lib/kolla/venv/local/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
WARNING: unsupported identity-api-version 3, falling back to 2.0
/var/lib/kolla/venv/local/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/var/lib/kolla/venv/local/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'projed
  super(Client, self).__init__(**kwargs)
/var/lib/kolla/venv/local/lib/python2.7/site-packages/debtcollector/renames.py:45: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' ad
  return f(*args, **kwargs)
/var/lib/kolla/venv/local/lib/python2.7/site-packages/keystoneclient/httpclient.py:371: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0..
  'the 2.0.0 release.', DeprecationWarning)
/var/lib/kolla/venv/local/lib/python2.7/site-packages/keystoneclient/session.py:140: DeprecationWarning: keystoneclient.session.Session is deprecated as of the 2.1.0 release in favor of keystoneauth1.session.Session. It will be removed .
  DeprecationWarning)
/var/lib/kolla/venv/local/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py:56: DeprecationWarning: keystoneclient auth plugins are deprecated as of the 2.1.0 release in favor of keystoneauth1 plugins. They will be remove.
  'in future releases.', DeprecationWarning)
Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-84ac1793-a5d8-4d85-8b72-64343ea1a4fe)

Tags: retriage
Revision history for this message
Waldemar Znoinski (wznoinsk) wrote :

also in the horizon container interactively:
root@silvixa00385229:/# nova list
+--------------------------------------+---------------------------------+--------+------------+-------------+----------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------------------------------+--------+------------+-------------+----------------------+
| 06596dfa-43bd-4b93-8dad-6a2a9f0b44c5 | 3rdparty-nfv-ci-local_01-136584 | ACTIVE | - | Running | public=192.168.5.194 |
| a268b468-3563-46f6-96ee-963d0f671ae6 | 3rdparty-nfv-ci-local_01-136612 | ACTIVE | - | Running | public=192.168.5.222 |
| 00601e22-c741-4415-8990-9e30e8767ce3 | 3rdparty-nfv-ci-local_01-136614 | ACTIVE | - | Running | public=192.168.5.224 |
| aaf15a19-05ed-44b4-a19a-b7a833964bd2 | dpc-test-nfv2-local_01-136618 | ACTIVE | - | Running | public=192.168.5.228 |
| 97272303-6079-4395-af41-d55c4e30df80 | dpc-test-nfv2-local_01-136619 | ACTIVE | - | Running | public=192.168.5.229 |
| 677a21d9-7660-4a49-a287-0b8405ca8781 | w1 | ACTIVE | - | Running | public=192.168.5.92 |
+--------------------------------------+---------------------------------+--------+------------+-------------+----------------------+
root@silvixa00385229:/# openstack role list
+----------------------------------+-------+
| ID | Name |
+----------------------------------+-------+
| 5f78b9549b9142a4be9ada6cf1cfbc40 | admin |
+----------------------------------+-------+

summary: - Authentication requires 'auth_url' in horizon.log
+ Call to list enabled services failed in horizon.log
Revision history for this message
Waldemar Znoinski (wznoinsk) wrote :

same story with:
OPENSTACK_KEYSTONE_URL = "http://%s:35357/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"

Revision history for this message
Waldemar Znoinski (wznoinsk) wrote :

same problem after creating _member_ role in keystone:

root@silvixa00385229:/# grep -i keystone /etc/openstack-dashboard/local_settings
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
# with Keystone V3. All entities will be created in the default domain.
#OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"
# Enables keystone web single-sign-on if set to True.
# which include keystone federation protocols.
# ("credentials", _("Keystone Credentials")),
# The OPENSTACK_KEYSTONE_BACKEND settings can be used to identify the
# capabilities of the auth backend for Keystone.
# If Keystone has been configured to use LDAP as the auth backend then set
# TODO(tres): Remove these once Keystone has an API to identify auth backend.
OPENSTACK_KEYSTONE_BACKEND = {
# in the Keystone service catalog. Use this setting when Horizon is running
# in the Keystone service catalog. Use this setting when Horizon is running
# 'identity': 'keystone_policy.json',
root@silvixa00385229:/# export OS_PROJECT_DOMAIN_ID=default
root@silvixa00385229:/# export OS_USER_DOMAIN_ID=default
root@silvixa00385229:/# export OS_PROJECT_NAME=admin
root@silvixa00385229:/# export OS_TENANT_NAME=admin
root@silvixa00385229:/# export OS_USERNAME=admin
root@silvixa00385229:/# export OS_PASSWORD=password
root@silvixa00385229:/# export OS_AUTH_URL=http://10.237.214.199:35357/v3
root@silvixa00385229:/# export OS_IDENTITY_API_VERSION=3
root@silvixa00385229:/# openstack role list
+----------------------------------+----------+
| ID | Name |
+----------------------------------+----------+
| 5f78b9549b9142a4be9ada6cf1cfbc40 | admin |
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ |
+----------------------------------+----------+
root@silvixa00385229:/# openstack role show _member_
+-----------+----------------------------------+
| Field | Value |
+-----------+----------------------------------+
| domain_id | None |
| id | 9fe2ff9ee4384b1894a90878d3e92bab |
| name | _member_ |
+-----------+----------------------------------+

Steven Dake (sdake)
Changed in kolla:
importance: Undecided → Medium
milestone: none → 1.1.0
status: New → Triaged
Ryan Hallisey (rthall14)
Changed in kolla:
milestone: 1.1.0 → 2.0.1
Steven Dake (sdake)
Changed in kolla:
milestone: 2.0.1 → newton-1
tags: added: retriage
Changed in kolla:
milestone: newton-1 → newton-2
Changed in kolla:
milestone: newton-2 → newton-3
Changed in kolla:
milestone: newton-3 → newton-rc1
Changed in kolla:
milestone: newton-rc1 → newton-rc2
Revision history for this message
Steven Dake (sdake) wrote :

Waldemar,

the last time a response was issued in this bug was April. Could you retest with latest bits and verify this problem still exists? Marking incomplete for the moment since Horizon WFM.

Changed in kolla:
status: Triaged → Incomplete
importance: Medium → High
shake.chen (shake-chen)
Changed in kolla:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.