Call to list enabled services failed in horizon.log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Invalid
|
High
|
Unassigned |
Bug Description
1. When deploying openstack stable/mitaka rc with kolla stable/mitaka:
commit 9b7a9a7e4d12f97
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: I14da441ebb6de9
Closes-Bug: 1561073
(cherry picked from commit 8d96d639c8918e5
commit 32a38739e94db3a
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:keystonea
H "User-Agent: python-
[Fri Apr 01 17:46:09.828717 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystonea
Fri, 01 Apr 2016 17:46:06 GMT x-openstack-
[Fri Apr 01 17:46:09.828903 2016] [:error] [pid 86:tid 140058224465664] Deleted token b47e530814564d0
[Fri Apr 01 17:46:18.147079 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystonea
[Fri Apr 01 17:46:21.367515 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystonea
[Fri Apr 01 17:46:24.479338 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystonea
[Fri Apr 01 17:46:24.482015 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystonea
.1 CPython/2.7.6"
[Fri Apr 01 17:46:27.562913 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystonea
: Fri, 01 Apr 2016 17:46:24 GMT Content-Type: application/json x-openstack-
[Fri Apr 01 17:46:27.562952 2016] [:error] [pid 86:tid 140058224465664] RESP BODY: {"version": {"status": "stable", "updated": "2016-04-
ty-v3+json"}], "id": "v3.6", "links": [{"href": "http://
[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:keystonea
" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c4bd84161
[Fri Apr 01 17:46:27.624817 2016] [:error] [pid 86:tid 140058224465664] DEBUG:keystonea
: Fri, 01 Apr 2016 17:46:27 GMT Content-Type: application/json x-openstack-
[Fri Apr 01 17:46:27.624854 2016] [:error] [pid 86:tid 140058224465664] RESP BODY: {"links": {"self": "http://
ain": false, "description": "Bootstrap project for initializing the cloud.", "links": {"self": "http://
_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:keystonea
[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_
[Fri Apr 01 17:46:29.950317 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.950847 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.954365 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.954783 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.955119 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.955414 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.955632 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.955918 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.956337 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.956664 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.957741 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.958039 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.960667 2016] [:error] [pid 89:tid 140058224465664] DEBUG:oslo_
[Fri Apr 01 17:46:29.964046 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystonec
0.26;by=
[Fri Apr 01 17:46:30.006657 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystonec
ate: Fri, 01 Apr 2016 17:46:29 GMT Content-Type: application/json x-openstack-
[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://
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:keystonec
0.26;by=
[Fri Apr 01 17:46:30.024162 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystonec
ate: Fri, 01 Apr 2016 17:46:30 GMT Content-Type: application/json x-openstack-
[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://
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:keystonec
=python-
[Fri Apr 01 17:46:30.136819 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystonec
ate: Fri, 01 Apr 2016 17:46:30 GMT Content-Type: application/json x-openstack-
[Fri Apr 01 17:46:30.136847 2016] [:error] [pid 89:tid 140058224465664] RESP BODY: {"links": {"self": "http://
": {"self": "http://
"description": "Bootstrap project for initializing the cloud.", "links": {"self": "http://
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:keystonec
python-
[Fri Apr 01 17:46:30.160725 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystonec
ate: Fri, 01 Apr 2016 17:46:30 GMT Content-Type: application/json x-openstack-
[Fri Apr 01 17:46:30.160746 2016] [:error] [pid 89:tid 140058224465664] RESP BODY: {"domains": [{"links": {"self": "http://
, "id": "default"}], "links": {"self": "http://
[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:keystonea
" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c4bd84161
[Fri Apr 01 17:46:30.284210 2016] [:error] [pid 89:tid 140058224465664] DEBUG:keystonea
e: Fri, 01 Apr 2016 17:46:30 GMT Content-Type: application/json x-openstack-
[Fri Apr 01 17:46:30.284234 2016] [:error] [pid 89:tid 140058224465664] RESP BODY: {"links": {"self": "http://
ain": false, "description": "Bootstrap project for initializing the cloud.", "links": {"self": "http://
_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/
Listen 10.237.214.199:80
<VirtualHost *:80>
LogLevel warn
ErrorLog /var/log/
CustomLog /var/log/
WSGIScriptR
WSGIDaemonP
WSGIProcess
WSGIScriptAlias / /var/lib/
WSGIPassAut
<Location "/">
Require all granted
</Location>
Alias /static /var/lib/
<Location "/static">
SetHandler None
</Location>
</Virtualhost>
4. cat /etc/kolla/
{
"command": "/usr/sbin/apache2 -DFOREGROUND",
"config_files": [
{
"dest": "/etc/apache2/
"perm": "0644"
},
{
"dest": "/etc/openstack
"perm": "0644"
}
]
}
5. cat /etc/kolla/
import os
from django.
from openstack_dashboard import exceptions
DEBUG = True
TEMPLATE_DEBUG = DEBUG
COMPRESS_OFFLINE = True
WEBROOT = '/'
ALLOWED_HOSTS = ['*']
OPENSTACK_
"identity": 3,
}
OPENSTACK_
HORIZON_CONFIG = {
'user_home': 'openstack_
'ajax_
'auto_
'delay': 3000,
'types': ['alert-success', 'alert-info']
},
'help_url': "http://
'exceptions': {'recoverable': exceptions.
'modal_
'angular_
'js_files': [],
'js_
}
LOCAL_PATH = '/tmp'
SECRET_
CACHES = {
'default': {
'BACKEND': 'django.
'LOCATION': '10.237.
}
}
EMAIL_BACKEND = 'django.
OPENSTACK_HOST = "10.237.214.199"
OPENSTACK_
OPENSTACK_
OPENSTACK_
'name': 'native',
'can_
'can_
'can_
'can_
'can_
}
OPENSTACK_
'can_
'can_
}
OPENSTACK_
'enable_
}
OPENSTACK_
'enable_
'enable_
'enable_ipv6': True,
'enable_
'enable_
'enable_lb': True,
'enable_
'enable_vpn': True,
'enable_
# 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_
#'profile_
# 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_
# 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_
}
IMAGE_CUSTOM_
"architecture": _("Architecture"),
"kernel_id": _("Kernel ID"),
"ramdisk_id": _("Ramdisk ID"),
"image_state": _("Euca2ools state"),
"project_id": _("Project ID"),
"image_type": _("Image Type"),
}
IMAGE_RESERVED_
OPENSTACK_
API_RESULT_LIMIT = 1000
API_RESULT_
SWIFT_FILE_
DROPDOWN_MAX_ITEMS = 30
TIME_ZONE = "UTC"
POLICY_FILES_PATH = '/etc/openstack
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_
# django.db.backends will still log unless it is disabled explicitly.
'disable_
'handlers': {
'null': {
},
'console': {
# Set the level to "DEBUG" for verbose output logging.
},
},
'loggers': {
# Logging from django.db.backends is VERY verbose, send to null
# by default.
},
'requests': {
},
'horizon': {
},
},
},
},
},
},
},
},
},
},
},
},
},
'django': {
},
'iso8601': {
},
'scss': {
},
}
}
SECURITY_
'all_tcp': {
'name': _('All TCP'),
'to_port': '65535',
},
'all_udp': {
'name': _('All UDP'),
'to_port': '65535',
},
'all_icmp': {
'name': _('All ICMP'),
'to_port': '-1',
},
'ssh': {
'name': 'SSH',
'to_port': '22',
},
'smtp': {
'name': 'SMTP',
'to_port': '25',
},
'dns': {
'name': 'DNS',
'to_port': '53',
},
'http': {
'name': 'HTTP',
'to_port': '80',
},
'pop3': {
'name': 'POP3',
'to_port': '110',
},
'imap': {
'name': 'IMAP',
'to_port': '143',
},
'ldap': {
'name': 'LDAP',
'to_port': '389',
},
'https': {
'name': 'HTTPS',
'to_port': '443',
},
'smtps': {
'name': 'SMTPS',
'to_port': '465',
},
'imaps': {
'name': 'IMAPS',
'to_port': '993',
},
'pop3s': {
'name': 'POP3S',
'to_port': '995',
},
'ms_sql': {
'name': 'MS SQL',
'to_port': '1433',
},
'mysql': {
'name': 'MYSQL',
'to_port': '3306',
},
'rdp': {
'name': 'RDP',
'to_port': '3389',
},
}
REST_API_
6. in the horizon container interactively:
root@silvixa003
root@silvixa003
root@silvixa003
root@silvixa003
root@silvixa003
root@silvixa003
root@silvixa003
root@silvixa003
root@silvixa003
/var/lib/
'python-
WARNING: unsupported identity-
/var/lib/
'the 2.0.0 release.', DeprecationWarning)
/var/lib/
super(Client, self)._
/var/lib/
return f(*args, **kwargs)
/var/lib/
'the 2.0.0 release.', DeprecationWarning)
/var/lib/
DeprecationWa
/var/lib/
'in future releases.', DeprecationWarning)
Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-84ac1793-
Changed in kolla: | |
importance: | Undecided → Medium |
milestone: | none → 1.1.0 |
status: | New → Triaged |
Changed in kolla: | |
milestone: | 1.1.0 → 2.0.1 |
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 |
Changed in kolla: | |
status: | Incomplete → Invalid |
also in the horizon container interactively: 85229:/ # nova list ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ---+--- -----+- ------- ----+-- ------- ----+-- ------- ------- ------+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ---+--- -----+- ------- ----+-- ------- ----+-- ------- ------- ------+ 43bd-4b93- 8dad-6a2a9f0b44 c5 | 3rdparty- nfv-ci- local_01- 136584 | ACTIVE | - | Running | public= 192.168. 5.194 | 3563-46f6- 96ee-963d0f671a e6 | 3rdparty- nfv-ci- local_01- 136612 | ACTIVE | - | Running | public= 192.168. 5.222 | c741-4415- 8990-9e30e8767c e3 | 3rdparty- nfv-ci- local_01- 136614 | ACTIVE | - | Running | public= 192.168. 5.224 | 05ed-44b4- a19a-b7a833964b d2 | dpc-test- nfv2-local_ 01-136618 | ACTIVE | - | Running | public= 192.168. 5.228 | 6079-4395- af41-d55c4e30df 80 | dpc-test- nfv2-local_ 01-136619 | ACTIVE | - | Running | public= 192.168. 5.229 | 7660-4a49- a287-0b8405ca87 81 | w1 | ACTIVE | - | Running | public=192.168.5.92 | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ---+--- -----+- ------- ----+-- ------- ----+-- ------- ------- ------+ 85229:/ # openstack role list ------- ------- ------- ------- +------ -+ ------- ------- ------- ------- +------ -+ 4be9ada6cf1cfbc 40 | admin | ------- ------- ------- ------- +------ -+
root@silvixa003
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 06596dfa-
| a268b468-
| 00601e22-
| aaf15a19-
| 97272303-
| 677a21d9-
+------
root@silvixa003
+------
| ID | Name |
+------
| 5f78b9549b9142a
+------